public enum ContainerType extends Enum<ContainerType>
| Enum Constant and Description |
|---|
ANVIL |
BEACON |
BREWING_STAND |
CAULDRON |
CHEST |
COMMAND_BLOCK |
COMPOUND_CREATOR |
CONTAINER |
DISPENSER |
DROPPER |
ELEMENT_CONSTRUCTOR |
ENCHANTMENT |
FURNACE |
HOPPER |
HORSE |
INVENTORY |
JUKEBOX |
LAB_TABLE |
MATERIAL_REDUCER |
MINECART_HOPPER |
STRUCTURE_EDITOR |
TRADING |
UNTRACKED_UI_INTERACTION |
WORKBENCH |
| Modifier and Type | Field and Description |
|---|---|
static gnu.trove.map.TIntObjectMap<ContainerType> |
BY_ID |
| Modifier and Type | Method and Description |
|---|---|
static ContainerType |
fromId(int id) |
int |
id() |
static ContainerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerType UNTRACKED_UI_INTERACTION
public static final ContainerType INVENTORY
public static final ContainerType CONTAINER
public static final ContainerType WORKBENCH
public static final ContainerType FURNACE
public static final ContainerType ENCHANTMENT
public static final ContainerType BREWING_STAND
public static final ContainerType ANVIL
public static final ContainerType DISPENSER
public static final ContainerType DROPPER
public static final ContainerType HOPPER
public static final ContainerType CAULDRON
public static final ContainerType CHEST
public static final ContainerType MINECART_HOPPER
public static final ContainerType HORSE
public static final ContainerType BEACON
public static final ContainerType STRUCTURE_EDITOR
public static final ContainerType TRADING
public static final ContainerType COMMAND_BLOCK
public static final ContainerType JUKEBOX
public static final ContainerType COMPOUND_CREATOR
public static final ContainerType ELEMENT_CONSTRUCTOR
public static final ContainerType MATERIAL_REDUCER
public static final ContainerType LAB_TABLE
public static final gnu.trove.map.TIntObjectMap<ContainerType> BY_ID
public static ContainerType[] values()
for (ContainerType c : ContainerType.values()) System.out.println(c);
public static ContainerType 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 ContainerType fromId(int id)
public int id()
Copyright © 2018–2019 NukkitX. All rights reserved.