@Environment(value=CLIENT) public static enum RealmsWorldSlotButton.Action extends Enum<RealmsWorldSlotButton.Action>
Enum Constant and Description |
---|
JOIN |
NOTHING |
SWITCH_SLOT |
Modifier and Type | Method and Description |
---|---|
static RealmsWorldSlotButton.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RealmsWorldSlotButton.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RealmsWorldSlotButton.Action NOTHING
public static final RealmsWorldSlotButton.Action SWITCH_SLOT
public static final RealmsWorldSlotButton.Action JOIN
public static RealmsWorldSlotButton.Action[] values()
for (RealmsWorldSlotButton.Action c : RealmsWorldSlotButton.Action.values()) System.out.println(c);
public static RealmsWorldSlotButton.Action 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 null