1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-08-25 06:12:35 +00:00
Files
bedrock-protocol-docs/html/ContainerClosePacket.html
2025-07-08 11:52:36 -07:00

23 lines
1.2 KiB
HTML

<!DOCTYPE html> <html> <head><style>table{font-family: arial, sans-serif;border-collapse: collapse;width: 100% ;}.tab { margin-left: 40px; }td, th{text-align: left;padding: 8px;}tr:nth-child(even) {background-color: #dddddd;}div#expand{display:block;}</style> </head> <body><h1>ContainerClosePacket (id: 47)</h1>
<table><col width="1%"><col width="99%"><tr><th></th><th></th></tr><tr><td> <b>Purpose:</b> </td>
<td>
After the game deletes the container manager on the client, the client sends this packet.
Then the server deletes its container manager, and sends a packet back to the client that closes the container screen.
</td>
</tr><tr><td> <b>Notes:</b> </td>
<td></td>
</tr></table><br><h2>Payload</h2>
<img src="svg/ContainerClosePacket.svg" alt="ContainerClosePacket">
<br><br><br><table><col width="10%"><col width="10%"><col width="15%"><col width="80%"><tr><th>Field Name</th><th>Field Type</th><th>Field Constraints</th><th>Field Notes</th></tr><tr><td>Container Id</td>
<td>unsigned byte</td>
<td></td>
<td></td>
</tr><tr><td>Container Type</td>
<td>unsigned byte</td>
<td></td>
<td></td>
</tr><tr><td>Server Initiated Close</td>
<td>bool</td>
<td></td>
<td>True if the server initiated the closing</td>
</tr></table></body> </html>