public static enum Team.Visible extends java.lang.Enum<Team.Visible>
Enum Constant and Description |
---|
ALWAYS |
HIDE_FOR_OTHER_TEAMS |
HIDE_FOR_OWN_TEAM |
NEVER |
Modifier and Type | Field and Description |
---|---|
int |
id |
java.lang.String |
internalName |
private static java.util.Map<java.lang.String,Team.Visible> |
nameMap |
Modifier and Type | Method and Description |
---|---|
static Team.Visible |
getByName(java.lang.String nameIn) |
ITextComponent |
getDisplayName() |
static Team.Visible |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Team.Visible[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Team.Visible ALWAYS
public static final Team.Visible NEVER
public static final Team.Visible HIDE_FOR_OTHER_TEAMS
public static final Team.Visible HIDE_FOR_OWN_TEAM
private static final java.util.Map<java.lang.String,Team.Visible> nameMap
public final java.lang.String internalName
public final int id
public static Team.Visible[] values()
for (Team.Visible c : Team.Visible.values()) System.out.println(c);
public static Team.Visible valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Nullable public static Team.Visible getByName(java.lang.String nameIn)
public ITextComponent getDisplayName()