Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
This data pack makes items with durability unbreakable, and removes any damage done to them previously.
âš Do not use this data pack if you wish to have items with durability stored somewhere, as it will modify them if it triggers âš
It does this by adding an advancement triggered by a player's inventory changing, calling a function to modify items in the inventory to make them unbreakable (with the tooltip hidden). The datapack specifically checks for already unbreakable items, and does not modify them. This means that items with the "unbreakable" component shown in the tooltip will not lose the tooltip.
The item modification currently does not trigger when changing other inventories (such as chests), but would still modify open ones if triggered.