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