← Packet index

Packet 6

ResourcePacksInfoPacket

Resource Packs Info

Sends resource pack information to the client including pack IDs, versions, sizes, and content keys.

Packet datagramWire order
HeaderID 6varuint
0Resource Pack Requiredboolean · 1 byte
1Has Addon Packsboolean · 1 byte
2Has Scriptsboolean · 1 byte
3Force Disable Vibrant Visualsboolean · 1 byte
4World Template Id And VersionPackIdVersion · variable
5Resource Packsarray<PackInfoData> · variable

Serialized fields

6 top-level fields
  1. 0Resource Pack RequiredWhether the client must apply the server's resource packs to join.boolean
  2. 1Has Addon PacksWhether any of the resource packs are add-on packs.boolean
  3. 2Has ScriptsWhether any of the resource packs contain client scripts.boolean
  4. 3Force Disable Vibrant VisualsForces Vibrant Visuals (deferred rendering) off for this session.boolean
  5. 4World Template Id And VersionUUID and version of the world template this world is based on, if any.PackIdVersion
    1. 0Pack UUIDThe pack's unique identifier.mce::UUID
      1. 0Most Significant Bitsuint64
      2. 1Least Significant Bitsuint64
    2. 1Pack VersionThe pack's semantic version.SemVersion
      1. 0VersionSemantic version string (e.g. "1.2.3").string
  6. 5Resource PacksThe resource packs the client needs for this world.PackInfoDataas array<PackInfoData>
    1. 0Pack Id VersionThe pack's UUID and semantic version.PackIdVersion
      1. 0Pack UUIDThe pack's unique identifier.mce::UUID
        1. 0Most Significant Bitsuint64
        2. 1Least Significant Bitsuint64
      2. 1Pack VersionThe pack's semantic version.SemVersion
        1. 0VersionSemantic version string (e.g. "1.2.3").string
    2. 1Pack SizeSize of the pack in bytes.uint64
    3. 2Content KeyDecryption key for the pack's encrypted content.string
    4. 3Subpack NameName of the selected subpack, if any.string
    5. 4Content IdentityMarketplace content identity for the pack.ContentIdentity
      1. 0IdentityMarketplace content identity string.string
    6. 5Has ScriptsWhether this pack contains client scripts.boolean
    7. 6Is Addon PackWhether this pack is an add-on pack.boolean
    8. 7Is Ray Tracing CapableWhether this pack provides ray-tracing assets.boolean
    9. 8CDN URLOptional CDN URL the client may download the pack from.string

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.