public enum ContainerType extends Enum<ContainerType>
| Enum Constant and Description |
|---|
ANVIL |
BEACON |
BLAST_FURNACE |
BREWING_STAND |
CARTOGRAPHY |
CRAFTING |
ENCHANTMENT |
FURNACE |
GENERIC_3X3 |
GENERIC_9X1 |
GENERIC_9X2 |
GENERIC_9X3 |
GENERIC_9X4 |
GENERIC_9X5 |
GENERIC_9X6 |
GRINDSTONE |
HOPPER |
LECTERN |
LOOM |
MERCHANT |
SHULKER_BOX |
SMITHING |
SMOKER |
STONECUTTER |
| 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 GENERIC_9X1
public static final ContainerType GENERIC_9X2
public static final ContainerType GENERIC_9X3
public static final ContainerType GENERIC_9X4
public static final ContainerType GENERIC_9X5
public static final ContainerType GENERIC_9X6
public static final ContainerType GENERIC_3X3
public static final ContainerType ANVIL
public static final ContainerType BEACON
public static final ContainerType BLAST_FURNACE
public static final ContainerType BREWING_STAND
public static final ContainerType CRAFTING
public static final ContainerType ENCHANTMENT
public static final ContainerType FURNACE
public static final ContainerType GRINDSTONE
public static final ContainerType HOPPER
public static final ContainerType LECTERN
public static final ContainerType LOOM
public static final ContainerType MERCHANT
public static final ContainerType SHULKER_BOX
public static final ContainerType SMITHING
public static final ContainerType SMOKER
public static final ContainerType CARTOGRAPHY
public static final ContainerType STONECUTTER
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 © 2023. All rights reserved.