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
| Name | Type |
|---|---|
id | number |
Returns
getVoxelAt
▸ getVoxelAt(vx, vy, vz): number
Parameters
| Name | Type |
|---|---|
vx | number |
vy | number |
vz | number |
Returns
number
getVoxelRotationAt
▸ getVoxelRotationAt(vx, vy, vz): BlockRotation
Parameters
| Name | Type |
|---|---|
vx | number |
vy | number |
vz | number |
Returns
getVoxelStageAt
▸ getVoxelStageAt(vx, vy, vz): number
Parameters
| Name | Type |
|---|---|
vx | number |
vy | number |
vz | number |
Returns
number