public static enum InventoryAction.Type extends Enum<InventoryAction.Type>
| Enum Constant and Description |
|---|
CONTAINER |
CRAFT |
CREATIVE |
GLOBAL |
UNKNOWN |
WORLD |
| Modifier and Type | Method and Description |
|---|---|
static InventoryAction.Type |
byId(int id) |
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 UNKNOWN
public static final InventoryAction.Type CONTAINER
public static final InventoryAction.Type GLOBAL
public static final InventoryAction.Type WORLD
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)
public int id()
Copyright © 2018 NukkitX. All rights reserved.