Package net.minecraft.scoreboard
Enum Team.EnumVisible
- java.lang.Object
-
- java.lang.Enum<Team.EnumVisible>
-
- net.minecraft.scoreboard.Team.EnumVisible
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Team.EnumVisible>
- Enclosing class:
- Team
public static enum Team.EnumVisible extends java.lang.Enum<Team.EnumVisible>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS
HIDE_FOR_OTHER_TEAMS
HIDE_FOR_OWN_TEAM
NEVER
-
Field Summary
Fields Modifier and Type Field Description int
field_178827_f
java.lang.String
field_178830_e
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Team.EnumVisible
func_178824_a(java.lang.String parString1)
static java.lang.String[]
func_178825_a()
static Team.EnumVisible
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Team.EnumVisible[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final Team.EnumVisible ALWAYS
-
NEVER
public static final Team.EnumVisible NEVER
-
HIDE_FOR_OTHER_TEAMS
public static final Team.EnumVisible HIDE_FOR_OTHER_TEAMS
-
HIDE_FOR_OWN_TEAM
public static final Team.EnumVisible HIDE_FOR_OWN_TEAM
-
-
Method Detail
-
values
public static Team.EnumVisible[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Team.EnumVisible c : Team.EnumVisible.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Team.EnumVisible valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
func_178825_a
public static java.lang.String[] func_178825_a()
-
func_178824_a
public static Team.EnumVisible func_178824_a(java.lang.String parString1)
-
-