public static interface Scoreboard.Builder extends ResettableBuilder<Scoreboard,Scoreboard.Builder>
Scoreboard
instances.Modifier and Type | Method and Description |
---|---|
Scoreboard |
build()
Builds an instance of a
Scoreboard . |
Scoreboard.Builder |
objectives(List<Objective> objectives)
Sets the list of
Objective s of the Scoreboard . |
Scoreboard.Builder |
teams(List<Team> teams)
Sets the list of
Team s of the Scoreboard . |
from, reset
Scoreboard.Builder objectives(List<Objective> objectives)
objectives
- The list of Objective
s to setScoreboard.Builder teams(List<Team> teams)
teams
- The list of Team
s to setScoreboard build() throws IllegalStateException
Scoreboard
.Scoreboard
IllegalStateException
- if the Scoreboard
is not complete