Package org.spongepowered.api.scoreboard
Interface Score
public interface Score
A score entry for one or more 
Objectives.- 
Method Summary
- 
Method Details- 
nameComponent name()Gets the name of this score.- Returns:
- The name of this score
 
- 
scoreint score()Gets the current score value.- Returns:
- The current score value
 
- 
setScorevoid setScore(int score) Sets the current score value.- Parameters:
- score- The new score value
 
- 
isLockedboolean isLocked()Checks for whether the score is locked.- Returns:
- True if the score is locked, false otherwise
 
- 
setLockedvoid setLocked(boolean locked) Sets this score as locked.- Parameters:
- locked- True to lock this score
 
- 
objectives
 
-