public enum InventoryType extends Enum<InventoryType>
Enum Constant and Description |
---|
ANVIL |
BARREL |
BEACON |
BLAST_FURNACE |
BREWING |
CARTOGRAPHY |
CHEST |
CRAFTING |
CREATIVE |
DISPENSER |
DROPPER |
ENCHANTING |
ENDER_CHEST |
FURNACE |
GRINDSTONE |
HOPPER |
LECTERN |
LOOM |
MERCHANT |
PLAYER |
SHULKER_BOX |
SMITHING |
SMOKER |
STONECUTTER |
UNKNOW |
WORKBENCH |
Modifier and Type | Method and Description |
---|---|
static InventoryType |
get(String name) |
static InventoryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InventoryType ANVIL
public static final InventoryType BARREL
public static final InventoryType BEACON
public static final InventoryType BLAST_FURNACE
public static final InventoryType BREWING
public static final InventoryType CARTOGRAPHY
public static final InventoryType CHEST
public static final InventoryType CRAFTING
public static final InventoryType CREATIVE
public static final InventoryType DISPENSER
public static final InventoryType DROPPER
public static final InventoryType ENCHANTING
public static final InventoryType ENDER_CHEST
public static final InventoryType FURNACE
public static final InventoryType GRINDSTONE
public static final InventoryType HOPPER
public static final InventoryType LECTERN
public static final InventoryType LOOM
public static final InventoryType MERCHANT
public static final InventoryType PLAYER
public static final InventoryType SMITHING
public static final InventoryType SMOKER
public static final InventoryType SHULKER_BOX
public static final InventoryType STONECUTTER
public static final InventoryType WORKBENCH
public static final InventoryType UNKNOW
public static InventoryType[] values()
for (InventoryType c : InventoryType.values()) System.out.println(c);
public static InventoryType 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 nullpublic static InventoryType get(String name)