Score

public interface Score

A score entry for an entry on an objective. Changing this will not affect any other objective or scoreboard.

Functions

Link copied to clipboard
public abstract String getEntry()
Gets the entry being tracked by this Score
Link copied to clipboard
public abstract Objective getObjective()
Gets the Objective being tracked by this Score
Link copied to clipboard
public abstract int getScore()
Gets the current score
Link copied to clipboard
public abstract Scoreboard getScoreboard()
Gets the scoreboard for the associated objective.
Link copied to clipboard
public abstract boolean isScoreSet()
Shows if this score has been set at any point in time.
Link copied to clipboard
public abstract void setScore(int score)
Sets the current score.