
MiningLib
A Library datapack adding helper functions that calculates the time required to mine a specific block with a specific tool.
44
0
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
Совместимость
Minecraft: Java Edition
1.21.x
Платформы
Поддерживаемые окружения
Клиент и сервер
Создатели
Детали
Лицензия:MIT
Опубликован:6 месяцев назад
Обновлён:5 месяцев назад
