How to make enchantment Smelting Touch?

Started by MrFox2 on Tue, 12/29/2020 - 11:14

Topic category: Help with modding (Java Edition)

Last seen on 20:33, 26. Aug 2021
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make enchantment Smelting Touch?
Tue, 12/29/2020 - 11:14

I don't know how to make enchant what gives you iron ingot when you mine iron ore etc. Can u help?

Last seen on 04:37, 2. Apr 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You could make a new block…
Tue, 12/29/2020 - 11:39

You could make a new block that looks and has the same properties, except it drops a REGULAR iron ingot if it is being mined with a tool that has smelting touch (just so you don't need to create a lot of recipes) and use that in your world. But that might only work if your making something like hypixel skyblock where it generates those blocks which you could add a plugin that generates blocks of your choice.

BUT, if you want to use it in a normal world you can add a procedure that if an iron or gold block is mined, it deletes the dropped item and instead then drops a smelted ingot at that same place. 

 

Sorry if i didn't explain it well (i am a bit more advanced than a newbie but i still can help people with things i know how to do)

Hopefully this works for you (: