Package cn.nukkit.scoreboard.scoreboard
Class ScoreboardLine
java.lang.Object
cn.nukkit.scoreboard.scoreboard.ScoreboardLine
- All Implemented Interfaces:
IScoreboardLine
@PowerNukkitXOnly
@Since("1.19.30-r1")
public class ScoreboardLine
extends Object
implements IScoreboardLine
-
Field Summary
Modifier and TypeFieldDescriptionprotected final long
protected int
protected final IScoreboard
protected final IScorer
protected static long
-
Constructor Summary
ConstructorDescriptionScoreboardLine
(IScoreboard scoreboard, IScorer scorer) ScoreboardLine
(IScoreboard scoreboard, IScorer scorer, int score) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.scoreboard.scoreboard.IScoreboardLine
addScore, removeScore, toNetworkInfo, updateScore
-
Field Details
-
staticLineId
protected static long staticLineId -
scoreboard
-
scorer
-
lineId
protected final long lineId -
score
protected int score
-
-
Constructor Details
-
ScoreboardLine
-
ScoreboardLine
-
-
Method Details
-
setScore
public void setScore(int score) - Specified by:
setScore
in interfaceIScoreboardLine
-
getScoreboard
- Specified by:
getScoreboard
in interfaceIScoreboardLine
-
getScorer
- Specified by:
getScorer
in interfaceIScoreboardLine
-
getLineId
public long getLineId()- Specified by:
getLineId
in interfaceIScoreboardLine
-
getScore
public int getScore()- Specified by:
getScore
in interfaceIScoreboardLine
-