MCBE
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

FieldTypeDescription
Texture Pack Requiredbool
Texture Pack Ids And Versionsvaruint32 count + PackInstanceId[]Length-prefixed sequence.
Base Game Versionstring
ExperimentsExperiments
Include Editor Packsbool

Structure of PackInstanceId

FieldTypeDescription
Pack Idstring
Versionstring
Subpack Namestring

Structure of Experiments

FieldTypeDescription
Togglesuint32 count + ExperimentToggle[]Length-prefixed sequence.
Experiments Ever Toggledbool

Structure of ExperimentToggle

FieldTypeDescription
Namestring
Enabledbool

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.