public static enum PlayerSettings.ChatMode extends Enum<PlayerSettings.ChatMode>
Enum Constant and Description |
---|
COMMANDS_ONLY |
HIDDEN |
SHOWN |
Modifier and Type | Method and Description |
---|---|
static PlayerSettings.ChatMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerSettings.ChatMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerSettings.ChatMode SHOWN
public static final PlayerSettings.ChatMode COMMANDS_ONLY
public static final PlayerSettings.ChatMode HIDDEN
public static PlayerSettings.ChatMode[] values()
for (PlayerSettings.ChatMode c : PlayerSettings.ChatMode.values()) System.out.println(c);
public static PlayerSettings.ChatMode 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