public enum GUIUpgrade extends java.lang.Enum<GUIUpgrade>
Enum Constant and Description |
---|
ARCHIVE_CONSOLES |
CLEAN |
CLOSE |
REPAIR_CONSOLE |
Modifier and Type | Method and Description |
---|---|
int |
getCustomModelData() |
org.bukkit.Material |
getMaterial() |
java.lang.String |
getName() |
int |
getSlot() |
static GUIUpgrade |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GUIUpgrade[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GUIUpgrade ARCHIVE_CONSOLES
public static final GUIUpgrade REPAIR_CONSOLE
public static final GUIUpgrade CLEAN
public static final GUIUpgrade CLOSE
public static GUIUpgrade[] values()
for (GUIUpgrade c : GUIUpgrade.values()) System.out.println(c);
public static GUIUpgrade 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 int getCustomModelData()
public int getSlot()
public org.bukkit.Material getMaterial()
public java.lang.String getName()