Bukkit-API
1.7.9-R0.2
The inofficial Bukkit-API
Main Page
Related Pages
Packages
Classes
Files
File List
LeatherArmorMeta.java
1
package
org.bukkit.inventory.meta;
2
3
import
org
.
bukkit
.
Color
;
4
import
org
.
bukkit
.
Material
;
5
import
org
.
bukkit
.
inventory
.
ItemFactory
;
6
7
/**
8
* Represents leather armor ({@link Material#LEATHER_BOOTS}, {@link
9
* Material#LEATHER_CHESTPLATE}, {@link Material#LEATHER_HELMET}, or {@link
10
* Material#LEATHER_LEGGINGS}) that can be colored.
11
*/
12
public
interface
LeatherArmorMeta
extends
ItemMeta
{
13
14
/**
15
* Gets the color of the armor. If it has not been set otherwise, it will
16
* be {@link ItemFactory#getDefaultLeatherColor()}.
17
*
18
* @return the color of the armor, never null
19
*/
20
Color
getColor
();
21
22
/**
23
* Sets the color of the armor.
24
*
25
* @param color the color to set. Setting it to null is equivalent to
26
* setting it to {@link ItemFactory#getDefaultLeatherColor()}.
27
*/
28
void
setColor
(
Color
color);
29
30
LeatherArmorMeta
clone();
31
}
org.bukkit.inventory.ItemFactory
Definition:
ItemFactory.java:17
org.bukkit.inventory.meta.LeatherArmorMeta
Definition:
LeatherArmorMeta.java:12
org
org.bukkit.Material
Definition:
Material.java:64
org.bukkit.inventory.meta.LeatherArmorMeta.getColor
Color getColor()
org.bukkit.inventory.meta.ItemMeta
Definition:
ItemMeta.java:15
org.bukkit.inventory.meta.LeatherArmorMeta.setColor
void setColor(Color color)
org.bukkit
Definition:
Achievement.java:1
org.bukkit.Color
Definition:
Color.java:17
org.bukkit.inventory
Definition:
AnvilInventory.java:1