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:
getScoreboardin interfaceorg.bukkit.scoreboard.Score
-
getPlayer
Deprecated.- Specified by:
getPlayerin interfaceorg.bukkit.scoreboard.Score
-
getScore
- Specified by:
getScorein interfaceorg.bukkit.scoreboard.Score- Throws:
IllegalStateException
-
setScore
Sets this score's value.- Specified by:
setScorein interfaceorg.bukkit.scoreboard.Score- Parameters:
score- the new value- Throws:
IllegalStateException- if the objective is not registered on a scoreboard
-
isScoreSet
- Specified by:
isScoreSetin interfaceorg.bukkit.scoreboard.Score- Throws:
IllegalStateException
-
getLocked
public boolean getLocked() -
getObjective
- Specified by:
getObjectivein interfaceorg.bukkit.scoreboard.Score
-
getEntry
- Specified by:
getEntryin interfaceorg.bukkit.scoreboard.Score
-
setLocked
public void setLocked(boolean locked)
-