1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-06 18:15:13 +00:00
Files
bedrock-protocol-docs/json/RequestChunkRadiusPacket.json

45 lines
1.6 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "2056542729",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"2506135898": {
"title": "struct RequestChunkRadiusPacketPayload",
"type": "object",
"properties": {
"Chunk Radius": {
"type": "integer",
"x-underlying-type": "int32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 0
},
"Max ChunkRadius": {
"type": "integer",
"x-underlying-type": "uint8",
"x-ordinal-index": 1
}
},
"required": [
"Chunk Radius",
"Max ChunkRadius"
]
}
},
"title": "RequestChunkRadiusPacket",
"description": "The client can't just change the view radius without the server's approval, otherwise there could be holes on unrendered area.",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/2506135898",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 69,
"[cereal:packet_details]": "This packet is to make sure that the server expands/shrinks first. Additionally for ClientSide Chunk Generation we can send a byte, based on client's hardware capabilities what is the max chunk radius client can handle."
}
}