> 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/s14packetentity.md).

# S14PacketEntity

Represents a packet that contains entity movement information

### Extends

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

### Extended by

* [`S16PacketEntityLook`](/api/net/minecraft/network/server/s16packetentitylook.md)
* [`S17PacketEntityLookMove`](/api/net/minecraft/network/server/s17packetentitylookmove.md)
* [`S15PacketEntityRelMove`](/api/net/minecraft/network/server/s15packetentityrelmove.md)

### Methods

#### getEntity()

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

Gets the entity this movement packet is about

**Returns**

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

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