- check_circle Advancements
- check_circle Functions
- check_circle Predicates
- 81,870 views, 47 today
- 21,130 downloads, 13 today
- 130
- 142
- 26
Required Resource Pack
53
A Datapack that shows the durability of items,
both main and offhand.
Features
I appreciate any feedback and suggestions



both main and offhand.
Features
- Durability of equipped armor
- Change icon depending on equipped armor (optional resource pack)
- Armor changing Resource pack support (only non-animated vanilla armor items)
- Durability of main and offhand.
- Support vanilla items with durability
- Supports custom weapons with max_damage components.
I appreciate any feedback and suggestions



- Enable icons (requires resourcepack)
/trigger DurabilityHud.resourcepack
- Toggle Durability Hud per player
/trigger DurabilityHud.toggle
- Show/Hide armor durability
/trigger DurabilityHud.armor
Enable Icons (optional)
- Download and Install the actual datapack (https://modrinth.com/datapack/durability)
- Download the resource pack
- Install and enable the resource pack
- run the command
/trigger DurabilityHud.resourcepack
- Enjoy
Compatibility | Minecraft 1.21 |
Tags |
8 Update Logs
Update #8 - 1.21.3 re-write : by LeonNikolai 11/06/2024 4:52:22 amNov 6th, 2024
Added commands, and support for 1.21.3 items
- Enable icons (requires resourcepack)
/trigger DurabilityHud.resourcepack
- Toggle Durability Hud per player
/trigger DurabilityHud.toggle
- Show/Hide armor durability
/trigger DurabilityHud.armor
LOAD MORE LOGS
4311822
119
Create an account or sign in to comment.
One thing I can try to do is add a resourcepack with custom type to create a more visual appealing hud weith more space, similar to what this guy did with colored armor. The sidebar is also a possibility, but then there are technical difficulties when it comes to larger amounts of players. The chat would just be an inconvenient place to print such information.
I have a couple of questions before installing:
Do the numbers only appear when you select the tool / weapon or do they stay on the screen the entire time the tool or weapon is used?
current:
The durability displays for a short duration after any inventory/durability change, and when selecting a new hotbar slot.
Past:
The early versions of this pack displayed the durability 100% of the time, after optimizations to avoid constantly check what item is selected i moved to using advancements to check when durability changes, and the tick function is now only checking if the players selected hotbar has changed.
Future:
So they do not stay the entire time because of performance, but if there is high demand i may re-make a version where it stays up all the time.