public interface LeatherArmorMeta extends ItemMeta
限定符和类型 | 方法和说明 |
---|---|
LeatherArmorMeta |
clone() |
Color |
getColor()
获取这个盔甲的颜色.如果它还没有被设置,就会返回
ItemFactory.getDefaultLeatherColor() . |
void |
setColor(Color color)
设置这个盔甲的颜色.
|
addEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeEnchant, removeItemFlags, setDisplayName, setLocalizedName, setLore, setUnbreakable
serialize
Color getColor()
ItemFactory.getDefaultLeatherColor()
.
原文:Gets the color of the armor. If it has not been set otherwise, it will
be ItemFactory.getDefaultLeatherColor()
.
void setColor(Color color)
原文:Sets the color of the armor.
color
- 要设置的颜色.设置此为null等于设置成ItemFactory.getDefaultLeatherColor()
.LeatherArmorMeta clone()