Making items that upgrade existing armor/tool items

Started by Spicyee on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making items that upgrade existing armor/tool items

I have been trying for a few days to figure out how to make an item that when smithed with other items will upgrade their stats, but I haven't found a very good solution so far.

To clarify, I want an tool or armor (including ones from other mods, my mod, and vanilla) to be able to be put in a smithing table with Upgrade Item and come out with better stats. I want it also to be a one time procedue, where if something has already been upgraded it can't be again. The only way I have found so far to do this would require me to make seperate versions of the armor/tools with their own stats, but that would be both a huge inconvenience as well as would make it incompatible with armor/tools from other mods. Does anyone know a way to make this possible without manually adding upgraded items as therir own things?

Also not a required thing, but if there is a way to add to the descriptions of items when they've been upgraded I would love to know.