public interface Damageable extends ItemMeta
Modifier and Type | Method and Description |
---|---|
Damageable |
clone() |
int |
getDamage()
Gets the damage
|
boolean |
hasDamage()
Checks to see if this item has damage
|
void |
setDamage(int damage)
Sets the damage
|
addAttributeModifier, addEnchant, addItemFlags, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCustomModelData, getCustomTagContainer, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setCustomModelData, setDisplayName, setLocalizedName, setLore, setUnbreakable, setVersion
serialize
getPersistentDataContainer
boolean hasDamage()
int getDamage()
void setDamage(int damage)
damage
- item damage@NotNull Damageable clone()
Copyright © 2022. All rights reserved.