Skip to main content

VoxelUpdateNotification

Notification received when a voxel (block) is updated by another client or the server. Received via the udpNotifications subscription.

type VoxelUpdateNotification {
appId: BigInt!
chunkX: BigInt!
chunkY: BigInt!
chunkZ: BigInt!
distance: Int!
decayRate: Int!
uuid: String!
voxelX: Int!
voxelY: Int!
voxelZ: Int!
voxelType: Int!
voxelState: String!
sequenceNumber: Int!
epochMillis: BigInt!
}

Fields

VoxelUpdateNotification.appId ● BigInt! non-null scalar

The ID of the app where the voxel is located.

VoxelUpdateNotification.chunkX ● BigInt! non-null scalar

The X coordinate of the chunk containing the voxel.

VoxelUpdateNotification.chunkY ● BigInt! non-null scalar

The Y coordinate of the chunk containing the voxel.

VoxelUpdateNotification.chunkZ ● BigInt! non-null scalar

The Z coordinate of the chunk containing the voxel.

VoxelUpdateNotification.distance ● Int! non-null scalar

Chunk replication distance (0-8) from the original message.

VoxelUpdateNotification.decayRate ● Int! non-null scalar

Decay algorithm (0-5) from the original message.

VoxelUpdateNotification.uuid ● String! non-null scalar

The unique identifier for this voxel update.

VoxelUpdateNotification.voxelX ● Int! non-null scalar

The X coordinate of the voxel within the chunk.

VoxelUpdateNotification.voxelY ● Int! non-null scalar

The Y coordinate of the voxel within the chunk.

VoxelUpdateNotification.voxelZ ● Int! non-null scalar

The Z coordinate of the voxel within the chunk.

VoxelUpdateNotification.voxelType ● Int! non-null scalar

The voxel type ID that was set.

VoxelUpdateNotification.voxelState ● String! non-null scalar

The voxel state data, base64-encoded.

VoxelUpdateNotification.sequenceNumber ● Int! non-null scalar

The sender's sequence number for this message (0-255).

VoxelUpdateNotification.epochMillis ● BigInt! non-null scalar

Server-generated epoch milliseconds timestamp.

Implemented By

UdpNotification union