public static enum Inventory.SlotType extends java.lang.Enum<Inventory.SlotType>
| Enum Constant and Description |
|---|
Ammo
Ammo items, the red ammo slots in the inventory
|
Equipment
The equipment items, the blue slots in the inventory which are usually accessible by holding a hotkey (e.g. compass)
|
Inventory
The regular inventory
|
Quickslot
Quickslot items, i.e. the hotbar (the items you hold in your hands)
|
| Modifier and Type | Method and Description |
|---|---|
static Inventory.SlotType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Inventory.SlotType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Inventory.SlotType Quickslot
public static final Inventory.SlotType Ammo
public static final Inventory.SlotType Equipment
public static final Inventory.SlotType Inventory
public static Inventory.SlotType[] values()
for (Inventory.SlotType c : Inventory.SlotType.values()) System.out.println(c);
public static Inventory.SlotType 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