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
gameIf specified, includes entities with a gamemode that matches the specified gamemode.
Optional
ignoreIf true, blocks will not be considered as blocks that 'stop' the raycast.
Optional
includeIf true, liquid blocks will be considered as blocks that 'stop' the raycast.
Optional
includeIf true, passable blocks like vines and flowers will be considered as blocks that 'stop' the raycast.
Optional
maxMaximum distance, in blocks, to process the raycast.
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, 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.
Contains additional options for an entity raycast operation.