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: BlockConditional.ts
Example: EntityPropertyOptions.ts
Example: PlaySoundChained.ts
Example: SendMessageAllPlayers.ts
Example: SetScoreBoardChained.ts
Example: SummonMobChained.ts