#Transforming an Item depending on Durability
1 messages · Page 1 of 1 (latest)
it's the damage/durability the item is currently at
Documentation for @minecraft/server
this is the document for the class.
just get the component from the itemStack.
you can access the item durability via the ItemDurabilityComponent