Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.inventory.meta.LeatherArmorMeta Interface Reference
Inheritance diagram for org.bukkit.inventory.meta.LeatherArmorMeta:
org.bukkit.inventory.meta.ItemMeta org.bukkit.configuration.serialization.ConfigurationSerializable

Public Member Functions

Color getColor ()
void setColor (Color color)
LeatherArmorMeta clone ()
- Public Member Functions inherited from org.bukkit.inventory.meta.ItemMeta
boolean hasDisplayName ()
String getDisplayName ()
void setDisplayName (String name)
boolean hasLore ()
List< String > getLore ()
void setLore (List< String > lore)
boolean hasEnchants ()
boolean hasEnchant (Enchantment ench)
int getEnchantLevel (Enchantment ench)
Map< Enchantment, Integer > getEnchants ()
boolean addEnchant (Enchantment ench, int level, boolean ignoreLevelRestriction)
boolean removeEnchant (Enchantment ench)
boolean hasConflictingEnchant (Enchantment ench)
- Public Member Functions inherited from org.bukkit.configuration.serialization.ConfigurationSerializable
Map< String, Object > serialize ()

Detailed Description

Represents leather armor (Material#LEATHER_BOOTS, Material#LEATHER_CHESTPLATE, Material#LEATHER_HELMET, or Material#LEATHER_LEGGINGS) that can be colored.

Definition at line 12 of file LeatherArmorMeta.java.

Member Function Documentation

Color org.bukkit.inventory.meta.LeatherArmorMeta.getColor ( )

Gets the color of the armor. If it has not been set otherwise, it will be ItemFactory#getDefaultLeatherColor().

the color of the armor, never null
void org.bukkit.inventory.meta.LeatherArmorMeta.setColor ( Color  color)

Sets the color of the armor.

colorthe color to set. Setting it to null is equivalent to setting it to ItemFactory#getDefaultLeatherColor().

The documentation for this interface was generated from the following file: