1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-06 20:35:25 +00:00
Files
bedrock-protocol-docs/json/StructureTemplateDataResponsePacket.json

55 lines
2.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "3211677219",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"203427718": {
"title": "struct StructureTemplateDataResponsePacketPayload",
"type": "object",
"properties": {
"Response Type": {
"title": "enum StructureTemplateResponseType",
"type": "string",
"enum": [
"None",
"Export",
"Query"
],
"x-underlying-type": "uint8",
"x-serialization-options": [
"EnumAsValue"
],
"x-ordinal-index": 2
},
"Structure Name": {
"type": "string",
"x-ordinal-index": 0
},
"Structure's NBT": {
"$ref": "#/definitions/4158325036",
"x-ordinal-index": 1
}
},
"required": [
"Response Type",
"Structure Name",
"Structure's NBT"
]
}
},
"title": "StructureTemplateDataResponsePacket",
"description": "This is used in exporting from load, exporting from save, and querying saved structures from structure blocks.",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/203427718",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 133,
"[cereal:packet_details]": "The client sends a packet to the server, from there the structure is built and then put into a Tag where it is sent back to the client, from there you can view the structure in the Structure Block Screen. Currently this functionality is completely disabled and does nothing. Used to reply to a request for structure information."
}
}