mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-11-06 21:45:34 +00:00
53 lines
2.4 KiB
JSON
53 lines
2.4 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "826489530",
|
|
"x-format-version": "MISSING VERSION",
|
|
"x-minecraft-version": "1.21.120",
|
|
"x-protocol-version": 859,
|
|
"definitions": {
|
|
"3981363163": {
|
|
"title": "ServerboundLoadingScreenPacketPayload",
|
|
"type": "object",
|
|
"properties": {
|
|
"Loading Screen Id": {
|
|
"description": "This will be set if the server gives us a value. If the server doesn't expect this value, then the client will get disconnected.",
|
|
"type": "integer",
|
|
"x-underlying-type": "uint32",
|
|
"x-ordinal-index": 1
|
|
},
|
|
"Loading Screen Packet Type": {
|
|
"title": "ServerboundLoadingScreenPacketType",
|
|
"type": "string",
|
|
"enum": [
|
|
"Unknown",
|
|
"StartLoadingScreen",
|
|
"EndLoadingScreen"
|
|
],
|
|
"x-underlying-type": "int32",
|
|
"x-serialization-options": [
|
|
"Compression",
|
|
"EnumAsValue"
|
|
],
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"Loading Screen Id",
|
|
"Loading Screen Packet Type"
|
|
]
|
|
}
|
|
},
|
|
"title": "ServerboundLoadingScreenPacket",
|
|
"description": "Sent from the client to the server to message to the server about the state of the loading screen.",
|
|
"type": "object",
|
|
"properties": {
|
|
"mPayload": {
|
|
"$ref": "#/definitions/3981363163",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"$metaProperties": {
|
|
"[cereal:packet]": 312,
|
|
"[cereal:packet_details]": "In order for the client to send a packet with StartLoadingScreen, the server needs to anticipate that this packet is coming.\nIf the server doesn't expect that we are about to start a loading screen, the server will disconnect the client.\nEndLoadingScreen is sent by the client when the loading screen closes.\nThe Loading Screen Id field will be empty if the loading screen is triggered by the initial loading into of a world.\nThe Loading Screen Id field will have a value if sent by the server. This currently happens as part of ChangeDimensionPacket if the player is alive."
|
|
}
|
|
} |