# S19PacketEntityHeadLook

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

### Extends

* [`Packet`](https://scripting.breeze.rip/api/net/minecraft/network/packet)

### Methods

#### getEntity()

> **getEntity**(): [`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/entity)

Gets the entity whose head rotation changed

**Returns**

[`Entity`](https://scripting.breeze.rip/api/net/minecraft/entity/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`](https://scripting.breeze.rip/api/net/minecraft/network/packet).[`getPacketID`](https://scripting.breeze.rip/api/net/minecraft/packet#getpacketid)
