Topic category: Help with modding (Java Edition)
How much work would it take to create an item that can be used either in crafting table or smithing table that increases the max durability of a tool\armor ?
Ideally I am thinking of a mod that extended the max durability of a tool that can be used universally with other mods.
The code could potentially use the "repair item" variable of the tool to identify what the base material is and upgrade the durability based on that. But I'm not even sure if max durability can be changed on an individual item as opposed to modifying the entire item class.
Anyone have any thoughts or tips?