public interface ScoreboardBuilder
Scoreboard
instances.Modifier and Type | Method and Description |
---|---|
Scoreboard |
build()
Builds an instance of a
Scoreboard . |
ScoreboardBuilder |
objectives(List<Objective> objectives)
Sets the list of
Objective s of the Scoreboard . |
ScoreboardBuilder |
reset()
Resets all information regarding the
Scoreboard to be created. |
ScoreboardBuilder |
teams(List<Team> teams)
Sets the list of
Team s of the Scoreboard . |
ScoreboardBuilder objectives(List<Objective> objectives)
objectives
- The list of Objective
s to setScoreboardBuilder teams(List<Team> teams)
teams
- The list of Team
s to setScoreboardBuilder reset()
Scoreboard
to be created.Scoreboard build() throws IllegalStateException
Scoreboard
.Scoreboard
IllegalStateException
- if the Scoreboard
is not complete