Contains additional options for filtering players based on their score for an objective.
export interface EntityQueryScoreOptions { exclude?: boolean; maxScore?: number; minScore?: number; objective?: string;} Copy
export interface EntityQueryScoreOptions { exclude?: boolean; maxScore?: number; minScore?: number; objective?: string;}
Optional
If set to true, entities and players within this score range are excluded from query results.
If defined, only players that have a score equal to or under maxScore are included.
If defined, only players that have a score equal to or over minScore are included.
Identifier of the scoreboard objective to filter on.
Contains additional options for filtering players based on their score for an objective.
Source