public interface Repairable extends ItemMeta
Modifier and Type | Method and Description |
---|---|
Repairable |
clone() |
int |
getRepairCost()
Gets the repair penalty
|
boolean |
hasRepairCost()
Checks to see if this has a repair penalty
|
void |
setRepairCost(int cost)
Sets the repair penalty
|
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 hasRepairCost()
int getRepairCost()
void setRepairCost(int cost)
cost
- repair penalty@NotNull Repairable clone()
Copyright © 2022. All rights reserved.