Type in @minecraft/server
Who a score is for: an entity or player, an identity, or a fake player’s name.
import type { ScoreboardParticipant } from '@minecraft/server';Definition
Section titled “Definition”export type ScoreboardParticipant = Entity | ScoreboardIdentity | string;Used by
Section titled “Used by”ScoreboardObjective.addScore, ScoreboardObjective.getScore, ScoreboardObjective.hasParticipant, ScoreboardObjective.removeParticipant, ScoreboardObjective.setScore