Spawn Item Entity

Packet ID Direction
0x15 Clientbound

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

Clientbound

Field Type Description
Entity ID Integer The ID of the entity that will refer to this item
Item id Short The id of the item
Count Byte The number of items
Metadata/Damage Short The metadata/damage value
X Integer The X block position of the item
Y Integer The Y block position of the item
Z Integer The Z block position of the item
Yaw Byte Rotation on the X Axis (Quantized)
Pitch Byte Rotation on the Y Axis (Quantized)
Roll Byte Rotation on the Z Axis (Quantized)

Example Packet

Field Value
Entity ID 1298
Item id 17 (Log)
Count 1
Metadata/Damage 0
X 5669
Y 68
Z -5325
Yaw 16 (22.58)
Pitch 9 (12.70)
Roll 0 (0.0)