public static enum ScoreboardTeam.CollisionRule extends Enum<ScoreboardTeam.CollisionRule>
| Enum Constant and Description |
|---|
ALWAYS |
NEVER |
PUSH_OTHER_TEAMS |
PUSH_OWN_TEAM |
| Modifier and Type | Method and Description |
|---|---|
String |
getProtocolName() |
static ScoreboardTeam.CollisionRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScoreboardTeam.CollisionRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScoreboardTeam.CollisionRule ALWAYS
public static final ScoreboardTeam.CollisionRule NEVER
public static final ScoreboardTeam.CollisionRule PUSH_OTHER_TEAMS
public static final ScoreboardTeam.CollisionRule PUSH_OWN_TEAM
public static ScoreboardTeam.CollisionRule[] values()
for (ScoreboardTeam.CollisionRule c : ScoreboardTeam.CollisionRule.values()) System.out.println(c);
public static ScoreboardTeam.CollisionRule 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 nullpublic String getProtocolName()
Copyright © 2022. All rights reserved.