Optional
closestLimits 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.
Optional
excludeExcludes entities that match one or more of the specified families.
Optional
excludeExcludes entities if have a specific gamemode that matches the specified gamemode.
Optional
excludeExcludes entities that have a name that match one of the specified values.
Optional
excludeExcludes entities with a tag that matches one of the specified values.
Optional
excludeExcludes entities if they are one of the specified types.
Optional
familiesIf specified, includes entities that match all of the specified families.
Optional
farthestLimits 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.
Optional
gameIf specified, includes entities with a gamemode that matches the specified gamemode.
Optional
locationAdds a seed location to the query that is used in conjunction with closest, farthest, limit, volume, and distance properties.
Optional
maxIf specified, includes entities that are less than this distance away from the location specified in the location property.
Optional
maxIf specified, will only include entities that have at most this horizontal rotation.
Optional
maxIf defined, only players that have at most this level are returned.
Optional
maxIf specified, only entities that have at most this vertical rotation are returned.
Optional
minIf specified, includes entities that are least this distance away from the location specified in the location property.
Optional
minIf specified, will only include entities that have at a minimum this horizontal rotation.
Optional
minIf defined, only players that have at least this level are returned.
Optional
minIf specified, will only include entities that have at least this vertical rotation.
Optional
nameIncludes entities with the specified name.
Optional
propertyOptional
scoreGets/sets a collection of EntityQueryScoreOptions objects with filters for specific scoreboard objectives.
Optional
tagsIncludes entities that match all of the specified tags.
Optional
typeIf defined, entities that match this type are included.
Optional
volumeIn conjunction with location, specified a cuboid volume of entities to include.
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