Infinite Tools
This module provides a simple yet effective solution for disabling tool and weapon durability in Minecraft. Using just one mixin, the mod completely eliminates the durability mechanic for a wide range of items.
The technical implementation is extremely concise:
if item is [Tool,RangedWeapon,Shears,FishingRod,FlintAndSteel,Trident,Equipment] then
item_cant_be_damaged()
The mod covers the following inventory categories: tools, ranged weapons, shears, fishing rods, flint and steel, tridents, and other equipment. After installation, these items become eternal and no longer lose durability when used.