Hey guys,
I have a problem with removing durability from items.
I have tried multiple things like:
But none of those seems to work like i want it.
I want that if you mine stone, it will remove 2 durability from the pickaxe instead of 1.
Can you guys help?
I have a problem with removing durability from items.
I have tried multiple things like:
Code:
add 1 to the data value of held item
Code:
set held item's durability to (held item's durability - 1)
Code:
remove 1 from held item's durability
But none of those seems to work like i want it.
I want that if you mine stone, it will remove 2 durability from the pickaxe instead of 1.
Can you guys help?