OverviewPacketsResourcePackClientResponse
ID 0x08 · 8Client → ServerResource Packs
ResourcePackClientResponse
The client's step in the pack handshake: which packs it still wants, then twice more to say the download and the stack are done.
resource-pack-client-response.bin
struct ResourcePackClientResponse {
tagged case index (0=Cancel, 1=Downloading, 2=DownloadingFinished, 3=ResourcePackStackFinished) Response;
}Structure
| Field | Type | Description |
|---|---|---|
| Response | tagged case index (0=Cancel, 1=Downloading, 2=DownloadingFinished, 3=ResourcePackStackFinished) | Variant: an index selects the payload type — see the tables below. |
Structure of Cancel
| Field | Type | Description |
|---|---|---|
| Response Type | constant 'cancel' | Fixed tag written on the wire. |
Structure of Downloading
| Field | Type | Description |
|---|---|---|
| Response Type | constant 'downloading' | Fixed tag written on the wire. |
| Downloading Packs | varuint32 count + string[] | Length-prefixed sequence. |
Structure of DownloadingFinished
| Field | Type | Description |
|---|---|---|
| Response Type | constant 'downloadingfinished' | Fixed tag written on the wire. |
Structure of ResourcePackStackFinished
| Field | Type | Description |
|---|---|---|
| Response Type | constant 'resourcepackstackfinished' | Fixed tag written on the wire. |
Response tag values
0 Cancel — refuse packs and quit
1 Downloading — requests the listed packs
2 DownloadingFinished — all packs downloaded
3 ResourcePackStackFinished — stack applied
Notes
- Since 1.26.40 (protocol 2168) the response is a tagged variant: a leading tag selects Cancel, Downloading, DownloadingFinished or ResourcePackStackFinished — only Downloading carries a pack list.
- ResourcePackStackFinished (3) is what moves the login forward to StartGame.
