Someone has done this already ^, but I don't understand how it works. The wiki for this datapack utilities thing is pretty neat though, so we can probably just steal it...
Turns out there's no nbt tag for max duration, that means that to have custom durability you have to do some _crazy_ function stuff:
https://github.com/ImCoolYeah105/Datapack-Utilities/tree/master/data/du/functions/player/durability/damage_armor
Someone has done this already ^, but I don't understand how it works. The wiki for this datapack utilities thing is pretty neat though, so we can probably just steal it...
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Implements #2
Turns out there's no nbt tag for max duration, that means that to have custom durability you have to do some crazy function stuff:
https://github.com/ImCoolYeah105/Datapack-Utilities/tree/master/data/du/functions/player/durability/damage_armor
Someone has done this already ^, but I don't understand how it works. The wiki for this datapack utilities thing is pretty neat though, so we can probably just steal it...
changed milestone to %1
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.