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/UpdateBlockSyncedPacket.json

116 lines
4.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "3613566615",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"842030578": {
"title": "UpdateBlockSyncedPacketPayload",
"type": "object",
"properties": {
"Actor Sync Message": {
"type": "integer",
"x-underlying-type": "uint64",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 5
},
"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
},
"Unique Actor Id": {
"description": "Id for the Moving Block Actor",
"type": "integer",
"x-underlying-type": "uint64",
"x-serialization-options": [
"Compression"
],
"x-ordinal-index": 4
}
},
"required": [
"Actor Sync Message",
"Block Position",
"Block Runtime ID",
"Flags",
"Layer",
"Unique Actor Id"
]
},
"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": "UpdateBlockSyncedPacket",
"description": "Used to sync moving blocks with clients so they render correctly",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/842030578",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 110,
"[cereal:packet_details]": "Variation of UpdateBlockSyncedPacket that includes information to sync entities with renderchunk generation. Occasionally when blocks change a sync message is sent and during the change on the dimension, this packet is sent to the client to alert the update flags and sync info at a specific position."
}
}