mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-11-07 02:25:10 +00:00
88 lines
2.7 KiB
JSON
88 lines
2.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "887652270",
|
|
"x-format-version": "MISSING VERSION",
|
|
"x-minecraft-version": "1.21.120",
|
|
"x-protocol-version": 859,
|
|
"definitions": {
|
|
"3292901111": {
|
|
"title": "BlockEventPacketPayload",
|
|
"type": "object",
|
|
"properties": {
|
|
"Block Position": {
|
|
"$ref": "#/definitions/269289973",
|
|
"x-ordinal-index": 0
|
|
},
|
|
"Event Type": {
|
|
"type": "integer",
|
|
"x-underlying-type": "int32",
|
|
"x-serialization-options": [
|
|
"Compression"
|
|
],
|
|
"x-ordinal-index": 1
|
|
},
|
|
"Event Value": {
|
|
"type": "integer",
|
|
"x-underlying-type": "int32",
|
|
"x-serialization-options": [
|
|
"Compression"
|
|
],
|
|
"x-ordinal-index": 2
|
|
}
|
|
},
|
|
"required": [
|
|
"Block Position",
|
|
"Event Type",
|
|
"Event Value"
|
|
]
|
|
},
|
|
"269289973": {
|
|
"title": "NetworkBlockPosition",
|
|
"type": "object",
|
|
"properties": {
|
|
"X": {
|
|
"type": "integer",
|
|
"x-underlying-type": "int32",
|
|
"x-serialization-options": [
|
|
"Compression"
|
|
],
|
|
"x-ordinal-index": 0
|
|
},
|
|
"Y": {
|
|
"type": "integer",
|
|
"x-underlying-type": "uint32",
|
|
"x-serialization-options": [
|
|
"Compression"
|
|
],
|
|
"x-ordinal-index": 1
|
|
},
|
|
"Z": {
|
|
"type": "integer",
|
|
"x-underlying-type": "int32",
|
|
"x-serialization-options": [
|
|
"Compression"
|
|
],
|
|
"x-ordinal-index": 2
|
|
}
|
|
},
|
|
"required": [
|
|
"X",
|
|
"Y",
|
|
"Z"
|
|
]
|
|
}
|
|
},
|
|
"title": "BlockEventPacket",
|
|
"description": "Whenever a block event happens it is sent from the server to sync client and server, with arbitrarily encoded information in b0 and b1.",
|
|
"type": "object",
|
|
"properties": {
|
|
"mPayload": {
|
|
"$ref": "#/definitions/3292901111",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"$metaProperties": {
|
|
"[cereal:packet]": 26,
|
|
"[cereal:packet_details]": ""
|
|
}
|
|
} |