public static enum InventoryMoveItemEvent.Action extends Enum<InventoryMoveItemEvent.Action>
| Enum Constant and Description |
|---|
DISPENSE |
DROP |
PICKUP |
SLOT_CHANGE |
| Modifier and Type | Method and Description |
|---|---|
static InventoryMoveItemEvent.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventoryMoveItemEvent.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InventoryMoveItemEvent.Action SLOT_CHANGE
public static final InventoryMoveItemEvent.Action PICKUP
public static final InventoryMoveItemEvent.Action DROP
public static final InventoryMoveItemEvent.Action DISPENSE
public static InventoryMoveItemEvent.Action[] values()
for (InventoryMoveItemEvent.Action c : InventoryMoveItemEvent.Action.values()) System.out.println(c);
public static InventoryMoveItemEvent.Action 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 © 2020. All rights reserved.