OverviewPacketsResourcePackStack
ID 0x07 · 7Server → ClientResource Packs
ResourcePackStack
Defines the order the accepted packs are applied in, the base game version the stack falls back to, and the experiments the world runs.
resource-pack-stack.bin
struct ResourcePackStack {
bool TexturePackRequired;
varuint32 [] · PackInstanceId[] TexturePackIdsAndVersions;
string BaseGameVersion;
Experiments Experiments;
bool IncludeEditorPacks;
}Structure
| Field | Type | Description |
|---|---|---|
| Texture Pack Required | bool | |
| Texture Pack Ids And Versions | varuint32 count + PackInstanceId[] | Length-prefixed sequence. |
| Base Game Version | string | |
| Experiments | Experiments | |
| Include Editor Packs | bool |
Structure of PackInstanceId
| Field | Type | Description |
|---|---|---|
| Pack Id | string | |
| Version | string | |
| Subpack Name | string |
Structure of Experiments
| Field | Type | Description |
|---|---|---|
| Toggles | uint32 count + ExperimentToggle[] | Length-prefixed sequence. |
| Experiments Ever Toggled | bool |
Structure of ExperimentToggle
| Field | Type | Description |
|---|---|---|
| Name | string | |
| Enabled | bool |
Notes
- Packs higher in the stack override lower ones; the client applies them after downloading finishes.
- After this packet the client sends ResourcePackClientResponse(ResourcePackStackFinished) and waits for StartGame.
