|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<InventoryType.SlotType> org.bukkit.event.inventory.InventoryType.SlotType
public static enum InventoryType.SlotType
Enum Constant Summary | |
---|---|
ARMOR
An armour slot in the player's inventory. |
|
CONTAINER
A regular slot in the container or the player's inventory; anything not covered by the other enum values. |
|
CRAFTING
A slot in the crafting matrix, or the input slot in a furnace inventory, the potion slot in the brewing stand, or the enchanting slot. |
|
FUEL
The fuel slot in a furnace inventory, or the ingredient slot in a brewing stand inventory. |
|
OUTSIDE
A pseudo-slot representing the area outside the inventory window. |
|
QUICKBAR
A slot in the bottom row or quickbar. |
|
RESULT
A result slot in a furnace or crafting inventory. |
Method Summary | |
---|---|
static InventoryType.SlotType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static InventoryType.SlotType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final InventoryType.SlotType RESULT
public static final InventoryType.SlotType CRAFTING
public static final InventoryType.SlotType ARMOR
public static final InventoryType.SlotType CONTAINER
public static final InventoryType.SlotType QUICKBAR
public static final InventoryType.SlotType OUTSIDE
public static final InventoryType.SlotType FUEL
Method Detail |
---|
public static InventoryType.SlotType[] values()
for (InventoryType.SlotType c : InventoryType.SlotType.values()) System.out.println(c);
public static InventoryType.SlotType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |