# S14PacketEntity

Represents a packet that contains entity movement information

### Extends

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

### Extended by

* [`S16PacketEntityLook`](https://scripting.breeze.rip/api/net/minecraft/network/server/s16packetentitylook)
* [`S17PacketEntityLookMove`](https://scripting.breeze.rip/api/net/minecraft/network/server/s17packetentitylookmove)
* [`S15PacketEntityRelMove`](https://scripting.breeze.rip/api/net/minecraft/network/server/s15packetentityrelmove)

### Methods

#### getEntity()

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

Gets the entity this movement packet is about

**Returns**

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

The entity instance

***

#### getOnGround()

> **getOnGround**(): `boolean`

Checks if the entity is on ground

**Returns**

`boolean`

True if the entity is on ground, false otherwise

***

#### 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)

***

#### getPitch()

> **getPitch**(): `number`

Gets the pitch rotation in degrees

**Returns**

`number`

The pitch angle

***

#### getX()

> **getX**(): `number`

Gets the relative X movement

**Returns**

`number`

The X movement delta

***

#### getY()

> **getY**(): `number`

Gets the relative Y movement

**Returns**

`number`

The Y movement delta

***

#### getYaw()

> **getYaw**(): `number`

Gets the yaw rotation in degrees

**Returns**

`number`

The yaw angle

***

#### getZ()

> **getZ**(): `number`

Gets the relative Z movement

**Returns**

`number`

The Z movement delta
