Topic category: Help with modding (Java Edition)
I'm very new to Mcreator so please excuse my ignorance!
Is there a procedure element to simulate breaking a block and dropping items as if it were broken with a pickaxe?
I'm making a practice mod that essentially just mines blocks, but I don't want to simply break the block and place it in an inventory, I'd like the block to be treated like it was mined with a pickaxe.
So rather than break a coal block and spit out a coal block, it breaks a coal block and spits out a few random pieces of coal following Minecraft's loot table.
I know I can do a check for block type every time and then use RNG to imitate Minecraft's loot tables, but that wouldn't work for modded ore blocks that I can't plan for. Was just curious if something like this was already built in. Thanks!