MiningLib

A Library datapack adding helper functions that calculates the time required to mine a specific block with a specific tool.

48

MiningLib

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

ADS