Serializable
, Comparable<Team.Option>
public static enum Team.Option extends Enum<Team.Option>
Enum Constant | 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 | 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 © 2020. All rights reserved.