public static enum Team.Option extends Enum<Team.Option>
Enum Constant and Description |
---|
COLLISION_RULE
How players of this team collide with others.
|
DEATH_MESSAGE_VISIBILITY
How to display the death messages for players on this team.
|
NAME_TAG_VISIBILITY
How to display the name tags of players on this team.
|
Modifier and Type | Method and Description |
---|---|
static Team.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Team.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Team.Option NAME_TAG_VISIBILITY
public static final Team.Option DEATH_MESSAGE_VISIBILITY
public static final Team.Option COLLISION_RULE
public static Team.Option[] values()
for (Team.Option c : Team.Option.values()) System.out.println(c);
public static Team.Option 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.