mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-11-06 06:35:12 +00:00
96 lines
3.2 KiB
JSON
96 lines
3.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "1121437839",
|
|
"x-format-version": "MISSING VERSION",
|
|
"x-minecraft-version": "1.21.120",
|
|
"x-protocol-version": 859,
|
|
"definitions": {
|
|
"622372906": {
|
|
"title": "struct ChangeDimensionPacketPayload",
|
|
"type": "object",
|
|
"properties": {
|
|
"Dimension ID": {
|
|
"description": "Currently supported: (0 -> Overworld, 1 -> Nether, 2 -> The End, 3 -> Undefined)",
|
|
"$ref": "#/definitions/2872336518",
|
|
"x-ordinal-index": 0
|
|
},
|
|
"Loading Screen Id": {
|
|
"description": "Leave empty if there is no loading screen expected on the client. This id needs to be unique and not conflict with any other active loading screens. This is implemented with an unsigned integer incrementing forever, and that is expected to not have collisions when it wraps around back to 0 if that could be a possibility.",
|
|
"type": "integer",
|
|
"x-underlying-type": "uint32",
|
|
"x-ordinal-index": 3
|
|
},
|
|
"Position": {
|
|
"$ref": "#/definitions/4004946602",
|
|
"x-ordinal-index": 1
|
|
},
|
|
"Respawn": {
|
|
"type": "boolean",
|
|
"x-ordinal-index": 2
|
|
}
|
|
},
|
|
"required": [
|
|
"Dimension ID",
|
|
"Loading Screen Id",
|
|
"Position",
|
|
"Respawn"
|
|
]
|
|
},
|
|
"2872336518": {
|
|
"title": "DimensionType",
|
|
"type": "object",
|
|
"properties": {
|
|
"value": {
|
|
"type": "integer",
|
|
"x-underlying-type": "int32",
|
|
"x-serialization-options": [
|
|
"Compression"
|
|
],
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"value"
|
|
]
|
|
},
|
|
"4004946602": {
|
|
"title": "Vec3",
|
|
"type": "object",
|
|
"properties": {
|
|
"X": {
|
|
"type": "number",
|
|
"x-underlying-type": "float",
|
|
"x-ordinal-index": 0
|
|
},
|
|
"Y": {
|
|
"type": "number",
|
|
"x-underlying-type": "float",
|
|
"x-ordinal-index": 1
|
|
},
|
|
"Z": {
|
|
"type": "number",
|
|
"x-underlying-type": "float",
|
|
"x-ordinal-index": 2
|
|
}
|
|
},
|
|
"required": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
},
|
|
"title": "ChangeDimensionPacket",
|
|
"description": "The server sends this packet from the level to kick off dimension changing process.",
|
|
"type": "object",
|
|
"properties": {
|
|
"mPayload": {
|
|
"$ref": "#/definitions/622372906",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"$metaProperties": {
|
|
"[cereal:packet]": 61,
|
|
"[cereal:packet_details]": ""
|
|
}
|
|
} |