1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-06 21:45:34 +00:00
Files
bedrock-protocol-docs/json/ResourcePackDataInfoPacket.json

70 lines
2.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "121683812",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"1925536177": {
"title": "struct ResourcePackDataInfoPacketPayload",
"type": "object",
"properties": {
"Chunk Size": {
"type": "integer",
"x-underlying-type": "uint32",
"x-ordinal-index": 1
},
"File Hash": {
"type": "string",
"x-ordinal-index": 4
},
"File Size": {
"type": "integer",
"x-underlying-type": "uint64",
"x-ordinal-index": 3
},
"Is Premium Pack": {
"description": "Do you need an entitlement to use this pack?",
"type": "boolean",
"x-ordinal-index": 5
},
"Number of Chunks": {
"type": "integer",
"x-underlying-type": "uint32",
"x-ordinal-index": 2
},
"Pack Type": {
"type": "integer",
"x-underlying-type": "uint8",
"x-ordinal-index": 6
},
"Resource Name": {
"type": "string",
"x-ordinal-index": 0
}
},
"required": [
"Chunk Size",
"File Hash",
"File Size",
"Is Premium Pack",
"Number of Chunks",
"Pack Type",
"Resource Name"
]
}
},
"title": "ResourcePackDataInfoPacket",
"description": "Resource Pack Data Info",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/1925536177",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 82,
"[cereal:packet_details]": "Sent from the serverFileChunkUploader during the initialization of the file uploader. This packet is sent to the primary client."
}
}