Skip to content

Open Container

Packet IDDirectionMojang NameMCP Name
0x64ClientboundContainerOpenPacketPacket100OpenWindow

This packet is sent by the server when a block with an inventory is opened.

Clientbound

FieldTypeDescription
Window IDByteThe incremental ID of the window. Ranges from 0 to 99
TypeByte (Type)The type of the inventory.
TitleString8The name of the window. Ignored for anything other than chests.
SizeByteThe amount of inventory slots. Must be positive or the client crashes.

Type

IDNameSize
0Chest27 for a normal chest, 54 for a large chest. Other sizes are rounded down to a multiple of 9 and work fine, but appear glitched.
1Crafing Table9 (other sizes are ignored)
2Furnace3 (other sizes are ignored)
3Dispenser9 (other sizes are ignored)

Example Packet

FieldValue
Window ID49
Type0
TitleChest
Size27