public enum EquipmentSlotType extends java.lang.Enum<EquipmentSlotType>
Modifier and Type | Class and Description |
---|---|
static class |
EquipmentSlotType.Group |
Enum Constant and Description |
---|
CHEST |
FEET |
HEAD |
LEGS |
MAINHAND |
OFFHAND |
Modifier and Type | Field and Description |
---|---|
private int |
filterFlag |
private int |
index |
private java.lang.String |
name |
private EquipmentSlotType.Group |
type |
Modifier and Type | Method and Description |
---|---|
static EquipmentSlotType |
byName(java.lang.String p_188451_0_) |
static EquipmentSlotType |
byTypeAndIndex(EquipmentSlotType.Group p_220318_0_,
int p_220318_1_) |
int |
getFilterFlag() |
int |
getIndex() |
java.lang.String |
getName() |
EquipmentSlotType.Group |
getType() |
static EquipmentSlotType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EquipmentSlotType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EquipmentSlotType MAINHAND
public static final EquipmentSlotType OFFHAND
public static final EquipmentSlotType FEET
public static final EquipmentSlotType LEGS
public static final EquipmentSlotType CHEST
public static final EquipmentSlotType HEAD
private final EquipmentSlotType.Group type
private final int index
private final int filterFlag
private final java.lang.String name
public static EquipmentSlotType[] values()
for (EquipmentSlotType c : EquipmentSlotType.values()) System.out.println(c);
public static EquipmentSlotType 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 EquipmentSlotType.Group getType()
public int getIndex()
public int getFilterFlag()
public java.lang.String getName()
public static EquipmentSlotType byName(java.lang.String p_188451_0_)
public static EquipmentSlotType byTypeAndIndex(EquipmentSlotType.Group p_220318_0_, int p_220318_1_)