public interface LeatherArmorMeta extends ItemMeta
Material.LEATHER_BOOTS
, Material.LEATHER_CHESTPLATE
, Material.LEATHER_HELMET
, or Material.LEATHER_LEGGINGS
) that can be colored.Modifier and Type | Method and Description |
---|---|
LeatherArmorMeta |
clone() |
Color |
getColor()
Gets the color of the armor.
|
void |
setColor(Color color)
Sets the color of the armor.
|
addEnchant, getDisplayName, getEnchantLevel, getEnchants, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasLore, removeEnchant, setDisplayName, setLore
serialize
Color getColor()
ItemFactory.getDefaultLeatherColor()
.void setColor(Color color)
color
- the color to set. Setting it to null is equivalent to
setting it to ItemFactory.getDefaultLeatherColor()
.LeatherArmorMeta clone()
Copyright © 2015. All rights reserved.