MCBE
OverviewPacketsResourcePackDataInfo
ID 0x52 · 82Server → ClientResource Packs

ResourcePackDataInfo

The header for one pack's download: how its bytes will be chunked, how large the archive is, and the hash the client checks the reassembled file against.

resource-pack-data-info.bin
struct ResourcePackDataInfo {
  string                                       ResourceName;
  uint32 (LE)                                  ChunkSize;
  uint32 (LE)                                  NbChunks;
  uint64 (LE)                                  FileSize;
  string                                       FileHash;
  bool                                         IsPremium;
  PackType                                     PackType;
}

Structure

FieldTypeDescription
Resource Namestring
Chunk Sizeuint32 (LE)
Nb Chunksuint32 (LE)
File Sizeuint64 (LE)
File Hashstring
Is Premiumbool
Pack TypePackType

Notes

  • No special notes.