public static enum GuiHandler.GuiType extends java.lang.Enum<GuiHandler.GuiType>
| Enum Constant and Description |
|---|
BLOCK
A block with a tile entity.
|
ITEM
An item.
|
| Modifier and Type | Method and Description |
|---|---|
static GuiHandler.GuiType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GuiHandler.GuiType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GuiHandler.GuiType BLOCK
public static final GuiHandler.GuiType ITEM
public static GuiHandler.GuiType[] values()
for (GuiHandler.GuiType c : GuiHandler.GuiType.values()) System.out.println(c);
public static GuiHandler.GuiType 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 null