The BlockQueryOptions interface in @minecraft/server.
Interface in @minecraft/server
Extends BlockFilter
import type { BlockQueryOptions } from '@minecraft/server';Properties
Section titled “Properties”closest
Section titled “closest”optional
closest?: number;farthest
Section titled “farthest”optional
farthest?: number;location
Section titled “location”optional
location?: Vector3;Types
Used by
Section titled “Used by”Inherited
Section titled “Inherited”From BlockFilter: excludePermutations, excludeTags, excludeTypes, includePermutations, includeTags, includeTypes