1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-06 21:45:34 +00:00
Files
bedrock-protocol-docs/json/ContainerClosePacket.json

54 lines
1.8 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "1471495628",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"3272502441": {
"title": "ContainerClosePacketPayload",
"type": "object",
"properties": {
"Container Id": {
"type": "integer",
"x-underlying-type": "uint8",
"x-serialization-options": [
"EnumAsValue"
],
"x-ordinal-index": 0
},
"Container Type": {
"type": "integer",
"x-underlying-type": "uint8",
"x-serialization-options": [
"EnumAsValue"
],
"x-ordinal-index": 1
},
"Server Initiated Close": {
"description": "True if the server initiated the closing",
"type": "boolean",
"x-ordinal-index": 2
}
},
"required": [
"Container Id",
"Container Type",
"Server Initiated Close"
]
}
},
"title": "ContainerClosePacket",
"description": "After the game deletes the container manager on the client, the client sends this packet.\n\tThen the server deletes its container manager, and sends a packet back to the client that closes the container screen.",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/3272502441",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 47,
"[cereal:packet_details]": ""
}
}