This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Custom Durability
Michael Weatherby edited this page Dec 30, 2019
·
14 revisions
To enable custom durability, give the item this NBT tag: du_dur:{enabled:1b,max_dur:#}
-
enabled
: If item should use custom durability. -
max_dur
: the maximum durability of the item.
Notes:
- The new format uses the durability bar to display durability. Lore is also used.
- Changes in custom durability reflect changes in real durability- meaning mending and unbreaking both work.
- To manually damage/repair, just modify the real damage of the item.
- For unbreakable items, or items that do not have durability, any time the tool is used 1 durability is used. This currently only works for attacking entities with the item. Mending does not work on these items.