← Back to Index

ResourcePackClientResponsePacket (8)

Resource Pack Client Response
Sent to MinecraftGame to complete the resource pack loading process.
Field Name Type Field Index Description
Response (Required) oneOf 0 The client's resource pack response. The leading Response tag selects the alternative; only `Downloading` carries a Downloading Packs list.
oneOf<Resource Pack Client Response - Cancel, Resource Pack Client Response - Downloading, Resource Pack Client Response - Downloading Finished, Resource Pack Client Response - Resource Pack Stack Finished>:
Control Value [uint32] Type Details
0 Resource Pack Client Response - Cancel -
1 Resource Pack Client Response - Downloading -
2 Resource Pack Client Response - Downloading Finished -
3 Resource Pack Client Response - Resource Pack Stack Finished -
Resource Pack Client Response - Cancel (Variant 0)
Field Name Type Field Index Description
Response Type (Required) int8 0 The client cancelled resource pack negotiation.
Enum Values:
Index Value
0 Cancel
1 Downloading
2 DownloadingFinished
3 ResourcePackStackFinished
Resource Pack Client Response - Downloading (Variant 1)
Field Name Type Field Index Description
Response Type (Required) int8 0
Enum Values:
Index Value
0 Cancel
1 Downloading
2 DownloadingFinished
3 ResourcePackStackFinished
Downloading Packs (Required) array<string> 1 Set of pack identifiers the client is currently downloading.
Resource Pack Client Response - Downloading Finished (Variant 2)
Field Name Type Field Index Description
Response Type (Required) int8 0 The client finished downloading the requested resource packs.
Enum Values:
Index Value
0 Cancel
1 Downloading
2 DownloadingFinished
3 ResourcePackStackFinished
Resource Pack Client Response - Resource Pack Stack Finished (Variant 3)
Field Name Type Field Index Description
Response Type (Required) int8 0 The client finished applying the resource pack stack.
Enum Values:
Index Value
0 Cancel
1 Downloading
2 DownloadingFinished
3 ResourcePackStackFinished