Class ScoreboardObjective

java.lang.Object
net.minecraft.scoreboard.ScoreboardObjective

public class ScoreboardObjective extends Object
Mappings:
Namespace Name
official emp
intermediary net/minecraft/class_266
named net/minecraft/scoreboard/ScoreboardObjective
  • Field Details

    • scoreboard

      private final Scoreboard scoreboard
      Mappings:
      Namespace Name Mixin selector
      official a Lemp;a:Lemx;
      intermediary field_1404 Lnet/minecraft/class_266;field_1404:Lnet/minecraft/class_269;
      named scoreboard Lnet/minecraft/scoreboard/ScoreboardObjective;scoreboard:Lnet/minecraft/scoreboard/Scoreboard;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official b Lemp;b:Ljava/lang/String;
      intermediary field_1405 Lnet/minecraft/class_266;field_1405:Ljava/lang/String;
      named name Lnet/minecraft/scoreboard/ScoreboardObjective;name:Ljava/lang/String;
    • criterion

      private final ScoreboardCriterion criterion
      Mappings:
      Namespace Name Mixin selector
      official c Lemp;c:Lena;
      intermediary field_1406 Lnet/minecraft/class_266;field_1406:Lnet/minecraft/class_274;
      named criterion Lnet/minecraft/scoreboard/ScoreboardObjective;criterion:Lnet/minecraft/scoreboard/ScoreboardCriterion;
    • displayName

      private Text displayName
      Mappings:
      Namespace Name Mixin selector
      official d Lemp;d:Lvf;
      intermediary field_1402 Lnet/minecraft/class_266;field_1402:Lnet/minecraft/class_2561;
      named displayName Lnet/minecraft/scoreboard/ScoreboardObjective;displayName:Lnet/minecraft/text/Text;
    • bracketedDisplayName

      private Text bracketedDisplayName
      Mappings:
      Namespace Name Mixin selector
      official e Lemp;e:Lvf;
      intermediary field_24194 Lnet/minecraft/class_266;field_24194:Lnet/minecraft/class_2561;
      named bracketedDisplayName Lnet/minecraft/scoreboard/ScoreboardObjective;bracketedDisplayName:Lnet/minecraft/text/Text;
    • renderType

      private ScoreboardCriterion.RenderType renderType
      Mappings:
      Namespace Name Mixin selector
      official f Lemp;f:Lena$a;
      intermediary field_1403 Lnet/minecraft/class_266;field_1403:Lnet/minecraft/class_274$class_275;
      named renderType Lnet/minecraft/scoreboard/ScoreboardObjective;renderType:Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
    • displayAutoUpdate

      private boolean displayAutoUpdate
      Mappings:
      Namespace Name Mixin selector
      official g Lemp;g:Z
      intermediary field_47527 Lnet/minecraft/class_266;field_47527:Z
      named displayAutoUpdate Lnet/minecraft/scoreboard/ScoreboardObjective;displayAutoUpdate:Z
    • numberFormat

      @Nullable private @Nullable NumberFormat numberFormat
      Mappings:
      Namespace Name Mixin selector
      official h Lemp;h:Lwv;
      intermediary field_47528 Lnet/minecraft/class_266;field_47528:Lnet/minecraft/class_9022;
      named numberFormat Lnet/minecraft/scoreboard/ScoreboardObjective;numberFormat:Lnet/minecraft/scoreboard/number/NumberFormat;
  • Constructor Details

    • ScoreboardObjective

      public ScoreboardObjective(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType, boolean displayAutoUpdate, @Nullable @Nullable NumberFormat numberFormat)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lemp;<init>(Lemx;Ljava/lang/String;Lena;Lvf;Lena$a;ZLwv;)V
      intermediary <init> Lnet/minecraft/class_266;<init>(Lnet/minecraft/class_269;Ljava/lang/String;Lnet/minecraft/class_274;Lnet/minecraft/class_2561;Lnet/minecraft/class_274$class_275;ZLnet/minecraft/class_9022;)V
      named <init> Lnet/minecraft/scoreboard/ScoreboardObjective;<init>(Lnet/minecraft/scoreboard/Scoreboard;Ljava/lang/String;Lnet/minecraft/scoreboard/ScoreboardCriterion;Lnet/minecraft/text/Text;Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;ZLnet/minecraft/scoreboard/number/NumberFormat;)V
  • Method Details

    • getScoreboard

      public Scoreboard getScoreboard()
      Mappings:
      Namespace Name Mixin selector
      official a Lemp;a()Lemx;
      intermediary method_1117 Lnet/minecraft/class_266;method_1117()Lnet/minecraft/class_269;
      named getScoreboard Lnet/minecraft/scoreboard/ScoreboardObjective;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Lemp;b()Ljava/lang/String;
      intermediary method_1113 Lnet/minecraft/class_266;method_1113()Ljava/lang/String;
      named getName Lnet/minecraft/scoreboard/ScoreboardObjective;getName()Ljava/lang/String;
    • getCriterion

      public ScoreboardCriterion getCriterion()
      Mappings:
      Namespace Name Mixin selector
      official c Lemp;c()Lena;
      intermediary method_1116 Lnet/minecraft/class_266;method_1116()Lnet/minecraft/class_274;
      named getCriterion Lnet/minecraft/scoreboard/ScoreboardObjective;getCriterion()Lnet/minecraft/scoreboard/ScoreboardCriterion;
    • getDisplayName

      public Text getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      official d Lemp;d()Lvf;
      intermediary method_1114 Lnet/minecraft/class_266;method_1114()Lnet/minecraft/class_2561;
      named getDisplayName Lnet/minecraft/scoreboard/ScoreboardObjective;getDisplayName()Lnet/minecraft/text/Text;
    • shouldDisplayAutoUpdate

      public boolean shouldDisplayAutoUpdate()
      Mappings:
      Namespace Name Mixin selector
      official e Lemp;e()Z
      intermediary method_55383 Lnet/minecraft/class_266;method_55383()Z
      named shouldDisplayAutoUpdate Lnet/minecraft/scoreboard/ScoreboardObjective;shouldDisplayAutoUpdate()Z
    • getNumberFormat

      @Nullable public @Nullable NumberFormat getNumberFormat()
      Mappings:
      Namespace Name Mixin selector
      official f Lemp;f()Lwv;
      intermediary method_55384 Lnet/minecraft/class_266;method_55384()Lnet/minecraft/class_9022;
      named getNumberFormat Lnet/minecraft/scoreboard/ScoreboardObjective;getNumberFormat()Lnet/minecraft/scoreboard/number/NumberFormat;
    • getNumberFormatOr

      public NumberFormat getNumberFormatOr(NumberFormat format)
      Mappings:
      Namespace Name Mixin selector
      official a Lemp;a(Lwv;)Lwv;
      intermediary method_55380 Lnet/minecraft/class_266;method_55380(Lnet/minecraft/class_9022;)Lnet/minecraft/class_9022;
      named getNumberFormatOr Lnet/minecraft/scoreboard/ScoreboardObjective;getNumberFormatOr(Lnet/minecraft/scoreboard/number/NumberFormat;)Lnet/minecraft/scoreboard/number/NumberFormat;
    • generateBracketedDisplayName

      private Text generateBracketedDisplayName()
      Mappings:
      Namespace Name Mixin selector
      official i Lemp;i()Lvf;
      intermediary method_27441 Lnet/minecraft/class_266;method_27441()Lnet/minecraft/class_2561;
      named generateBracketedDisplayName Lnet/minecraft/scoreboard/ScoreboardObjective;generateBracketedDisplayName()Lnet/minecraft/text/Text;
    • toHoverableText

      public Text toHoverableText()
      Mappings:
      Namespace Name Mixin selector
      official g Lemp;g()Lvf;
      intermediary method_1120 Lnet/minecraft/class_266;method_1120()Lnet/minecraft/class_2561;
      named toHoverableText Lnet/minecraft/scoreboard/ScoreboardObjective;toHoverableText()Lnet/minecraft/text/Text;
    • setDisplayName

      public void setDisplayName(Text name)
      Mappings:
      Namespace Name Mixin selector
      official a Lemp;a(Lvf;)V
      intermediary method_1121 Lnet/minecraft/class_266;method_1121(Lnet/minecraft/class_2561;)V
      named setDisplayName Lnet/minecraft/scoreboard/ScoreboardObjective;setDisplayName(Lnet/minecraft/text/Text;)V
    • getRenderType

      public ScoreboardCriterion.RenderType getRenderType()
      Mappings:
      Namespace Name Mixin selector
      official h Lemp;h()Lena$a;
      intermediary method_1118 Lnet/minecraft/class_266;method_1118()Lnet/minecraft/class_274$class_275;
      named getRenderType Lnet/minecraft/scoreboard/ScoreboardObjective;getRenderType()Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
    • setRenderType

      public void setRenderType(ScoreboardCriterion.RenderType renderType)
      Mappings:
      Namespace Name Mixin selector
      official a Lemp;a(Lena$a;)V
      intermediary method_1115 Lnet/minecraft/class_266;method_1115(Lnet/minecraft/class_274$class_275;)V
      named setRenderType Lnet/minecraft/scoreboard/ScoreboardObjective;setRenderType(Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;)V
    • setDisplayAutoUpdate

      public void setDisplayAutoUpdate(boolean displayAutoUpdate)
      Mappings:
      Namespace Name Mixin selector
      official a Lemp;a(Z)V
      intermediary method_55381 Lnet/minecraft/class_266;method_55381(Z)V
      named setDisplayAutoUpdate Lnet/minecraft/scoreboard/ScoreboardObjective;setDisplayAutoUpdate(Z)V
    • setNumberFormat

      public void setNumberFormat(@Nullable @Nullable NumberFormat numberFormat)
      Mappings:
      Namespace Name Mixin selector
      official b Lemp;b(Lwv;)V
      intermediary method_55382 Lnet/minecraft/class_266;method_55382(Lnet/minecraft/class_9022;)V
      named setNumberFormat Lnet/minecraft/scoreboard/ScoreboardObjective;setNumberFormat(Lnet/minecraft/scoreboard/number/NumberFormat;)V