---
title: Resource Pack
description: "Play 0x31, client → server."
---

`play` · `0x31` · **serverbound** (client → server)

Reports the status of a pushed resource pack identified by `uuid` while in play. `result` is successfully loaded, declined, failed download, accepted, downloaded, invalid URL, failed reload, or discarded. The server can disconnect the player if a forced pack is declined or fails.

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

## Fields

| Field | Type | Notes |
|---|---|---|
| `uuid` | UUID |  |
| `result` | VarInt |  |

## Send it

```ts
await client.sendPacket("ResourcePack", {
  uuid: /* UUID */,
  result: /* VarInt */,
});
```

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

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