Skip to main content

VoxelUpdateHistoryEvent

One entry in the immutable voxel edit history (voxel_updates_history): a recorded change of a single voxel's type, with who and when. Returned by voxelUpdateHistory, newest first.

type VoxelUpdateHistoryEvent {
id: BigInt!
appId: BigInt!
coordinates: ChunkCoordinates!
location: VoxelCoordinates!
oldVoxelType: Int
newVoxelType: Int
changedBy: BigInt
changedAt: DateTime!
}

Fields

VoxelUpdateHistoryEvent.id ● BigInt! non-null scalar

Unique id of this history entry (decimal string).

VoxelUpdateHistoryEvent.appId ● BigInt! non-null scalar

Id of the app this change belongs to (decimal string).

VoxelUpdateHistoryEvent.coordinates ● ChunkCoordinates! non-null object

Address of the chunk that contains the changed voxel.

VoxelUpdateHistoryEvent.location ● VoxelCoordinates! non-null object

Local position of the changed voxel within its chunk.

VoxelUpdateHistoryEvent.oldVoxelType ● Int scalar

Voxel type before the change, or null if the voxel did not previously exist.

VoxelUpdateHistoryEvent.newVoxelType ● Int scalar

Voxel type after the change, or null if the voxel was cleared/removed.

VoxelUpdateHistoryEvent.changedBy ● BigInt scalar

Id of the user that made the change (decimal string), or null if unknown.

VoxelUpdateHistoryEvent.changedAt ● DateTime! non-null scalar

Timestamp when the change occurred.

Returned By

voxelUpdateHistory query

Member Of

VoxelUpdateHistoryEventEdge object