public abstract class BaseScoreboard
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
rowStrings
The strings that represent the rows of the scoreboard.
|
private org.bukkit.scoreboard.Scoreboard |
scoreboard
The created scoreboard.
|
Constructor and Description |
---|
BaseScoreboard(org.bukkit.entity.Player player)
Initializes the scoreboard and fills it with data.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
fillScoreboard(org.bukkit.entity.Player player)
Fills the scoreboard with entries for the given player
|
org.bukkit.scoreboard.Scoreboard |
getScoreboard() |
abstract java.lang.String |
getTitleText() |
private org.bukkit.scoreboard.Scoreboard scoreboard
protected java.util.List<java.lang.String> rowStrings
public BaseScoreboard(org.bukkit.entity.Player player)
player
- The player who should receive the scoreboard.public abstract java.lang.String getTitleText()
public abstract void fillScoreboard(org.bukkit.entity.Player player)
player
- The player who should receive the scoreboard.public org.bukkit.scoreboard.Scoreboard getScoreboard()