getDurability

fun getDurability(): Int

Gets the item's durability, i.e. the number of uses left

Return

the item's durability

Sources

Link copied to clipboard