Scoreboard
interface Scoreboard
A Scoreboard is a method of keeping track of scores. These are primarily for use in minigames.
Types
Functions
Link copied to clipboard
abstract fun addObjective(name: String, criterion: Criterion, displayName: Component, renderType: ObjectiveRenderType): Objective
Creates a new objective with the given name, criterion, displayName, and renderType, and adds it to this scoreboard.
Link copied to clipboard
Clears any objective in the given slot.
Link copied to clipboard
Creates a new builder for building an objective that will be registered to this scoreboard.
Link copied to clipboard
Creates a new builder for building a team with the given name that will be registered to this scoreboard.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Removes the given objective from this scoreboard's list of registered objectives.
Link copied to clipboard
Removes the given team from this scoreboard's list of registered teams.
Link copied to clipboard