Script API - v1.19.70
    Preparing search index...

    Contains an identity of the scoreboard item.

    Index

    Constructors

    Properties

    displayName: string

    Returns the player-visible name of this identity.

    id: number

    Identifier of the scoreboard identity.

    Type of the scoreboard identity.

    Methods

    • Beta

      Returns Entity

      If the scoreboard identity is an entity or player, returns the entity that this scoreboard item corresponds to.

      This function can throw errors.

    • Beta

      Parameters

      Returns number

      Score value.

      Gets the current score for this participant based on an objective.

      This function can throw errors.

    • Beta

      Parameters

      Returns boolean

      Removes this participant from an objective.

      This function can throw errors.

    • Beta

      Parameters

      Returns boolean

      Sets a score for this participant for a particular objective.

      This function can throw errors.