getFakeMaxDurability

public abstract int getFakeMaxDurability(ItemStack item)

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

Return

The fake durability

Parameters

item

The item