public static enum Gui.State extends Enum<Gui.State>
| Enum Constant and Description |
|---|
BOTTOM
This signals that the bottom-hal of the Gui is in use and the player's inventory will be cleared and stored
|
TOP
This signals that only the top-half of the Gui is in use and the player's inventory will stay like it is
|
| Modifier and Type | Method and Description |
|---|---|
static Gui.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Gui.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gui.State TOP
public static final Gui.State BOTTOM
public static Gui.State[] values()
for (Gui.State c : Gui.State.values()) System.out.println(c);
public static Gui.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.