Skip to content

Spawn Item Entity

Packet IDDirectionMojang NameMCP Name
0x15ClientboundAddItemEntityPacketPacket21PickupSpawn

Sent to the client when an item entity should be spawned. The position is in block space, while the angles are quantized.

Clientbound

FieldTypeDescription
Entity IDIntegerThe ID of the entity that will refer to this item
Item IDShortThe ID of the item
Item AmountByteThe quantity of items
Item MetadataShortThe metadata value
XIntegerThe X block position of the item
YIntegerThe Y block position of the item
ZIntegerThe Z block position of the item
YawByteRotation on the X Axis (Quantized)
PitchByteRotation on the Y Axis (Quantized)
RollByteRotation on the Z Axis (Quantized)

Example Packet

FieldValue
Entity ID1298
Item ID17 (Log)
Item Quantity1
Item Metadata0 (Oak Log)
X5669
Y68
Z-5325
Yaw16 (22.58)
Pitch9 (12.70)
Roll0 (0.0)