Skip to content

Entity Rotation ​

Packet IDDirectionMojang NameMCP Name
0x20ClientboundMoveEntityPacket.RotPacket32EntityLook

Clientbound ​

Sent to the client to set an entity's view angles. As the rotation data is in entity space it is quantized.

FieldTypeDescription
Entity IDIntegerThe ID of the entity that should have its rotation set
YawByteRotation on the X Axis (Quantized)
PitchByteRotation on the Y Axis (Quantized)

Example Packets ​

Clientbound ​

FieldValue
Entity ID1298
Yaw16 (22.58)
Pitch9 (12.70)