Started by
Trinicrafter10
on
Topic category: Help with Minecraft modding (Java Edition)
What do I need to change/edit for this?
Edit: To do this, simply go to the code of your weapon or tool, and change the durability number to '-1' and the number 1 to the left of it to -1.
Edited by Trinicrafter10 on Thu, 01/17/2019 - 20:45
as far as i know there isn't a way to make the durabillity unlimited.
Just set the item durability to zero
You can use procedures to reset damage on each use.
Solved. Setting 2 numbers to -1 in the code of the weapon gives it infinite durability.
Which numbers?