Class ScoreboardIdentityBeta

Contains an identity of the scoreboard item.

Hierarchy

  • ScoreboardIdentity

Constructors

Properties

Methods

Constructors

Properties

displayName: string

Remarks

Returns the player-visible name of this identity.

id: number

Remarks

Identifier of the scoreboard identity.

Remarks

Type of the scoreboard identity.

Methods

  • Returns Entity

    Remarks

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

    Throws

    This function can throw errors.

  • Returns boolean