Custom smithing table procedure that keeps enchantments

Started by Vakar on

Topic category: Help with modding (Java Edition)

Last seen on 23:44, 13. Jul 2024
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom smithing table procedure that keeps enchantments

This guide will show you the procedure you need to take a new tool and make it able to upgrade into another tool using a smithing table that keeps the enchantments on them.


Steps:

-Create the tool you want to level up from or level up to, or both.

-Create item (this will work as a smithing template, like the diamond to netherite upgrade)

-Create crafting recipe and put it to smithing style.

-Create the smithing table procedure that allows you to craft an item into another one keeping the enchantments (https://imgur.com/a/GOOXHdD)

-Create procedure that calls the smithing table procedure (https://imgur.com/Fdh35js)


What I did: 

-Create an obsidian pickaxe

-Create an item (obsidian smithing template)

-Create a smithing table recipe (obsidian smithing template + tool + netherite ingot)

-Create procedure (https://imgur.com/a/GOOXHdD)

-Create 2nd procedure (https://imgur.com/a/GOOXHdD)

Done.

 

I hope this is useful, I'm not really handy with Forums so feedback is appreciated. Also, I did this on Mcreator 2024.1 for Forge 1.20.4