Skip to main content

listVoxels

Lists recorded voxel edits for a single chunk (optionally only those at/after since), newest first. Requires a valid bearer token; app-scoped tokens are limited to their own app. Read-only.

listVoxels(
input: ListVoxelsInput!
): [Voxel!]!

Arguments​

listVoxels.input ● ListVoxelsInput! non-null input​

Type​

Voxel object​

A recorded edit to a single voxel (one row of the voxel_updates log): the app/chunk/local-position that changed, the new voxel type, an optional state blob, and who/when. Returned by listVoxels, getVoxelList and listVoxelUpdatesByDistance; created by updateVoxel, sendVoxelUpdate, updateChunk (for each voxel state it stores) and world.set_voxels on the node API. getChunk applies these edits to the chunk it returns, as entries of its voxelStates.