The world the scoreboard will be binded to.
Readonly
objectivesThe objectives of the scoreboard.
Readonly
slotsThe current objectives in the display slots.
Protected
Readonly
worldThe world the scoreboard is binded to.
Adds a new objective to the scoreboard.
The name of the objective.
Optional
display: stringThe display name of the objective.
The objective that was added.
Clears the objective at the display slot.
The display slot to clear the objective at.
Optional
options: ScoreboardObjectiveDisplayOptionsThe options to clear the objective with.
The objective that was cleared.
Gets the objective with the specified name.
The name of the objective.
The objective with the specified name, or undefined if no objective was found.
Gets the objective at the display slot.
The display slot to get the objective at.
The objective at the display slot, or undefined if no objective was found.
Removes the objective from the scoreboard.
The objective to remove.
Sets the objective at the display slot.
The display slot to set the objective at.
The options to set the objective with.
The objective that was set.
Creates a new scoreboard.