Started by
SlayDigger
on
Topic category: Help with Minecraft modding (Java Edition)
So I was trying to make my custom item drop from vanilla's cherry leaves when broken... Does anybody have an idea why wouldn't this work ? https://imgur.com/a/Waxc1Kx
To clarify, the mod right now is still using vanilla's cherry loot tables.
You need to use Global Loot Modifier. If you need a more precise Tutorial check this video (1.18.2) out. There is also a Tutorial for 1.19.2.
You could also just make a procedure that has a random chance of dropping an item whenever cherry leaves are broken. It'll amount to the same thing. If you wanted to do it properly you could even make it draw said item from your own loot table, so that other modders could alter it.