mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-11-06 06:35:12 +00:00
50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "2467890142",
|
|
"x-format-version": "MISSING VERSION",
|
|
"x-minecraft-version": "1.21.120",
|
|
"x-protocol-version": 859,
|
|
"definitions": {
|
|
"10184323": {
|
|
"title": "struct SetDefaultGameTypePacketPayload",
|
|
"type": "object",
|
|
"properties": {
|
|
"Default Game Type": {
|
|
"title": "GameType",
|
|
"type": "string",
|
|
"enum": [
|
|
"Undefined",
|
|
"Survival",
|
|
"Creative",
|
|
"Adventure",
|
|
"Default",
|
|
"Spectator",
|
|
"WorldDefault"
|
|
],
|
|
"x-underlying-type": "int32",
|
|
"x-serialization-options": [
|
|
"Compression",
|
|
"EnumAsValue"
|
|
],
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"Default Game Type"
|
|
]
|
|
}
|
|
},
|
|
"title": "SetDefaultGameTypePacket",
|
|
"description": "Same as SetPlayerGameTypePacket & UpdatePlayerGameTypePacket, the only difference is that this changes the default for all clients.",
|
|
"type": "object",
|
|
"properties": {
|
|
"mPayload": {
|
|
"$ref": "#/definitions/10184323",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"$metaProperties": {
|
|
"[cereal:packet]": 105,
|
|
"[cereal:packet_details]": ""
|
|
}
|
|
} |