Class ScoreboardScore

java.lang.Object
net.minecraft.scoreboard.ScoreboardScore
All Implemented Interfaces:
ReadableScoreboardScore

public class ScoreboardScore extends Object implements ReadableScoreboardScore
Mappings:
Namespace Name
official emu
intermediary net/minecraft/class_267
named net/minecraft/scoreboard/ScoreboardScore
  • Field Details

    • SCORE_NBT_KEY

      private static final String SCORE_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lemu;a:Ljava/lang/String;
      intermediary field_47530 Lnet/minecraft/class_267;field_47530:Ljava/lang/String;
      named SCORE_NBT_KEY Lnet/minecraft/scoreboard/ScoreboardScore;SCORE_NBT_KEY:Ljava/lang/String;
    • LOCKED_NBT_KEY

      private static final String LOCKED_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lemu;b:Ljava/lang/String;
      intermediary field_47531 Lnet/minecraft/class_267;field_47531:Ljava/lang/String;
      named LOCKED_NBT_KEY Lnet/minecraft/scoreboard/ScoreboardScore;LOCKED_NBT_KEY:Ljava/lang/String;
    • DISPLAY_NBT_KEY

      private static final String DISPLAY_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lemu;c:Ljava/lang/String;
      intermediary field_47532 Lnet/minecraft/class_267;field_47532:Ljava/lang/String;
      named DISPLAY_NBT_KEY Lnet/minecraft/scoreboard/ScoreboardScore;DISPLAY_NBT_KEY:Ljava/lang/String;
    • FORMAT_NBT_KEY

      private static final String FORMAT_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lemu;d:Ljava/lang/String;
      intermediary field_47533 Lnet/minecraft/class_267;field_47533:Ljava/lang/String;
      named FORMAT_NBT_KEY Lnet/minecraft/scoreboard/ScoreboardScore;FORMAT_NBT_KEY:Ljava/lang/String;
    • score

      private int score
      Mappings:
      Namespace Name Mixin selector
      official e Lemu;e:I
      intermediary field_47534 Lnet/minecraft/class_267;field_47534:I
      named score Lnet/minecraft/scoreboard/ScoreboardScore;score:I
    • locked

      private boolean locked
      Mappings:
      Namespace Name Mixin selector
      official f Lemu;f:Z
      intermediary field_1411 Lnet/minecraft/class_267;field_1411:Z
      named locked Lnet/minecraft/scoreboard/ScoreboardScore;locked:Z
    • displayText

      @Nullable private @Nullable Text displayText
      Mappings:
      Namespace Name Mixin selector
      official g Lemu;g:Lvf;
      intermediary field_47535 Lnet/minecraft/class_267;field_47535:Lnet/minecraft/class_2561;
      named displayText Lnet/minecraft/scoreboard/ScoreboardScore;displayText:Lnet/minecraft/text/Text;
    • numberFormat

      @Nullable private @Nullable NumberFormat numberFormat
      Mappings:
      Namespace Name Mixin selector
      official h Lemu;h:Lwv;
      intermediary field_47536 Lnet/minecraft/class_267;field_47536:Lnet/minecraft/class_9022;
      named numberFormat Lnet/minecraft/scoreboard/ScoreboardScore;numberFormat:Lnet/minecraft/scoreboard/number/NumberFormat;
  • Constructor Details

    • ScoreboardScore

      public ScoreboardScore()
  • Method Details

    • getScore

      public int getScore()
      Specified by:
      getScore in interface ReadableScoreboardScore
      Mappings:
      Namespace Name Mixin selector
      official a Lemt;a()I
      intermediary method_55397 Lnet/minecraft/class_9013;method_55397()I
      named getScore Lnet/minecraft/scoreboard/ReadableScoreboardScore;getScore()I
    • setScore

      public void setScore(int score)
      Mappings:
      Namespace Name Mixin selector
      official a Lemu;a(I)V
      intermediary method_55401 Lnet/minecraft/class_267;method_55401(I)V
      named setScore Lnet/minecraft/scoreboard/ScoreboardScore;setScore(I)V
    • isLocked

      public boolean isLocked()
      Specified by:
      isLocked in interface ReadableScoreboardScore
      Mappings:
      Namespace Name Mixin selector
      official b Lemt;b()Z
      intermediary method_1131 Lnet/minecraft/class_9013;method_1131()Z
      named isLocked Lnet/minecraft/scoreboard/ReadableScoreboardScore;isLocked()Z
    • setLocked

      public void setLocked(boolean locked)
      Mappings:
      Namespace Name Mixin selector
      official a Lemu;a(Z)V
      intermediary method_1125 Lnet/minecraft/class_267;method_1125(Z)V
      named setLocked Lnet/minecraft/scoreboard/ScoreboardScore;setLocked(Z)V
    • getDisplayText

      @Nullable public @Nullable Text getDisplayText()
      Mappings:
      Namespace Name Mixin selector
      official d Lemu;d()Lvf;
      intermediary method_55407 Lnet/minecraft/class_267;method_55407()Lnet/minecraft/class_2561;
      named getDisplayText Lnet/minecraft/scoreboard/ScoreboardScore;getDisplayText()Lnet/minecraft/text/Text;
    • setDisplayText

      public void setDisplayText(@Nullable @Nullable Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Lemu;a(Lvf;)V
      intermediary method_55405 Lnet/minecraft/class_267;method_55405(Lnet/minecraft/class_2561;)V
      named setDisplayText Lnet/minecraft/scoreboard/ScoreboardScore;setDisplayText(Lnet/minecraft/text/Text;)V
    • getNumberFormat

      @Nullable public @Nullable NumberFormat getNumberFormat()
      Specified by:
      getNumberFormat in interface ReadableScoreboardScore
      Mappings:
      Namespace Name Mixin selector
      official c Lemt;c()Lwv;
      intermediary method_55400 Lnet/minecraft/class_9013;method_55400()Lnet/minecraft/class_9022;
      named getNumberFormat Lnet/minecraft/scoreboard/ReadableScoreboardScore;getNumberFormat()Lnet/minecraft/scoreboard/number/NumberFormat;
    • setNumberFormat

      public void setNumberFormat(@Nullable @Nullable NumberFormat numberFormat)
      Mappings:
      Namespace Name Mixin selector
      official b Lemu;b(Lwv;)V
      intermediary method_55406 Lnet/minecraft/class_267;method_55406(Lnet/minecraft/class_9022;)V
      named setNumberFormat Lnet/minecraft/scoreboard/ScoreboardScore;setNumberFormat(Lnet/minecraft/scoreboard/number/NumberFormat;)V
    • toNbt

      public NbtCompound toNbt()
      Mappings:
      Namespace Name Mixin selector
      official e Lemu;e()Lsn;
      intermediary method_55408 Lnet/minecraft/class_267;method_55408()Lnet/minecraft/class_2487;
      named toNbt Lnet/minecraft/scoreboard/ScoreboardScore;toNbt()Lnet/minecraft/nbt/NbtCompound;
    • fromNbt

      public static ScoreboardScore fromNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lemu;a(Lsn;)Lemu;
      intermediary method_55403 Lnet/minecraft/class_267;method_55403(Lnet/minecraft/class_2487;)Lnet/minecraft/class_267;
      named fromNbt Lnet/minecraft/scoreboard/ScoreboardScore;fromNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/scoreboard/ScoreboardScore;