@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
31 lines (30 loc) • 799 B
JavaScript
;
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Contains additional options for filtering players based on
* their score for an objective.
*/
class EntityQueryScoreOptions {
/**
* If set to true, entities and players within this score range
* are excluded from query results.
*/
"exclude";
/**
* If defined, only players that have a score under maxScore
* are included.
*/
"maxScore";
/**
* If defined, only players that have a score over minScore are
* included.
*/
"minScore";
/**
* Identifier of the scoreboard objective to filter on.
*/
"objective";
}
exports.default = EntityQueryScoreOptions;