SurfScoreboardBuilder
The SurfScoreboardBuilder interface provides methods to build a SurfScoreboard, a SurfAutoUpdatableScoreboard, or a SurfAutoUpdatablePlayerScoreboard.
Functions
Adds an animated line to the scoreboard. The animated line will display a series of frames, where each frame is a component. The frames will be displayed consecutively in an animated manner.
Adds an animated line to the SurfScoreboardBuilder.
Adds an empty line to the SurfScoreboardBuilder.
Adds a gradient line to the SurfScoreboardBuilder. The gradient color starts with the specified start color and gradually transitions to the specified end color.
Adds a line to the SurfScoreboardBuilder.
Adds a line separator to the SurfScoreboardBuilder. This method adds a gradient line separator composed of '-' characters to the SurfScoreboardBuilder. The default colors for the gradient are Colors.WHITE and Colors.SPACER.
Adds an updatable line to the scoreboard. An updatable line is a line that can be dynamically updated by supplying a Supplier that returns the updated content.
Builds a SurfScoreboard.
Builds an auto-updatable scoreboard.
Builds an auto-updatable player scoreboard.
Sets the maximum number of lines for the scoreboard.