public enum EquipSlot extends Enum<EquipSlot>
| Enum Constant and Description |
|---|
Accessory |
Arms |
Chest |
Feet |
Head |
Legs |
Weapon |
| Modifier and Type | Field and Description |
|---|---|
byte |
index |
| Modifier and Type | Method and Description |
|---|---|
static EquipSlot |
getFromString(String slot) |
static EquipSlot |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EquipSlot[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EquipSlot Feet
public static final EquipSlot Legs
public static final EquipSlot Arms
public static final EquipSlot Chest
public static final EquipSlot Head
public static final EquipSlot Weapon
public static final EquipSlot Accessory
public static EquipSlot[] values()
for (EquipSlot c : EquipSlot.values()) System.out.println(c);
public static EquipSlot valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.