Cloneable
, ConfigurationSerializable
, ItemMeta
public interface LeatherArmorMeta extends ItemMeta
Material.LEATHER_BOOTS
, Material.LEATHER_CHESTPLATE
, Material.LEATHER_HELMET
, or Material.LEATHER_LEGGINGS
) that can be colored.ItemMeta.Spigot
Modifier and Type | Method | Description |
---|---|---|
LeatherArmorMeta |
clone() |
|
Color |
getColor() |
Gets the color of the armor.
|
void |
setColor(Color color) |
Sets the color of the armor.
|
serialize
addAttributeModifier, addEnchant, addItemFlags, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCanDestroy, getCanPlaceOn, getCustomTagContainer, getDestroyableKeys, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, getPlaceableKeys, hasAttributeModifiers, hasConflictingEnchant, hasDestroyableKeys, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, hasPlaceableKeys, isUnbreakable, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setCanDestroy, setCanPlaceOn, setDestroyableKeys, setDisplayName, setLocalizedName, setLore, setPlaceableKeys, setUnbreakable, spigot
@NotNull Color getColor()
ItemFactory.getDefaultLeatherColor()
.void setColor(@Nullable Color color)
color
- the color to set. Setting it to null is equivalent to
setting it to ItemFactory.getDefaultLeatherColor()
.@NotNull LeatherArmorMeta clone()
Copyright © 2020. All rights reserved.