public enum InventoryAction extends Enum<InventoryAction>
Enum Constant and Description |
---|
CREATIVE |
DOUBLE |
DROP |
LEFT |
LEFT_SHIFT |
MIDDLE |
NUMBER |
RIGHT |
RIGHT_SHIFT |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static InventoryAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventoryAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InventoryAction LEFT
public static final InventoryAction LEFT_SHIFT
public static final InventoryAction RIGHT
public static final InventoryAction RIGHT_SHIFT
public static final InventoryAction MIDDLE
public static final InventoryAction DOUBLE
public static final InventoryAction DROP
public static final InventoryAction CREATIVE
public static final InventoryAction NUMBER
public static final InventoryAction UNKNOWN
public static InventoryAction[] values()
for (InventoryAction c : InventoryAction.values()) System.out.println(c);
public static InventoryAction 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 null