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