Package net.minecraft.scoreboard
Class ScoreboardPlayerScore
java.lang.Object
net.minecraft.scoreboard.ScoreboardPlayerScore
- Mappings:
Namespace Name intermediary net/minecraft/class_267official eexnamed net/minecraft/scoreboard/ScoreboardPlayerScore
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Comparator<ScoreboardPlayerScore>private booleanprivate booleanprivate final @Nullable ScoreboardObjectiveprivate final Stringprivate intprivate final Scoreboard -
Constructor Summary
ConstructorsConstructorDescriptionScoreboardPlayerScore(Scoreboard scoreboard, ScoreboardObjective objective, String playerName) -
Method Summary
Modifier and TypeMethodDescriptionvoidintgetScore()voidvoidincrementScore(int amount) booleanisLocked()voidsetLocked(boolean locked) voidsetScore(int score)
-
Field Details
-
COMPARATOR
- Mappings:
Namespace Name Mixin selector intermediary field_1413Lnet/minecraft/class_267;field_1413:Ljava/util/Comparator;official aLeex;a:Ljava/util/Comparator;named COMPARATORLnet/minecraft/scoreboard/ScoreboardPlayerScore;COMPARATOR:Ljava/util/Comparator;
-
scoreboard
- Mappings:
Namespace Name Mixin selector intermediary field_1407Lnet/minecraft/class_267;field_1407:Lnet/minecraft/class_269;official bLeex;b:Leey;named scoreboardLnet/minecraft/scoreboard/ScoreboardPlayerScore;scoreboard:Lnet/minecraft/scoreboard/Scoreboard;
-
objective
- Mappings:
Namespace Name Mixin selector intermediary field_1412Lnet/minecraft/class_267;field_1412:Lnet/minecraft/class_266;official cLeex;c:Leev;named objectiveLnet/minecraft/scoreboard/ScoreboardPlayerScore;objective:Lnet/minecraft/scoreboard/ScoreboardObjective;
-
playerName
- Mappings:
Namespace Name Mixin selector intermediary field_1409Lnet/minecraft/class_267;field_1409:Ljava/lang/String;official dLeex;d:Ljava/lang/String;named playerNameLnet/minecraft/scoreboard/ScoreboardPlayerScore;playerName:Ljava/lang/String;
-
score
private int score- Mappings:
Namespace Name Mixin selector intermediary field_1410Lnet/minecraft/class_267;field_1410:Iofficial eLeex;e:Inamed scoreLnet/minecraft/scoreboard/ScoreboardPlayerScore;score:I
-
locked
private boolean locked- Mappings:
Namespace Name Mixin selector intermediary field_1411Lnet/minecraft/class_267;field_1411:Zofficial fLeex;f:Znamed lockedLnet/minecraft/scoreboard/ScoreboardPlayerScore;locked:Z
-
forceUpdate
private boolean forceUpdate- Mappings:
Namespace Name Mixin selector intermediary field_1408Lnet/minecraft/class_267;field_1408:Zofficial gLeex;g:Znamed forceUpdateLnet/minecraft/scoreboard/ScoreboardPlayerScore;forceUpdate:Z
-
-
Constructor Details
-
ScoreboardPlayerScore
public ScoreboardPlayerScore(Scoreboard scoreboard, ScoreboardObjective objective, String playerName) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_267;<init>(Lnet/minecraft/class_269;Lnet/minecraft/class_266;Ljava/lang/String;)Vofficial <init>Leex;<init>(Leey;Leev;Ljava/lang/String;)Vnamed <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 intermediary method_1124Lnet/minecraft/class_267;method_1124(I)Vofficial aLeex;a(I)Vnamed incrementScoreLnet/minecraft/scoreboard/ScoreboardPlayerScore;incrementScore(I)V
-
incrementScore
public void incrementScore()- Mappings:
Namespace Name Mixin selector intermediary method_1130Lnet/minecraft/class_267;method_1130()Vofficial aLeex;a()Vnamed incrementScoreLnet/minecraft/scoreboard/ScoreboardPlayerScore;incrementScore()V
-
getScore
public int getScore()- Mappings:
Namespace Name Mixin selector intermediary method_1126Lnet/minecraft/class_267;method_1126()Iofficial bLeex;b()Inamed getScoreLnet/minecraft/scoreboard/ScoreboardPlayerScore;getScore()I
-
clearScore
public void clearScore()- Mappings:
Namespace Name Mixin selector intermediary method_1132Lnet/minecraft/class_267;method_1132()Vofficial cLeex;c()Vnamed clearScoreLnet/minecraft/scoreboard/ScoreboardPlayerScore;clearScore()V
-
setScore
public void setScore(int score) - Mappings:
Namespace Name Mixin selector intermediary method_1128Lnet/minecraft/class_267;method_1128(I)Vofficial bLeex;b(I)Vnamed setScoreLnet/minecraft/scoreboard/ScoreboardPlayerScore;setScore(I)V
-
getObjective
- Mappings:
Namespace Name Mixin selector intermediary method_1127Lnet/minecraft/class_267;method_1127()Lnet/minecraft/class_266;official dLeex;d()Leev;named getObjectiveLnet/minecraft/scoreboard/ScoreboardPlayerScore;getObjective()Lnet/minecraft/scoreboard/ScoreboardObjective;
-
getPlayerName
- Mappings:
Namespace Name Mixin selector intermediary method_1129Lnet/minecraft/class_267;method_1129()Ljava/lang/String;official eLeex;e()Ljava/lang/String;named getPlayerNameLnet/minecraft/scoreboard/ScoreboardPlayerScore;getPlayerName()Ljava/lang/String;
-
getScoreboard
- Mappings:
Namespace Name Mixin selector intermediary method_1122Lnet/minecraft/class_267;method_1122()Lnet/minecraft/class_269;official fLeex;f()Leey;named getScoreboardLnet/minecraft/scoreboard/ScoreboardPlayerScore;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
-
isLocked
public boolean isLocked()- Mappings:
Namespace Name Mixin selector intermediary method_1131Lnet/minecraft/class_267;method_1131()Zofficial gLeex;g()Znamed isLockedLnet/minecraft/scoreboard/ScoreboardPlayerScore;isLocked()Z
-
setLocked
public void setLocked(boolean locked) - Mappings:
Namespace Name Mixin selector intermediary method_1125Lnet/minecraft/class_267;method_1125(Z)Vofficial aLeex;a(Z)Vnamed setLockedLnet/minecraft/scoreboard/ScoreboardPlayerScore;setLocked(Z)V
-