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

Started by Billonthehill on Tue, 09/06/2022 - 06:00

Topic category: Help with modding (Java Edition)

Last seen on 03:59, 8. Sep 2022
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I'm having trouble making a hammer that turns ores into their respective ore dust
Tue, 09/06/2022 - 06:00

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.