1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-06 15:55:09 +00:00
Files
bedrock-protocol-docs/json/UpdateBlockPacket.json

97 lines
3.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "2708069345",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"503623252": {
"title": "UpdateBlockPacketPayload",
"type": "object",
"properties": {
"Block Position": {
"$ref": "#/definitions/269289973",
"x-ordinal-index": 0
},
"Block Runtime ID": {
"type": "integer",
"x-underlying-type": "uint32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 1
},
"Flags": {
"type": "integer",
"x-underlying-type": "uint32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 2
},
"Layer": {
"type": "integer",
"x-underlying-type": "uint32",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 3
}
},
"required": [
"Block Position",
"Block Runtime ID",
"Flags",
"Layer"
]
},
"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": "UpdateBlockPacket",
"description": "Occasional packets sent from server when blocks update or are ticked. (For example, when digging.)",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/503623252",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 21,
"[cereal:packet_details]": "This happens often. Luckily, the packets are small."
}
}