public enum InventoryType extends Enum<InventoryType>
| Enum Constant and Description |
|---|
ANVIL |
BARREL |
BEACON |
BLAST_FURNACE |
BREWING_STAND |
CHEST |
CRAFTING |
DISPENSER |
DOUBLE_CHEST |
DROPPER |
ENCHANT_TABLE |
ENDER_CHEST |
FURNACE |
HOPPER |
PLAYER |
SHULKER_BOX |
SMOKER |
UI |
WORKBENCH |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultSize() |
String |
getDefaultTitle() |
int |
getNetworkType() |
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 CHEST
public static final InventoryType ENDER_CHEST
public static final InventoryType DOUBLE_CHEST
public static final InventoryType PLAYER
public static final InventoryType FURNACE
public static final InventoryType CRAFTING
public static final InventoryType WORKBENCH
public static final InventoryType BREWING_STAND
public static final InventoryType ANVIL
public static final InventoryType ENCHANT_TABLE
public static final InventoryType DISPENSER
public static final InventoryType DROPPER
public static final InventoryType HOPPER
public static final InventoryType UI
public static final InventoryType SHULKER_BOX
public static final InventoryType BEACON
public static final InventoryType BLAST_FURNACE
public static final InventoryType SMOKER
public static final InventoryType BARREL
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 int getDefaultSize()
public String getDefaultTitle()
public int getNetworkType()
Copyright © 2020. All rights reserved.