Skip to content

Set Slot ​

Packet IDDirectionMojang NameMCP Name
0x67ClientboundContainerSetSlotPacketPacket103SetSlot

This packet is sent by the server when an inventory slot is updated. See the inventory page for more information.

Clientbound ​

FieldTypeDescription
Window IDByteThe incremental ID of the window. Ranges from 0 to 99
SlotShortThe ID of the updated slot. See the inventory page for slot mapping.
Item IDShortThe ID of the item (-1 if empty)
Item AmountByteThe amount of the item (only sent if ID > -1)
Item MetadataShortThe meta of the item (only sent if ID > -1)

If both the window ID and slot ID are -1, then the item that's currently held by the mouse is affected.

Example Packet ​

FieldValue
Window ID2
Slot22
Item IDShort50 (Torch)
Item AmountByte63
Item Meta/DamageShort0