Enum Class ScoreboardDisplaySlot

java.lang.Object
java.lang.Enum<ScoreboardDisplaySlot>
net.minecraft.scoreboard.ScoreboardDisplaySlot
All Implemented Interfaces:
Serializable, Comparable<ScoreboardDisplaySlot>, Constable, StringIdentifiable

public enum ScoreboardDisplaySlot extends Enum<ScoreboardDisplaySlot> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/scoreboard/ScoreboardDisplaySlot
intermediary net/minecraft/class_8646
official fct
  • Enum Constant Details

    • LIST

      public static final ScoreboardDisplaySlot LIST
      Mappings:
      Namespace Name Mixin selector
      named LIST Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;LIST:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45156 Lnet/minecraft/class_8646;field_45156:Lnet/minecraft/class_8646;
      official a Lfct;a:Lfct;
    • BELOW_NAME

      public static final ScoreboardDisplaySlot BELOW_NAME
      Mappings:
      Namespace Name Mixin selector
      named BELOW_NAME Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;BELOW_NAME:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45158 Lnet/minecraft/class_8646;field_45158:Lnet/minecraft/class_8646;
      official c Lfct;c:Lfct;
    • TEAM_BLACK

      public static final ScoreboardDisplaySlot TEAM_BLACK
      Mappings:
      Namespace Name Mixin selector
      named TEAM_BLACK Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_BLACK:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45159 Lnet/minecraft/class_8646;field_45159:Lnet/minecraft/class_8646;
      official d Lfct;d:Lfct;
    • TEAM_DARK_BLUE

      public static final ScoreboardDisplaySlot TEAM_DARK_BLUE
      Mappings:
      Namespace Name Mixin selector
      named TEAM_DARK_BLUE Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_BLUE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45160 Lnet/minecraft/class_8646;field_45160:Lnet/minecraft/class_8646;
      official e Lfct;e:Lfct;
    • TEAM_DARK_GREEN

      public static final ScoreboardDisplaySlot TEAM_DARK_GREEN
      Mappings:
      Namespace Name Mixin selector
      named TEAM_DARK_GREEN Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_GREEN:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45161 Lnet/minecraft/class_8646;field_45161:Lnet/minecraft/class_8646;
      official f Lfct;f:Lfct;
    • TEAM_DARK_AQUA

      public static final ScoreboardDisplaySlot TEAM_DARK_AQUA
      Mappings:
      Namespace Name Mixin selector
      named TEAM_DARK_AQUA Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_AQUA:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45162 Lnet/minecraft/class_8646;field_45162:Lnet/minecraft/class_8646;
      official g Lfct;g:Lfct;
    • TEAM_DARK_RED

      public static final ScoreboardDisplaySlot TEAM_DARK_RED
      Mappings:
      Namespace Name Mixin selector
      named TEAM_DARK_RED Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_RED:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45163 Lnet/minecraft/class_8646;field_45163:Lnet/minecraft/class_8646;
      official h Lfct;h:Lfct;
    • TEAM_DARK_PURPLE

      public static final ScoreboardDisplaySlot TEAM_DARK_PURPLE
      Mappings:
      Namespace Name Mixin selector
      named TEAM_DARK_PURPLE Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_PURPLE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45164 Lnet/minecraft/class_8646;field_45164:Lnet/minecraft/class_8646;
      official i Lfct;i:Lfct;
    • TEAM_GOLD

      public static final ScoreboardDisplaySlot TEAM_GOLD
      Mappings:
      Namespace Name Mixin selector
      named TEAM_GOLD Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_GOLD:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45165 Lnet/minecraft/class_8646;field_45165:Lnet/minecraft/class_8646;
      official j Lfct;j:Lfct;
    • TEAM_GRAY

      public static final ScoreboardDisplaySlot TEAM_GRAY
      Mappings:
      Namespace Name Mixin selector
      named TEAM_GRAY Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_GRAY:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45166 Lnet/minecraft/class_8646;field_45166:Lnet/minecraft/class_8646;
      official k Lfct;k:Lfct;
    • TEAM_DARK_GRAY

      public static final ScoreboardDisplaySlot TEAM_DARK_GRAY
      Mappings:
      Namespace Name Mixin selector
      named TEAM_DARK_GRAY Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_DARK_GRAY:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45167 Lnet/minecraft/class_8646;field_45167:Lnet/minecraft/class_8646;
      official l Lfct;l:Lfct;
    • TEAM_BLUE

      public static final ScoreboardDisplaySlot TEAM_BLUE
      Mappings:
      Namespace Name Mixin selector
      named TEAM_BLUE Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_BLUE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45168 Lnet/minecraft/class_8646;field_45168:Lnet/minecraft/class_8646;
      official m Lfct;m:Lfct;
    • TEAM_GREEN

      public static final ScoreboardDisplaySlot TEAM_GREEN
      Mappings:
      Namespace Name Mixin selector
      named TEAM_GREEN Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_GREEN:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45169 Lnet/minecraft/class_8646;field_45169:Lnet/minecraft/class_8646;
      official n Lfct;n:Lfct;
    • TEAM_AQUA

      public static final ScoreboardDisplaySlot TEAM_AQUA
      Mappings:
      Namespace Name Mixin selector
      named TEAM_AQUA Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_AQUA:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45170 Lnet/minecraft/class_8646;field_45170:Lnet/minecraft/class_8646;
      official o Lfct;o:Lfct;
    • TEAM_RED

      public static final ScoreboardDisplaySlot TEAM_RED
      Mappings:
      Namespace Name Mixin selector
      named TEAM_RED Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_RED:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45171 Lnet/minecraft/class_8646;field_45171:Lnet/minecraft/class_8646;
      official p Lfct;p:Lfct;
    • TEAM_LIGHT_PURPLE

      public static final ScoreboardDisplaySlot TEAM_LIGHT_PURPLE
      Mappings:
      Namespace Name Mixin selector
      named TEAM_LIGHT_PURPLE Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_LIGHT_PURPLE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45172 Lnet/minecraft/class_8646;field_45172:Lnet/minecraft/class_8646;
      official q Lfct;q:Lfct;
    • TEAM_YELLOW

      public static final ScoreboardDisplaySlot TEAM_YELLOW
      Mappings:
      Namespace Name Mixin selector
      named TEAM_YELLOW Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_YELLOW:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45173 Lnet/minecraft/class_8646;field_45173:Lnet/minecraft/class_8646;
      official r Lfct;r:Lfct;
    • TEAM_WHITE

      public static final ScoreboardDisplaySlot TEAM_WHITE
      Mappings:
      Namespace Name Mixin selector
      named TEAM_WHITE Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;TEAM_WHITE:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_45174 Lnet/minecraft/class_8646;field_45174:Lnet/minecraft/class_8646;
      official s Lfct;s:Lfct;
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
      intermediary field_45175 Lnet/minecraft/class_8646;field_45175:Lnet/minecraft/class_3542$class_7292;
      official t Lfct;t:Lbba$a;
    • FROM_ID

      public static final IntFunction<ScoreboardDisplaySlot> FROM_ID
      Mappings:
      Namespace Name Mixin selector
      named FROM_ID Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;FROM_ID:Ljava/util/function/IntFunction;
      intermediary field_45176 Lnet/minecraft/class_8646;field_45176:Ljava/util/function/IntFunction;
      official u Lfct;u:Ljava/util/function/IntFunction;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;id:I
      intermediary field_45177 Lnet/minecraft/class_8646;field_45177:I
      official v Lfct;v:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;name:Ljava/lang/String;
      intermediary field_45178 Lnet/minecraft/class_8646;field_45178:Ljava/lang/String;
      official w Lfct;w:Ljava/lang/String;
  • Constructor Details

    • ScoreboardDisplaySlot

      private ScoreboardDisplaySlot(int id, String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_8646;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Lfct;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static ScoreboardDisplaySlot[] 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

      public static ScoreboardDisplaySlot valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;getId()I
      intermediary method_52621 Lnet/minecraft/class_8646;method_52621()I
      official a Lfct;a()I
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbba;c()Ljava/lang/String;
    • fromFormatting

      @Nullable public static @Nullable ScoreboardDisplaySlot fromFormatting(Formatting formatting)
      Mappings:
      Namespace Name Mixin selector
      named fromFormatting Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;fromFormatting(Lnet/minecraft/util/Formatting;)Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary method_52622 Lnet/minecraft/class_8646;method_52622(Lnet/minecraft/class_124;)Lnet/minecraft/class_8646;
      official a Lfct;a(Ln;)Lfct;