The BlockVolumeBase class in @minecraft/server.
Class in @minecraft/server
Extended by ListBlockVolume
import { BlockVolumeBase } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Methods
Section titled “Methods”getBlockLocationIterator
Section titled “getBlockLocationIterator”getBlockLocationIterator(): BlockLocationIterator;Returns
BlockLocationIteratorgetCapacity
Section titled “getCapacity”getCapacity(): number;Returns
numbergetClosest
Section titled “getClosest”getClosest(count: number, location: Vector3): Vector3[];Parameters
countnumberlocationVector3
Returns
Vector3[]Types
getFarthest
Section titled “getFarthest”getFarthest(count: number, location: Vector3): Vector3[];Parameters
countnumberlocationVector3
Returns
Vector3[]Types
getMax
Section titled “getMax”getMax(): Vector3;Returns
Vector3Types
getMin
Section titled “getMin”getMin(): Vector3;Returns
Vector3Types
getSpan
Section titled “getSpan”getSpan(): Vector3;Returns
Vector3Types
isInside
Section titled “isInside”isInside(location: Vector3): boolean;Parameters
locationVector3
Returns
booleanTypes
translate
Section titled “translate”translate(delta: Vector3): void;Parameters
deltaVector3
Types
Used by
Section titled “Used by”Dimension.containsBlock, Dimension.getBlocks, Dimension.containsBiomes