public enum ContainerType extends Enum<ContainerType>
| Modifier and Type | Field and Description |
|---|---|
static ContainerType[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static ContainerType |
from(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 NONE
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 MINECART_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 TRADE
public static final ContainerType COMMAND_BLOCK
public static final ContainerType JUKEBOX
public static final ContainerType ARMOR
public static final ContainerType HAND
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 ContainerType LOOM
public static final ContainerType LECTERN
public static final ContainerType GRINDSTONE
public static final ContainerType BLAST_FURNACE
public static final ContainerType SMOKER
public static final ContainerType STONECUTTER
public static final ContainerType CARTOGRAPHY
public static final ContainerType HUD
public static final ContainerType JIGSAW_EDITOR
public static final ContainerType SMITHING_TABLE
public static final ContainerType[] VALUES
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 from(int id)
Copyright © 2018–2022 NukkitX. All rights reserved.