Scoreboard
            endstone.scoreboard
¶
    
            Criteria
¶
    Represents a scoreboard criteria.
            Objective
¶
    Represents an objective on a scoreboard that can show scores specific to entries.
            display_name
  
      property
      writable
  
¶
display_name: str | None
Gets or sets the name displayed to players for this objective
            display_slot
  
      property
  
¶
display_slot: DisplaySlot | None
Gets the display slot this objective is displayed at
            is_modifiable
  
      property
  
¶
is_modifiable: bool
Gets if the objective's scores can be modified directly by a plugin
            render_type
  
      property
      writable
  
¶
    Gets and sets the manner in which this objective will be rendered.
            scoreboard
  
      property
  
¶
scoreboard: Scoreboard
Gets the scoreboard to which this objective is attached
            sort_order
  
      property
  
¶
sort_order: ObjectiveSortOrder | None
Gets and sets the sort order for this objective
            get_score
¶
    Gets an entry's Score for this objective
            set_display
¶
set_display(
    slot: DisplaySlot | None,
    order: ObjectiveSortOrder | None = None,
) -> None
Sets the display slot and sort order for this objective. This will remove it from any other display slot.
            ObjectiveSortOrder
¶
ObjectiveSortOrder(value: int)
Represents the sort order of objectives on a DisplaySlot.
            Score
¶
    Represents a score for an objective on a scoreboard.
            Scoreboard
¶
    Represents a scoreboard
            add_objective
¶
add_objective(
    name: str,
    criteria: Type,
    display_name: str | None = None,
    render_type: RenderType = RenderType.INTEGER,
) -> Objective
Registers an Objective on this Scoreboard with a name displayed to players
            get_objective
¶
            Gets an Objective on this Scoreboard by name
get_objective(slot: DisplaySlot) -> Objective
Gets the Objective currently displayed in a DisplaySlot on this Scoreboard
            get_objectives_by_criteria
¶
    Gets all Objectives of a Criteria on the Scoreboard
            get_scores
¶
    Gets all scores for an entry on this Scoreboard