Class ScoreboardPlayerScore

java.lang.Object
net.minecraft.scoreboard.ScoreboardPlayerScore

public class ScoreboardPlayerScore extends Object
Mappings:
Namespace Name
official dxn
intermediary net/minecraft/class_267
named net/minecraft/scoreboard/ScoreboardPlayerScore
  • Field Details

    • COMPARATOR

      public static final Comparator<ScoreboardPlayerScore> COMPARATOR
      Mappings:
      Namespace Name Mixin selector
      official a Ldxn;a:Ljava/util/Comparator;
      intermediary field_1413 Lnet/minecraft/class_267;field_1413:Ljava/util/Comparator;
      named COMPARATOR Lnet/minecraft/scoreboard/ScoreboardPlayerScore;COMPARATOR:Ljava/util/Comparator;
    • scoreboard

      private final Scoreboard scoreboard
      Mappings:
      Namespace Name Mixin selector
      official b Ldxn;b:Ldxo;
      intermediary field_1407 Lnet/minecraft/class_267;field_1407:Lnet/minecraft/class_269;
      named scoreboard Lnet/minecraft/scoreboard/ScoreboardPlayerScore;scoreboard:Lnet/minecraft/scoreboard/Scoreboard;
    • objective

      @Nullable private final @Nullable ScoreboardObjective objective
      Mappings:
      Namespace Name Mixin selector
      official c Ldxn;c:Ldxl;
      intermediary field_1412 Lnet/minecraft/class_267;field_1412:Lnet/minecraft/class_266;
      named objective Lnet/minecraft/scoreboard/ScoreboardPlayerScore;objective:Lnet/minecraft/scoreboard/ScoreboardObjective;
    • playerName

      private final String playerName
      Mappings:
      Namespace Name Mixin selector
      official d Ldxn;d:Ljava/lang/String;
      intermediary field_1409 Lnet/minecraft/class_267;field_1409:Ljava/lang/String;
      named playerName Lnet/minecraft/scoreboard/ScoreboardPlayerScore;playerName:Ljava/lang/String;
    • score

      private int score
      Mappings:
      Namespace Name Mixin selector
      official e Ldxn;e:I
      intermediary field_1410 Lnet/minecraft/class_267;field_1410:I
      named score Lnet/minecraft/scoreboard/ScoreboardPlayerScore;score:I
    • locked

      private boolean locked
      Mappings:
      Namespace Name Mixin selector
      official f Ldxn;f:Z
      intermediary field_1411 Lnet/minecraft/class_267;field_1411:Z
      named locked Lnet/minecraft/scoreboard/ScoreboardPlayerScore;locked:Z
    • forceUpdate

      private boolean forceUpdate
      Mappings:
      Namespace Name Mixin selector
      official g Ldxn;g:Z
      intermediary field_1408 Lnet/minecraft/class_267;field_1408:Z
      named forceUpdate Lnet/minecraft/scoreboard/ScoreboardPlayerScore;forceUpdate:Z
  • Constructor Details

    • ScoreboardPlayerScore

      public ScoreboardPlayerScore(Scoreboard scoreboard, ScoreboardObjective objective, String playerName)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldxn;<init>(Ldxo;Ldxl;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_267;<init>(Lnet/minecraft/class_269;Lnet/minecraft/class_266;Ljava/lang/String;)V
      named <init> Lnet/minecraft/scoreboard/ScoreboardPlayerScore;<init>(Lnet/minecraft/scoreboard/Scoreboard;Lnet/minecraft/scoreboard/ScoreboardObjective;Ljava/lang/String;)V
  • Method Details

    • incrementScore

      public void incrementScore(int amount)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxn;a(I)V
      intermediary method_1124 Lnet/minecraft/class_267;method_1124(I)V
      named incrementScore Lnet/minecraft/scoreboard/ScoreboardPlayerScore;incrementScore(I)V
    • incrementScore

      public void incrementScore()
      Mappings:
      Namespace Name Mixin selector
      official a Ldxn;a()V
      intermediary method_1130 Lnet/minecraft/class_267;method_1130()V
      named incrementScore Lnet/minecraft/scoreboard/ScoreboardPlayerScore;incrementScore()V
    • getScore

      public int getScore()
      Mappings:
      Namespace Name Mixin selector
      official b Ldxn;b()I
      intermediary method_1126 Lnet/minecraft/class_267;method_1126()I
      named getScore Lnet/minecraft/scoreboard/ScoreboardPlayerScore;getScore()I
    • clearScore

      public void clearScore()
      Mappings:
      Namespace Name Mixin selector
      official c Ldxn;c()V
      intermediary method_1132 Lnet/minecraft/class_267;method_1132()V
      named clearScore Lnet/minecraft/scoreboard/ScoreboardPlayerScore;clearScore()V
    • setScore

      public void setScore(int score)
      Mappings:
      Namespace Name Mixin selector
      official b Ldxn;b(I)V
      intermediary method_1128 Lnet/minecraft/class_267;method_1128(I)V
      named setScore Lnet/minecraft/scoreboard/ScoreboardPlayerScore;setScore(I)V
    • getObjective

      @Nullable public @Nullable ScoreboardObjective getObjective()
      Mappings:
      Namespace Name Mixin selector
      official d Ldxn;d()Ldxl;
      intermediary method_1127 Lnet/minecraft/class_267;method_1127()Lnet/minecraft/class_266;
      named getObjective Lnet/minecraft/scoreboard/ScoreboardPlayerScore;getObjective()Lnet/minecraft/scoreboard/ScoreboardObjective;
    • getPlayerName

      public String getPlayerName()
      Mappings:
      Namespace Name Mixin selector
      official e Ldxn;e()Ljava/lang/String;
      intermediary method_1129 Lnet/minecraft/class_267;method_1129()Ljava/lang/String;
      named getPlayerName Lnet/minecraft/scoreboard/ScoreboardPlayerScore;getPlayerName()Ljava/lang/String;
    • getScoreboard

      public Scoreboard getScoreboard()
      Mappings:
      Namespace Name Mixin selector
      official f Ldxn;f()Ldxo;
      intermediary method_1122 Lnet/minecraft/class_267;method_1122()Lnet/minecraft/class_269;
      named getScoreboard Lnet/minecraft/scoreboard/ScoreboardPlayerScore;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
    • isLocked

      public boolean isLocked()
      Mappings:
      Namespace Name Mixin selector
      official g Ldxn;g()Z
      intermediary method_1131 Lnet/minecraft/class_267;method_1131()Z
      named isLocked Lnet/minecraft/scoreboard/ScoreboardPlayerScore;isLocked()Z
    • setLocked

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