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