Started by
Raybie_
on
Topic category: Help with Minecraft modding (Java Edition)
I'm struggling with making my custom leaf block. I made the block itself but it doesn't drop when broken with a shear or when broken with a hoe/hand it drops fruit sometimes.
Can someone help me?
Make a procedure:
If block broken while having shears in hand, spawn leaves gem.
If block broken with no shears in hand, spawn sapling/fruit with some % of a chance.
Kind of cheaty, but it does the job done
You could also try loot tables, but I don't know how that works. That's the intended solution lol