mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 11:45:52 -07:00
@@ -51,6 +51,15 @@ public interface Score {
|
|||||||
*/
|
*/
|
||||||
void setScore(int score) throws IllegalStateException;
|
void setScore(int score) throws IllegalStateException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Shows if this score has been set at any point in time.
|
||||||
|
*
|
||||||
|
* @return if this score has been set before
|
||||||
|
* @throws IllegalStateException if the associated objective has been
|
||||||
|
* unregistered
|
||||||
|
*/
|
||||||
|
boolean isScoreSet() throws IllegalStateException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the scoreboard for the associated objective.
|
* Gets the scoreboard for the associated objective.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user