Debug Chunk Value
Play 0x1B, server → client.
play · 0x1B · clientbound (server → client)
Sends a debug value update for the chunk at chunkPos. It is part of the debug subscription system used by development tools; the client only uses it when subscribed to that debug data. Normal clients ignore it.
Sent by the server, read by the client. Listen for it with client.on("DebugChunkValue", (data) => …) on the receiving side.
Fields
| Field | Type | Notes |
|---|---|---|
chunkPos |
packedChunkPos | |
update |
DebugSubscriptionUpdate |
Send it
await client.sendPacket("DebugChunkValue", {
chunkPos: /* packedChunkPos */,
update: /* DebugSubscriptionUpdate */,
});
Field aliases listed under Notes are accepted as alternative keys when writing.
Source: src/Core/Versions/776/Packets/play/clientbound/DebugChunkValue.ts