public static enum InventoryAction.Type extends Enum<InventoryAction.Type>
| Enum Constant and Description |
|---|
CONTAINER |
CRAFT |
CREATIVE |
GLOBAL |
WORLD_INTERACTION |
| Modifier and Type | Method and Description |
|---|---|
static InventoryAction.Type |
byId(int id) |
static InventoryAction.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventoryAction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InventoryAction.Type CONTAINER
public static final InventoryAction.Type GLOBAL
public static final InventoryAction.Type WORLD_INTERACTION
public static final InventoryAction.Type CREATIVE
public static final InventoryAction.Type CRAFT
public static InventoryAction.Type[] values()
for (InventoryAction.Type c : InventoryAction.Type.values()) System.out.println(c);
public static InventoryAction.Type 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@Nonnull public static InventoryAction.Type byId(int id)
Copyright © 2017–2018 NukkitX. All rights reserved.