Item
Represents an item.
getMaxCount() -> Integer
Returns the max amount of items that can be in a stack.
register(item: Item) -> Item
Registers item
. See Registering Items for more details.
getMaxDamage() -> Integer
Returns the durability of the item.
getName() -> String
Returns the name of the item.
isDamageable() -> Boolean
Returns whether the item is damageable.
isFireproof() -> Boolean
Returns whether the item is fireproof.
isFood() -> Boolean
Returns whether the item is food.