The PrimitiveShapeQueryOptions interface in @minecraft/server.
Interface in @minecraft/server
import type { PrimitiveShapeQueryOptions } from '@minecraft/server';Properties
Section titled “Properties”attachedTo
Section titled “attachedTo”optional
attachedTo?: Entity;Types
location
Section titled “location”optional
location?: Vector3;Types
maxDistance
Section titled “maxDistance”optional
maxDistance?: number;minDistance
Section titled “minDistance”optional
minDistance?: number;