---
title: Debug Block Value
description: "Play 0x1A, server → client."
---

`play` · `0x1A` · **clientbound** (server → client)

Sends a debug value update for the block at `blockPos`. 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("DebugBlockValue", (data) => …)` on the receiving side.

## Fields

| Field | Type | Notes |
|---|---|---|
| `blockPos` | Position | also `location` |
| `update` | DebugSubscriptionUpdate |  |

## Send it

```ts
await client.sendPacket("DebugBlockValue", {
  blockPos: /* Position */,
  update: /* DebugSubscriptionUpdate */,
});
```

Field aliases listed under Notes are accepted as alternative keys when writing.

Source: [`src/Core/Versions/776/Packets/play/clientbound/DebugBlockValue.ts`](https://github.com/GDLev/mc-protocol/blob/master/src/Core/Versions/776/Packets/play/clientbound/DebugBlockValue.ts)
