public enum ContainerSection extends java.lang.Enum<ContainerSection>
Enum Constant and Description |
---|
ARMOR
The armor slots
|
BREWING_BOTTLES
The three bottles slots in brewing tables
NOTE: Do not use without also using BREWING_INGREDIENT.
|
BREWING_INGREDIENT
The top slot in brewing tables
NOTE: Do not use without also using BREWING_BOTTLES.
|
CHEST
The chest or dispenser contents.
|
CRAFTING_IN
The crafting input
|
CRAFTING_IN_PERSISTENT
The crafting input, for containters that store it internally
|
CRAFTING_OUT
The crafting output
|
ENCHANTMENT
The enchantment table slot
|
FURNACE_FUEL
The furnace fuel
|
FURNACE_IN
The furnace input
|
FURNACE_OUT
The furnace output
|
INVENTORY
The player's inventory
|
INVENTORY_HOTBAR
The player's inventory (only the hotbar)
|
INVENTORY_NOT_HOTBAR
The player's inventory (all except the hotbar)
|
Modifier and Type | Method and Description |
---|---|
static ContainerSection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContainerSection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerSection INVENTORY
public static final ContainerSection INVENTORY_HOTBAR
public static final ContainerSection INVENTORY_NOT_HOTBAR
public static final ContainerSection CHEST
public static final ContainerSection CRAFTING_IN
public static final ContainerSection CRAFTING_IN_PERSISTENT
public static final ContainerSection CRAFTING_OUT
public static final ContainerSection ARMOR
public static final ContainerSection FURNACE_IN
public static final ContainerSection FURNACE_OUT
public static final ContainerSection FURNACE_FUEL
public static final ContainerSection ENCHANTMENT
public static final ContainerSection BREWING_BOTTLES
public static final ContainerSection BREWING_INGREDIENT
public static ContainerSection[] values()
for (ContainerSection c : ContainerSection.values()) System.out.println(c);
public static ContainerSection valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null