Started by
AcaiBerii
on
Topic category: Help with Minecraft modding (Java Edition)
Hello!
I'm creating a mod for Java Edition to replace drops of all blocks and entities.
How can I write a procedure to test if a block is broken and replace the drop with a custom item I made?
Thank you!
You can use loot tables for this. Just override each block with a new loot table, and have it drop whatever you'd like.
thank you!