> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/api/net/minecraft/network/server/s19packetentityheadlook.md).

# S19PacketEntityHeadLook

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

### Extends

* [`Packet`](/api/net/minecraft/network/packet.md)

### Methods

#### getEntity()

> **getEntity**(): [`Entity`](/api/net/minecraft/entity/entity.md)

Gets the entity whose head rotation changed

**Returns**

[`Entity`](/api/net/minecraft/entity/entity.md)

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`](/api/net/minecraft/network/packet.md).[`getPacketID`](/api/net/minecraft/network/packet.md#getpacketid)
