---
title: Container Set Data
description: "Play 0x13, server → client."
---

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

Updates a numeric property of the open window, such as furnace burn time or progress, brewing stand time, or enchantment table seed and levels. `property` is a window-type-specific index and `value` is the new value. The client updates the displayed progress bars or values.

Sent by the server, read by the client. Listen for it with `client.on("ContainerSetData", (data) => …)` on the receiving side.

## Fields

| Field | Type | Notes |
|---|---|---|
| `windowId` | ContainerID |  |
| `property` | Short |  |
| `value` | Short | also `payload` |

## Send it

```ts
await client.sendPacket("ContainerSetData", {
  windowId: /* ContainerID */,
  property: /* Short */,
  value: /* Short */,
});
```

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

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