Package net.minecraft.scoreboard
Enum Class ScoreboardDisplaySlot
- All Implemented Interfaces:
Serializable,Comparable<ScoreboardDisplaySlot>,Constable,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/scoreboard/ScoreboardDisplaySlotintermediary net/minecraft/class_8646official fct
-
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.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec<ScoreboardDisplaySlot> static final IntFunction<ScoreboardDisplaySlot> private final intprivate final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.static @Nullable ScoreboardDisplaySlotfromFormatting(Formatting formatting) intgetId()static ScoreboardDisplaySlotReturns 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 named LISTLnet/minecraft/scoreboard/ScoreboardDisplaySlot;LIST:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45156Lnet/minecraft/class_8646;field_45156:Lnet/minecraft/class_8646;official aLfct;a:Lfct;
-
SIDEBAR
- Mappings:
Namespace Name Mixin selector named SIDEBARLnet/minecraft/scoreboard/ScoreboardDisplaySlot;SIDEBAR:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45157Lnet/minecraft/class_8646;field_45157:Lnet/minecraft/class_8646;official bLfct;b:Lfct;
-
BELOW_NAME
- Mappings:
Namespace Name Mixin selector named BELOW_NAMELnet/minecraft/scoreboard/ScoreboardDisplaySlot;BELOW_NAME:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45158Lnet/minecraft/class_8646;field_45158:Lnet/minecraft/class_8646;official cLfct;c:Lfct;
-
TEAM_BLACK
- Mappings:
Namespace Name Mixin selector named TEAM_BLACKLnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_BLACK:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45159Lnet/minecraft/class_8646;field_45159:Lnet/minecraft/class_8646;official dLfct;d:Lfct;
-
TEAM_DARK_BLUE
- Mappings:
Namespace Name Mixin selector named TEAM_DARK_BLUELnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_BLUE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45160Lnet/minecraft/class_8646;field_45160:Lnet/minecraft/class_8646;official eLfct;e:Lfct;
-
TEAM_DARK_GREEN
- Mappings:
Namespace Name Mixin selector named TEAM_DARK_GREENLnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_GREEN:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45161Lnet/minecraft/class_8646;field_45161:Lnet/minecraft/class_8646;official fLfct;f:Lfct;
-
TEAM_DARK_AQUA
- Mappings:
Namespace Name Mixin selector named TEAM_DARK_AQUALnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_AQUA:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45162Lnet/minecraft/class_8646;field_45162:Lnet/minecraft/class_8646;official gLfct;g:Lfct;
-
TEAM_DARK_RED
- Mappings:
Namespace Name Mixin selector named TEAM_DARK_REDLnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_RED:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45163Lnet/minecraft/class_8646;field_45163:Lnet/minecraft/class_8646;official hLfct;h:Lfct;
-
TEAM_DARK_PURPLE
- Mappings:
Namespace Name Mixin selector named TEAM_DARK_PURPLELnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_PURPLE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45164Lnet/minecraft/class_8646;field_45164:Lnet/minecraft/class_8646;official iLfct;i:Lfct;
-
TEAM_GOLD
- Mappings:
Namespace Name Mixin selector named TEAM_GOLDLnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_GOLD:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45165Lnet/minecraft/class_8646;field_45165:Lnet/minecraft/class_8646;official jLfct;j:Lfct;
-
TEAM_GRAY
- Mappings:
Namespace Name Mixin selector named TEAM_GRAYLnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_GRAY:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45166Lnet/minecraft/class_8646;field_45166:Lnet/minecraft/class_8646;official kLfct;k:Lfct;
-
TEAM_DARK_GRAY
- Mappings:
Namespace Name Mixin selector named TEAM_DARK_GRAYLnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_GRAY:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45167Lnet/minecraft/class_8646;field_45167:Lnet/minecraft/class_8646;official lLfct;l:Lfct;
-
TEAM_BLUE
- Mappings:
Namespace Name Mixin selector named TEAM_BLUELnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_BLUE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45168Lnet/minecraft/class_8646;field_45168:Lnet/minecraft/class_8646;official mLfct;m:Lfct;
-
TEAM_GREEN
- Mappings:
Namespace Name Mixin selector named TEAM_GREENLnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_GREEN:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45169Lnet/minecraft/class_8646;field_45169:Lnet/minecraft/class_8646;official nLfct;n:Lfct;
-
TEAM_AQUA
- Mappings:
Namespace Name Mixin selector named TEAM_AQUALnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_AQUA:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45170Lnet/minecraft/class_8646;field_45170:Lnet/minecraft/class_8646;official oLfct;o:Lfct;
-
TEAM_RED
- Mappings:
Namespace Name Mixin selector named TEAM_REDLnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_RED:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45171Lnet/minecraft/class_8646;field_45171:Lnet/minecraft/class_8646;official pLfct;p:Lfct;
-
TEAM_LIGHT_PURPLE
- Mappings:
Namespace Name Mixin selector named TEAM_LIGHT_PURPLELnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_LIGHT_PURPLE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45172Lnet/minecraft/class_8646;field_45172:Lnet/minecraft/class_8646;official qLfct;q:Lfct;
-
TEAM_YELLOW
- Mappings:
Namespace Name Mixin selector named TEAM_YELLOWLnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_YELLOW:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45173Lnet/minecraft/class_8646;field_45173:Lnet/minecraft/class_8646;official rLfct;r:Lfct;
-
TEAM_WHITE
- Mappings:
Namespace Name Mixin selector named TEAM_WHITELnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_WHITE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary field_45174Lnet/minecraft/class_8646;field_45174:Lnet/minecraft/class_8646;official sLfct;s:Lfct;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/scoreboard/ScoreboardDisplaySlot;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;intermediary field_45175Lnet/minecraft/class_8646;field_45175:Lnet/minecraft/class_3542$class_7292;official tLfct;t:Lbba$a;
-
FROM_ID
- Mappings:
Namespace Name Mixin selector named FROM_IDLnet/minecraft/scoreboard/ScoreboardDisplaySlot;FROM_ID:Ljava/util/function/IntFunction;intermediary field_45176Lnet/minecraft/class_8646;field_45176:Ljava/util/function/IntFunction;official uLfct;u:Ljava/util/function/IntFunction;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/scoreboard/ScoreboardDisplaySlot;id:Iintermediary field_45177Lnet/minecraft/class_8646;field_45177:Iofficial vLfct;v:I
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/scoreboard/ScoreboardDisplaySlot;name:Ljava/lang/String;intermediary field_45178Lnet/minecraft/class_8646;field_45178:Ljava/lang/String;official wLfct;w:Ljava/lang/String;
-
-
Constructor Details
-
ScoreboardDisplaySlot
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_8646;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lfct;<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 named getIdLnet/minecraft/scoreboard/ScoreboardDisplaySlot;getId()Iintermediary method_52621Lnet/minecraft/class_8646;method_52621()Iofficial aLfct;a()I
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbba;c()Ljava/lang/String;
-
fromFormatting
- Mappings:
Namespace Name Mixin selector named fromFormattingLnet/minecraft/scoreboard/ScoreboardDisplaySlot;fromFormatting(Lnet/minecraft/util/Formatting;)Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;intermediary method_52622Lnet/minecraft/class_8646;method_52622(Lnet/minecraft/class_124;)Lnet/minecraft/class_8646;official aLfct;a(Ln;)Lfct;
-