S19PacketEntityHeadLook

This packet is a packet that gets send for just changing the yaw of a entity.

getEntity(): Entity

Returns an Entity object representing the entity associated with this head look update packet. This method provides access to the entity whose head look direction is being updated.

getHeadYaw(): float

Retrieves the yaw (horizontal rotation) of the entity's head as updated by this packet. The yaw is calculated as the raw yaw value times 360, divided by 256, representing the direction the entity's head is facing. This value is returned as a float.

Last updated