1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-06 12:25:14 +00:00
Files
bedrock-protocol-docs/json/UpdateClientOptionsPacket.json

47 lines
1.5 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "2492467419",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"297529066": {
"title": "struct UpdateClientOptionsPacketPayload",
"type": "object",
"properties": {
"Graphics Mode Change": {
"title": "GraphicsMode",
"description": "New graphics mode value",
"type": "string",
"enum": [
"Simple",
"Fancy",
"Advanced",
"RayTraced"
],
"x-underlying-type": "uint8",
"x-serialization-options": [
"EnumAsValue"
],
"x-ordinal-index": 0
}
},
"required": [
"Graphics Mode Change"
]
}
},
"title": "UpdateClientOptionsPacket",
"description": "Sync the player's options (mostly settings) to the server.",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/297529066",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 323,
"[cereal:packet_details]": "The values in this packet are originally synced through the Connection Request and then updated via this packet."
}
}