Class in @minecraft/server
A box of block positions between two inclusive corners.
import { BlockVolume } from '@minecraft/server';Constructor
Section titled “Constructor”constructor(from: Vector3, to: Vector3);Parameters
fromVector3toVector3
Types
Properties
Section titled “Properties”from: Vector3;Types
to: Vector3;Types
Methods
Section titled “Methods”getCapacity
Section titled “getCapacity”getCapacity(): number;Returns
numbergetMax
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