PrismarineJS / minecraft-data

Language independent module providing minecraft data for minecraft clients, servers and libraries.
https://prismarinejs.github.io/minecraft-data
654 stars 223 forks source link

Block loot data for leaves is insufficient #513

Open darksunlight opened 2 years ago

darksunlight commented 2 years ago

Leaves only drop as items when harvested with shears or with a tool with silk touch, but there is no such indication. Instead, all we have is

{
  "item": "oak_leaves",
  "dropChance": 0.5,
  "stackSizeRange": [
    1,
    1
  ]
},

...which is somewhat misleading.

u9g commented 2 years ago

would you be able to just parse the loot table bundled in the default minecraft resourcepack for this?