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
Objectives of the Scoreboard. |
Scoreboard.Builder |
teams(List<Team> teams)
Sets the list of
Teams of the Scoreboard. |
from, resetScoreboard.Builder objectives(List<Objective> objectives)
objectives - The list of Objectives to setScoreboard.Builder teams(List<Team> teams)
teams - The list of Teams to setScoreboard build() throws IllegalStateException
Scoreboard.ScoreboardIllegalStateException - if the Scoreboard is not complete