Class ScoreboardObjective

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

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

    • scoreboard

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

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

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

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

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

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

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

      @Nullable private @Nullable NumberFormat numberFormat
      Mappings:
      Namespace Name Mixin selector
      named numberFormat Lnet/minecraft/scoreboard/ScoreboardObjective;numberFormat:Lnet/minecraft/scoreboard/number/NumberFormat;
      intermediary field_47528 Lnet/minecraft/class_266;field_47528:Lnet/minecraft/class_9022;
      official h Lfcu;h:Lzl;
  • 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
      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
      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
      official <init> Lfcu;<init>(Lfdc;Ljava/lang/String;Lfdf;Lxv;Lfdf$a;ZLzl;)V
  • Method Details

    • getScoreboard

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

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

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

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

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

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

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

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

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

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

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

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

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

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