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 |
---|---|
@NotNull LeatherArmorMeta |
clone() |
@NotNull Color |
getColor()
Gets the color of the armor.
|
void |
setColor(@Nullable Color color)
Sets the color of the armor.
|
addAttributeModifier, addEnchant, addItemFlags, displayName, displayName, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCanDestroy, getCanPlaceOn, getCustomModelData, getCustomTagContainer, getDestroyableKeys, getDisplayName, getDisplayNameComponent, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, getLoreComponents, getPlaceableKeys, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDestroyableKeys, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, hasPlaceableKeys, isUnbreakable, lore, lore, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setCanDestroy, setCanPlaceOn, setCustomModelData, setDestroyableKeys, setDisplayName, setDisplayNameComponent, setLocalizedName, setLore, setLoreComponents, setPlaceableKeys, setUnbreakable, setVersion
serialize
getPersistentDataContainer
@NotNull @NotNull Color getColor()
ItemFactory.getDefaultLeatherColor()
.void setColor(@Nullable @Nullable Color color)
color
- the color to set. Setting it to null is equivalent to
setting it to ItemFactory.getDefaultLeatherColor()
.@NotNull @NotNull LeatherArmorMeta clone()
Copyright © 2021. All rights reserved.