Limits the number of entities to return, opting for the
closest N entities as specified by this property. The
location value must also be specified on the query options
object.
OptionalexcludeFamilies
excludeFamilies?:string[]
Remarks
Excludes entities that match one or more of the specified
families.
Excludes entities if have a specific gamemode that matches
the specified gamemode.
OptionalexcludeNames
excludeNames?:string[]
Remarks
Excludes entities that have a name that match one of the
specified values.
OptionalexcludeTags
excludeTags?:string[]
Remarks
Excludes entities with a tag that matches one of the
specified values.
OptionalexcludeTypes
excludeTypes?:string[]
Remarks
Excludes entities if they are one of the specified types.
Optionalfamilies
families?:string[]
Remarks
If specified, includes entities that match all of the
specified families.
Optionalfarthest
farthest?:number
Remarks
Limits the number of entities to return, opting for the
farthest N entities as specified by this property. The
location value must also be specified on the query options
object.
Contains options for selecting entities within an area.
Example: testBlockConditional.ts
Example: testPlaySoundChained.ts
Example: testPropertyOptionsWithEqualsComparison.ts
Example: testPropertyOptionsWithGreaterThanComparison.ts
Example: testPropertyOptionsWithGreaterThanOrEqualsComparison.ts
Example: testPropertyOptionsWithHavingAProperty.ts
Example: testPropertyOptionsWithLessThanComparison.ts
Example: testPropertyOptionsWithLessThanOrEqualsComparison.ts
Example: testPropertyOptionsWithNotEqualsComparison.ts
Example: testPropertyOptionsWithNotHavingAProperty.ts
Example: testPropertyOptionsWithRangeComparison.ts
Example: testSendMessageAllPlayers.ts
Example: testSetScoreBoardChained.ts
Example: testSummonMobChained.ts