Sideboard
class Sideboard(name: String, displayName: Component, numberFormat: NumberFormat, lines: List<SideboardLine>)(source)
A sideboard which can be displayed to a variable collection of players using the displayToPlayer function. A sideboard is an abstraction of Minecraft's server side scoreboards displayed on the right-hand side of the screen.
Note: You probably want to build this class using the sideboard builder API. See sideboard!
Constructors
Link copied to clipboard
constructor(name: String, displayName: Component, numberFormat: NumberFormat, lines: List<SideboardLine>)
Functions
Link copied to clipboard
Shows this sideboard to the given player. This registers the player for receiving updates on the sideboard, until he leaves the server.
Link copied to clipboard
Hides this sideboard from the given player. This also unregisters the player from receiving any further updates on the sideboard.