Skip to content

Entity Velocity

Packet IDDirectionMojang NameMCP Name
0x1CClientboundSetEntityMotionPacketPacket28EntityVelocity

Clientbound

Sent to the client to showcase an entities' velocity.

The sent values are first clamped to +/-3.9 in any direction, then multiplied by 8000 before being sent out as a short. The client undoes this multiplication.

FieldTypeDescription
Entity IDIntegerThe ID of the entity that should have its velocity updated
X VelocityShortVelocity on the X axis
Y VelocityShortVelocity on the Y axis
Z VelocityShortVelocity on the Z axis

Example Packets

Clientbound

FieldValue
Entity ID1298
X Velocity-1343 (-0.16)
Y Velocity0 (0.0)
Z Velocity0 (0.0)