public static enum IEquipmentAPI.Slot extends java.lang.Enum<IEquipmentAPI.Slot>
Enum Constant and Description |
---|
AMMO |
BODY |
CAPE |
FEET |
HANDS |
HELMET |
LEGS |
NECK |
RING |
SHIELD |
WEAPON |
Modifier and Type | Method and Description |
---|---|
int |
getContainerIndex() |
int |
getMaterialId() |
static IEquipmentAPI.Slot |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IEquipmentAPI.Slot[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IEquipmentAPI.Slot HELMET
public static final IEquipmentAPI.Slot CAPE
public static final IEquipmentAPI.Slot NECK
public static final IEquipmentAPI.Slot WEAPON
public static final IEquipmentAPI.Slot BODY
public static final IEquipmentAPI.Slot SHIELD
public static final IEquipmentAPI.Slot LEGS
public static final IEquipmentAPI.Slot HANDS
public static final IEquipmentAPI.Slot FEET
public static final IEquipmentAPI.Slot RING
public static final IEquipmentAPI.Slot AMMO
public static IEquipmentAPI.Slot[] values()
for (IEquipmentAPI.Slot c : IEquipmentAPI.Slot.values()) System.out.println(c);
public static IEquipmentAPI.Slot 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 nullpublic int getContainerIndex()
public int getMaterialId()