public enum InventoryAction extends java.lang.Enum<InventoryAction>
| Enum Constant and Description |
|---|
COPY
Middle click in creative.
|
DRAG
Left/Right dragging with item in cursor.
|
QUICK_MOVE
Shift left/right click.
|
SWAP
Left/Right click with item in cursor.
|
TAKE
Left/Right click with/without item in cursor.
|
TAKE_ALL
Double left click without item in cursor.
|
THROW
Dropping a item with Q.
|
| Modifier and Type | Method and Description |
|---|---|
static InventoryAction |
valueOf(java.lang.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 TAKE
public static final InventoryAction QUICK_MOVE
public static final InventoryAction SWAP
public static final InventoryAction COPY
public static final InventoryAction THROW
public static final InventoryAction DRAG
public static final InventoryAction TAKE_ALL
public static InventoryAction[] values()
for (InventoryAction c : InventoryAction.values()) System.out.println(c);
public static InventoryAction 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