public static enum HorseDisguise.Armor extends java.lang.Enum<HorseDisguise.Armor>
Modifier and Type | Method and Description |
---|---|
org.bukkit.inventory.ItemStack |
getItem()
Gets the associated Bukkit item stack.
|
static HorseDisguise.Armor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HorseDisguise.Armor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HorseDisguise.Armor IRON
public static final HorseDisguise.Armor GOLD
public static final HorseDisguise.Armor DIAMOND
public static final HorseDisguise.Armor NONE
public static HorseDisguise.Armor[] values()
for (HorseDisguise.Armor c : HorseDisguise.Armor.values()) System.out.println(c);
public static HorseDisguise.Armor valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic org.bukkit.inventory.ItemStack getItem()