Skip to content

Open Inventory

Packet IDDirectionMojang NameMCP Name
0x64ClientboundContainerOpenPacketPacket100OpenWindow

This packet is sent by the server when an inventory/window is opened. The type of inventory can either be 0 for a chest, 1 for a crafting table, 2 for a furnace, and 3 for a dispenser.

Clientbound

FieldTypeDescription
Window IDByteThe incremental ID of the window. Ranges from 0 to 99
TypeByteThe type of the inventory. See above
TitleString8The name of the window
SizeByteThe amount of inventory slots. Must be a multiple of 9 for a chest, see below
BlockInventory Size
Chest27
Large Chest54
Crafting Table9
Furnace3
Dispenser9

Example Packet

FieldValue
Window ID49
Type0
TitleChest
Size27