Skip to main content

VoxelStateInput

One per-voxel state entry to write to a chunk.

input VoxelStateInput {
voxelCoord: VoxelCoordinatesInput!
voxelType: Int!
state: String
}

Fields

VoxelStateInput.voxelCoord ● VoxelCoordinatesInput! non-null input

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

VoxelStateInput.voxelType ● Int! non-null scalar

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

VoxelStateInput.state ● String scalar

BASE64-encoded binary state blob for this voxel; omit/null for no extra state.

Member Of

ChunkUpdateInput input