Skip to content

Collect Item

Packet IDDirectionMojang NameMCP Name
0x16ClientboundTakeItemEntityPacketPacket22Collect

Sent to the client when an item entity should play the item collection animation. It doesn't delete the entity from the client nor does it add it to the player inventory. See Destroy Entity and Set Inventory Slot/Inventory Contents for that.

Clientbound

FieldTypeDescription
Entity ID (Item)IntegerThe ID of the entity that will refer to this item
Entity ID (Collector)IntegerThe ID of the entity that the item is being collected by

Example Packet

FieldValue
Entity ID (Item)1298
Entity ID (Collector)2