Skip to content

Close Inventory

Packet IDDirectionMojang NameMCP Name
0x65BothContainerClosePacketPacket101CloseWindow

This packet is sent by the client when closing an inventory/window, and by the server when an inventory is forcibly closed, such as a chest being destroyed.

Both

FieldTypeDescription
Window IDByteThe incremental ID of the window. Ranges from 0 to 99

Example Packet

FieldValue
Window ID49