MCBE
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

FieldTypeDescription
Responsetagged case index (0=Cancel, 1=Downloading, 2=DownloadingFinished, 3=ResourcePackStackFinished)Variant: an index selects the payload type — see the tables below.

Structure of Cancel

FieldTypeDescription
Response Typeconstant 'cancel'Fixed tag written on the wire.

Structure of Downloading

FieldTypeDescription
Response Typeconstant 'downloading'Fixed tag written on the wire.
Downloading Packsvaruint32 count + string[]Length-prefixed sequence.

Structure of DownloadingFinished

FieldTypeDescription
Response Typeconstant 'downloadingfinished'Fixed tag written on the wire.

Structure of ResourcePackStackFinished

FieldTypeDescription
Response Typeconstant '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.