How to make a tool keep its enchants when upgraded in smithing table

Started by WorkLifeBalance on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a tool keep its enchants when upgraded in smithing table

I have made a smithing template to upgrade netherite tools to a higher tier, but when upgrading in the smithing table it doesn't carry over any enchants of the base item. How can i apply the enchantments of the base item to the upgraded item like it is when upgrading from diamond to netherite in vanilla? Some other posts said to use "procedures" but they weren't really detailed. As i am new to modding please try to explain in basic terms for me to understand.

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The enchantments  of the…
Fri, 12/13/2024 - 11:33

The enchantments  of the base item inside the smithing table (the slot in the middle) will be copied to the result item. If you have the item with the enchants on any other slot, the enchants will not be copied.