Beta
Options for querying blocks in a volume. Extends BlockFilter with additional sorting and limiting options based on distance from a location.
Optional
If specified, returns the closest N blocks to the location. Must be greater than 0. Cannot be used with farthest. Requires location to be set.
Array of block permutations that the filter should reject if any matches.
Array of block tags that the filter should reject if any matches.
Array of block types that the filter should reject if any matches.
If specified, returns the farthest N blocks from the location. Must be greater than 0. Cannot be used with closest. Requires location to be set.
Array of block permutations that the filter should select if at least one matches.
Array of block tags that the filter should select if at least one matches.
Array of block types that the filter should select if at least one matches.
Location used as the reference point for closest or farthest distance calculations. Required when closest or farthest is specified.
Options for querying blocks in a volume. Extends BlockFilter with additional sorting and limiting options based on distance from a location.