Package net.glowstone.scoreboard
Class GlowScore
java.lang.Object
net.glowstone.scoreboard.GlowScore
- All Implemented Interfaces:
org.bukkit.scoreboard.Score
Implementation/data holder for Scores.
-
Constructor Details
-
GlowScore
-
-
Method Details
-
getScoreboard
public org.bukkit.scoreboard.Scoreboard getScoreboard()- Specified by:
getScoreboard
in interfaceorg.bukkit.scoreboard.Score
-
getPlayer
Deprecated.- Specified by:
getPlayer
in interfaceorg.bukkit.scoreboard.Score
-
getScore
- Specified by:
getScore
in interfaceorg.bukkit.scoreboard.Score
- Throws:
IllegalStateException
-
setScore
Sets this score's value.- Specified by:
setScore
in interfaceorg.bukkit.scoreboard.Score
- Parameters:
score
- the new value- Throws:
IllegalStateException
- if the objective is not registered on a scoreboard
-
isScoreSet
- Specified by:
isScoreSet
in interfaceorg.bukkit.scoreboard.Score
- Throws:
IllegalStateException
-
getLocked
public boolean getLocked() -
getObjective
- Specified by:
getObjective
in interfaceorg.bukkit.scoreboard.Score
-
getEntry
- Specified by:
getEntry
in interfaceorg.bukkit.scoreboard.Score
-
setLocked
public void setLocked(boolean locked)
-