- added toolTypeIsEqual condition
- toolIsSimilar and toolTypeIsEqual now accept a list of valid materials/items
Code (Text):
on-break:
- if-not:
- toolTypeIsEqual <IRON_PICKAXE, GOLD_PICKAXE, DIAMOND_PICKAXE, NETHERITE_PICKAXE>
#- toolIsSimilar <IRON_PICKAXE, GOLD_PICKAXE, DIAMOND_PICKAXE, NETHERITE_PICKAXE>
do:
- chatMessage <&4You need at least an iron pickaxe to mine this generator>
- cancelEvent
- stop
- Refactoring of example.yml and great_oak_tree.yml