public static enum ScoreboardTeamMessage.Action extends Enum<ScoreboardTeamMessage.Action>
Enum Constant and Description |
---|
ADD_PLAYERS |
CREATE |
REMOVE |
REMOVE_PLAYERS |
UPDATE |
Modifier and Type | Method and Description |
---|---|
static ScoreboardTeamMessage.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScoreboardTeamMessage.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScoreboardTeamMessage.Action CREATE
public static final ScoreboardTeamMessage.Action REMOVE
public static final ScoreboardTeamMessage.Action UPDATE
public static final ScoreboardTeamMessage.Action ADD_PLAYERS
public static final ScoreboardTeamMessage.Action REMOVE_PLAYERS
public static ScoreboardTeamMessage.Action[] values()
for (ScoreboardTeamMessage.Action c : ScoreboardTeamMessage.Action.values()) System.out.println(c);
public static ScoreboardTeamMessage.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 nullCopyright © 2021. All rights reserved.