Package net.minecraft.scoreboard
Class ScoreboardPlayerScore
java.lang.Object
net.minecraft.scoreboard.ScoreboardPlayerScore
- Mappings:
Namespace Name official eff
intermediary net/minecraft/class_267
named net/minecraft/scoreboard/ScoreboardPlayerScore
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Comparator<ScoreboardPlayerScore>
private boolean
private boolean
private final @Nullable ScoreboardObjective
private final String
private int
private final Scoreboard
-
Constructor Summary
ConstructorDescriptionScoreboardPlayerScore
(Scoreboard scoreboard, ScoreboardObjective objective, String playerName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
getScore()
void
void
incrementScore
(int amount) boolean
isLocked()
void
setLocked
(boolean locked) void
setScore
(int score)
-
Field Details
-
COMPARATOR
- Mappings:
Namespace Name Mixin selector official a
Leff;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
- Mappings:
Namespace Name Mixin selector official b
Leff;b:Lefg;
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
- Mappings:
Namespace Name Mixin selector official c
Leff;c:Lefd;
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
- Mappings:
Namespace Name Mixin selector official d
Leff;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
Leff;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
Leff;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
Leff;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>
Leff;<init>(Lefg;Lefd;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
Leff;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
Leff;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
Leff;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
Leff;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
Leff;b(I)V
intermediary method_1128
Lnet/minecraft/class_267;method_1128(I)V
named setScore
Lnet/minecraft/scoreboard/ScoreboardPlayerScore;setScore(I)V
-
getObjective
- Mappings:
Namespace Name Mixin selector official d
Leff;d()Lefd;
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
- Mappings:
Namespace Name Mixin selector official e
Leff;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
- Mappings:
Namespace Name Mixin selector official f
Leff;f()Lefg;
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
Leff;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
Leff;a(Z)V
intermediary method_1125
Lnet/minecraft/class_267;method_1125(Z)V
named setLocked
Lnet/minecraft/scoreboard/ScoreboardPlayerScore;setLocked(Z)V
-