Package net.minecraft.scoreboard
Enum Class ScoreboardDisplaySlot
- All Implemented Interfaces:
Serializable
,Comparable<ScoreboardDisplaySlot>
,Constable
,StringIdentifiable
- Mappings:
Namespace Name official eii
intermediary net/minecraft/class_8646
named net/minecraft/scoreboard/ScoreboardDisplaySlot
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec<ScoreboardDisplaySlot>
static final IntFunction<ScoreboardDisplaySlot>
private final int
private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static @Nullable ScoreboardDisplaySlot
fromFormatting
(Formatting formatting) int
getId()
static ScoreboardDisplaySlot
Returns the enum constant of this class with the specified name.static ScoreboardDisplaySlot[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LIST
- Mappings:
Namespace Name Mixin selector official a
Leii;a:Leii;
intermediary field_45156
Lnet/minecraft/class_8646;field_45156:Lnet/minecraft/class_8646;
named LIST
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;LIST:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
SIDEBAR
- Mappings:
Namespace Name Mixin selector official b
Leii;b:Leii;
intermediary field_45157
Lnet/minecraft/class_8646;field_45157:Lnet/minecraft/class_8646;
named SIDEBAR
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;SIDEBAR:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
BELOW_NAME
- Mappings:
Namespace Name Mixin selector official c
Leii;c:Leii;
intermediary field_45158
Lnet/minecraft/class_8646;field_45158:Lnet/minecraft/class_8646;
named BELOW_NAME
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;BELOW_NAME:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_BLACK
- Mappings:
Namespace Name Mixin selector official d
Leii;d:Leii;
intermediary field_45159
Lnet/minecraft/class_8646;field_45159:Lnet/minecraft/class_8646;
named TEAM_BLACK
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_BLACK:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_DARK_BLUE
- Mappings:
Namespace Name Mixin selector official e
Leii;e:Leii;
intermediary field_45160
Lnet/minecraft/class_8646;field_45160:Lnet/minecraft/class_8646;
named TEAM_DARK_BLUE
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_BLUE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_DARK_GREEN
- Mappings:
Namespace Name Mixin selector official f
Leii;f:Leii;
intermediary field_45161
Lnet/minecraft/class_8646;field_45161:Lnet/minecraft/class_8646;
named TEAM_DARK_GREEN
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_GREEN:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_DARK_AQUA
- Mappings:
Namespace Name Mixin selector official g
Leii;g:Leii;
intermediary field_45162
Lnet/minecraft/class_8646;field_45162:Lnet/minecraft/class_8646;
named TEAM_DARK_AQUA
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_AQUA:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_DARK_RED
- Mappings:
Namespace Name Mixin selector official h
Leii;h:Leii;
intermediary field_45163
Lnet/minecraft/class_8646;field_45163:Lnet/minecraft/class_8646;
named TEAM_DARK_RED
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_RED:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_DARK_PURPLE
- Mappings:
Namespace Name Mixin selector official i
Leii;i:Leii;
intermediary field_45164
Lnet/minecraft/class_8646;field_45164:Lnet/minecraft/class_8646;
named TEAM_DARK_PURPLE
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_PURPLE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_GOLD
- Mappings:
Namespace Name Mixin selector official j
Leii;j:Leii;
intermediary field_45165
Lnet/minecraft/class_8646;field_45165:Lnet/minecraft/class_8646;
named TEAM_GOLD
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_GOLD:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_GRAY
- Mappings:
Namespace Name Mixin selector official k
Leii;k:Leii;
intermediary field_45166
Lnet/minecraft/class_8646;field_45166:Lnet/minecraft/class_8646;
named TEAM_GRAY
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_GRAY:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_DARK_GRAY
- Mappings:
Namespace Name Mixin selector official l
Leii;l:Leii;
intermediary field_45167
Lnet/minecraft/class_8646;field_45167:Lnet/minecraft/class_8646;
named TEAM_DARK_GRAY
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_GRAY:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_BLUE
- Mappings:
Namespace Name Mixin selector official m
Leii;m:Leii;
intermediary field_45168
Lnet/minecraft/class_8646;field_45168:Lnet/minecraft/class_8646;
named TEAM_BLUE
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_BLUE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_GREEN
- Mappings:
Namespace Name Mixin selector official n
Leii;n:Leii;
intermediary field_45169
Lnet/minecraft/class_8646;field_45169:Lnet/minecraft/class_8646;
named TEAM_GREEN
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_GREEN:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_AQUA
- Mappings:
Namespace Name Mixin selector official o
Leii;o:Leii;
intermediary field_45170
Lnet/minecraft/class_8646;field_45170:Lnet/minecraft/class_8646;
named TEAM_AQUA
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_AQUA:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_RED
- Mappings:
Namespace Name Mixin selector official p
Leii;p:Leii;
intermediary field_45171
Lnet/minecraft/class_8646;field_45171:Lnet/minecraft/class_8646;
named TEAM_RED
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_RED:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_LIGHT_PURPLE
- Mappings:
Namespace Name Mixin selector official q
Leii;q:Leii;
intermediary field_45172
Lnet/minecraft/class_8646;field_45172:Lnet/minecraft/class_8646;
named TEAM_LIGHT_PURPLE
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_LIGHT_PURPLE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_YELLOW
- Mappings:
Namespace Name Mixin selector official r
Leii;r:Leii;
intermediary field_45173
Lnet/minecraft/class_8646;field_45173:Lnet/minecraft/class_8646;
named TEAM_YELLOW
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_YELLOW:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
TEAM_WHITE
- Mappings:
Namespace Name Mixin selector official s
Leii;s:Leii;
intermediary field_45174
Lnet/minecraft/class_8646;field_45174:Lnet/minecraft/class_8646;
named TEAM_WHITE
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_WHITE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official t
Leii;t:Lasp$a;
intermediary field_45175
Lnet/minecraft/class_8646;field_45175:Lnet/minecraft/class_3542$class_7292;
named CODEC
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
-
FROM_ID
- Mappings:
Namespace Name Mixin selector official u
Leii;u:Ljava/util/function/IntFunction;
intermediary field_45176
Lnet/minecraft/class_8646;field_45176:Ljava/util/function/IntFunction;
named FROM_ID
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;FROM_ID:Ljava/util/function/IntFunction;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official v
Leii;v:I
intermediary field_45177
Lnet/minecraft/class_8646;field_45177:I
named id
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;id:I
-
name
- Mappings:
Namespace Name Mixin selector official w
Leii;w:Ljava/lang/String;
intermediary field_45178
Lnet/minecraft/class_8646;field_45178:Ljava/lang/String;
named name
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;name:Ljava/lang/String;
-
-
Constructor Details
-
ScoreboardDisplaySlot
- Mappings:
Namespace Name Mixin selector official <init>
Leii;<init>(Ljava/lang/String;IILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_8646;<init>(Ljava/lang/String;IILjava/lang/String;)V
named <init>
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;<init>(Ljava/lang/String;IILjava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official a
Leii;a()I
intermediary method_52621
Lnet/minecraft/class_8646;method_52621()I
named getId
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;getId()I
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official c
Lasp;c()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
fromFormatting
- Mappings:
Namespace Name Mixin selector official a
Leii;a(Ln;)Leii;
intermediary method_52622
Lnet/minecraft/class_8646;method_52622(Lnet/minecraft/class_124;)Lnet/minecraft/class_8646;
named fromFormatting
Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;fromFormatting(Lnet/minecraft/util/Formatting;)Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
-