public enum EnumGuiContainer extends java.lang.Enum<EnumGuiContainer>
Enum Constant and Description |
---|
CookingPot |
Infuser |
MechanicalAnvil |
Modifier and Type | Method and Description |
---|---|
static EnumGuiContainer |
getFromOrdinal(int id)
Returns the GUI with the specified enum index.
|
int |
getIndex()
Returns the enum index of the enum.
|
static boolean |
hasGUI(java.lang.String name)
Checks whether the given name has a GUI associated with it.
|
static EnumGuiContainer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumGuiContainer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumGuiContainer MechanicalAnvil
public static final EnumGuiContainer Infuser
public static final EnumGuiContainer CookingPot
public static EnumGuiContainer[] values()
for (EnumGuiContainer c : EnumGuiContainer.values()) System.out.println(c);
public static EnumGuiContainer 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 getIndex()
public static boolean hasGUI(java.lang.String name)
name
- The name to check.public static EnumGuiContainer getFromOrdinal(int id)
id
- The enum index to find the GUI from.