@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
26 lines (25 loc) • 652 B
TypeScript
/**
* Contains additional options for filtering players based on
* their score for an objective.
*/
export default class EntityQueryScoreOptions {
/**
* If set to true, entities and players within this score range
* are excluded from query results.
*/
"exclude": boolean;
/**
* If defined, only players that have a score under maxScore
* are included.
*/
"maxScore": number;
/**
* If defined, only players that have a score over minScore are
* included.
*/
"minScore": number;
/**
* Identifier of the scoreboard objective to filter on.
*/
"objective": string;
}