I'm having trouble making a hammer that turns ores into their respective ore dust

Started by Billonthehill on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm having trouble making a hammer that turns ores into their respective ore dust

I am trying to create a mod that adds a bunch of metals and alloys into 1.16.5, but I can't get the hammer to break the ores and drop their respective ore dust. I've tried creating a loot table for the ores, but I can't find a way to make it tool specific. I've tried to making a procedure on the tool, but the only potential way is to create one for every ore. If that is the only way, then I would need an example of it, because I haven't seen a procedure that identifies the block, or a procedure that makes the ore drop the dust instead of the block itself. Any help would be greatly appreciated.