Skip to main content

Interface: CoupledWorldView

The slice of a world the coupled-unit expansion reads. Kept to plain queries so the rules can be exercised against a stub, and so they read the same picture the server's intake does: committed voxels, plus what the batch itself is about to write.

Properties

maxHeight

maxHeight: number

Methods

getBlockById

getBlockById(id): Block

Parameters

NameType
idnumber

Returns

Block


getVoxelAt

getVoxelAt(vx, vy, vz): number

Parameters

NameType
vxnumber
vynumber
vznumber

Returns

number


getVoxelRotationAt

getVoxelRotationAt(vx, vy, vz): BlockRotation

Parameters

NameType
vxnumber
vynumber
vznumber

Returns

BlockRotation


getVoxelStageAt

getVoxelStageAt(vx, vy, vz): number

Parameters

NameType
vxnumber
vynumber
vznumber

Returns

number