Skip to main content

VoxelState

A single voxel's state override stored on a chunk: its local position, its voxel type, and an opaque base64-encoded state blob.

type VoxelState {
voxelCoord: VoxelCoordinates!
voxelType: Int!
state: String
}

Fields

VoxelState.voxelCoord ● VoxelCoordinates! non-null object

Local voxel position within the chunk (0-15 per axis).

VoxelState.voxelType ● Int! non-null scalar

Voxel type id at this position (0-255).

VoxelState.state ● String scalar

BASE64-encoded binary state blob for this voxel (decode from base64); null/empty when the voxel has no extra state.

Member Of

Chunk object