getFakeDurability

public abstract int getFakeDurability(ItemStack item)

Get the fake durability of the item. If the item isn't changing durability, it will return -1.

Return

The fake durability

Parameters

item

The item