MiningLib
作者:rebot | 分类:模组
Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8
平台: datapack
标签: library
A Minecraft datapack that calculates how many ticks it takes to mine a block with a given tool. Pass in a block ID and item ID, and the result is saved to storage for use in your own functions.
Usage:
/function hardness:get/getminetickswith {id:"minecraft:block_id", item:"minecraft:item_id"}
Output is saved to:
storage hardness out
Known Limitations:
- Does not account for item data (e.g. enchantments)
- Vanilla blocks and items only, no mod support
请登录后举报
暂无评论,抢个沙发吧~