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

82 lines
2.6 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "604954837",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"2481715404": {
"title": "LecternUpdatePacketPayload",
"type": "object",
"properties": {
"New page to show": {
"type": "integer",
"x-underlying-type": "uint8",
"x-ordinal-index": 0
},
"Position of Lectern to update": {
"$ref": "#/definitions/269289973",
"x-ordinal-index": 2
},
"Total Pages": {
"type": "integer",
"x-underlying-type": "uint8",
"x-ordinal-index": 1
}
},
"required": [
"New page to show",
"Position of Lectern to update",
"Total Pages"
]
},
"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": "LecternUpdatePacket",
"description": "This is used for the Lectern Block Actor.",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/2481715404",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 125,
"[cereal:packet_details]": "It is a request from the client to either turn the page in the lectern or drop the book."
}
}