matthewperiut / Chisel-Reborn

Chisel brought to modern versions of Minecraft 1.21+
3 stars 8 forks source link

[1.21] Make blocks drop items, and break with appropriate tools #43

Closed langedev closed 3 months ago

langedev commented 3 months ago

Fixes #42

Moves loot_tables to loot_table which is part of the new Minecraft datapacks spec. This fixes items not dropping.

Similarly moves blocks to block for the new Minecraft datapacks spec, and adds the needs_{material}_tool.json which is used to specify what tool tier is needed to break blocks. This fixes blocks being hard to mine regardless of tool.

Let me know if you need me to squash the commit. Otherwise I tested this with dirt, stone, and iron/gold/lapis/emerald/diamond blocks to make sure everything worked and it did.