No Durability

Quick rating

Community listing page, reviews may not be monitored by the author.

No Durability

By ClozentOwner

No reviews yet

A data pack that essentially disables durability, giving all damageable items the "Unbreakable" component.

Mod Loaders
Minecraft

About

Description

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.