Package net.minecraft.scoreboard
Class ScoreboardPlayerScore
java.lang.Object
net.minecraft.scoreboard.ScoreboardPlayerScore
public class ScoreboardPlayerScore extends Object
- Mappings:
Namespace Name official djr
intermediary net/minecraft/class_267
named net/minecraft/scoreboard/ScoreboardPlayerScore
-
Field Summary
Fields Modifier and Type Field Description static Comparator<ScoreboardPlayerScore>
COMPARATOR
private boolean
forceUpdate
private boolean
locked
private ScoreboardObjective
objective
private String
playerName
private int
score
private Scoreboard
scoreboard
-
Constructor Summary
Constructors Constructor Description ScoreboardPlayerScore(Scoreboard scoreboard, ScoreboardObjective objective, String playerName)
-
Method Summary
Modifier and Type Method Description void
clearScore()
ScoreboardObjective
getObjective()
String
getPlayerName()
int
getScore()
Scoreboard
getScoreboard()
void
incrementScore()
void
incrementScore(int amount)
boolean
isLocked()
void
setLocked(boolean locked)
void
setScore(int score)
-
Field Details
-
COMPARATOR
- Mappings:
Namespace Name Mixin selector official a
Ldjr;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
Ldjr;b:Ldjs;
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
Ldjr;c:Ldjp;
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
Ldjr;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
Ldjr;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
Ldjr;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
Ldjr;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>
Ldjr;<init>(Ldjs;Ldjp;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
Ldjr;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
Ldjr;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
Ldjr;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
Ldjr;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
Ldjr;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
Ldjr;d()Ldjp;
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
Ldjr;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
Ldjr;f()Ldjs;
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
Ldjr;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
Ldjr;a(Z)V
intermediary method_1125
Lnet/minecraft/class_267;method_1125(Z)V
named setLocked
Lnet/minecraft/scoreboard/ScoreboardPlayerScore;setLocked(Z)V
-