S19PacketEntityHeadLook

Represents a packet sent when an entity's head rotation changes

Extends

Methods

getEntity()

getEntity(): Entity

Gets the entity whose head rotation changed

Returns

Entity

The entity instance


getHeadYaw()

getHeadYaw(): number

Gets the new head yaw rotation in degrees

Returns

number

The head yaw angle


getPacketID()

getPacketID(): string

Get the ID of the packet.

Returns

string

The ID of the packet.

Inherited from

Packet.getPacketID

Last updated