> 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/newgen/api/net/minecraft/network/protocol/game/clientboundmoveentitypacket.md).

# ClientboundMoveEntityPacket

Moves or turns an entity by a small step. Use instanceof with ClientboundMoveEntityPacketPos, ClientboundMoveEntityPacketPosRot and ClientboundMoveEntityPacketRot to tell which parts it carries.

### Extends

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

### Extended by

* [`ClientboundMoveEntityPacketPos`](/newgen/api/net/minecraft/network/protocol/game/clientboundmoveentitypacketpos.md)
* [`ClientboundMoveEntityPacketPosRot`](/newgen/api/net/minecraft/network/protocol/game/clientboundmoveentitypacketposrot.md)
* [`ClientboundMoveEntityPacketRot`](/newgen/api/net/minecraft/network/protocol/game/clientboundmoveentitypacketrot.md)

### Properties

#### deltaX

> **deltaX**: `number`

The x movement in blocks. 0 when the packet carries no position.

***

#### deltaY

> **deltaY**: `number`

The y movement in blocks. 0 when the packet carries no position.

***

#### deltaZ

> **deltaZ**: `number`

The z movement in blocks. 0 when the packet carries no position.

***

#### entity

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

The entity. Null if it is not loaded.

***

#### entityId

> **entityId**: `number`

The entity.

***

#### hasPosition

> `readonly` **hasPosition**: `boolean`

Whether the packet carries a movement.

***

#### hasRotation

> `readonly` **hasRotation**: `boolean`

Whether the packet carries a rotation.

***

#### id

> `readonly` **id**: `string`

The protocol id, e.g. "minecraft:swing". Stable across versions, unlike class names.

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`id`](/newgen/api/net/minecraft/network/protocol/packet.md#id)

***

#### name

> `readonly` **name**: `string`

The class name, e.g. "ServerboundSwingPacket".

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`name`](/newgen/api/net/minecraft/network/protocol/packet.md#name)

***

#### onGround

> **onGround**: `boolean`

Whether the entity is on the ground.

***

#### serverbound

> `readonly` **serverbound**: `boolean`

True for packets the client sends, false for ones it receives.

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`serverbound`](/newgen/api/net/minecraft/network/protocol/packet.md#serverbound)

***

#### xRot

> **xRot**: `number`

The new pitch in degrees, quantized to 1.4 degree steps. Only meaningful when hasRotation is true.

***

#### yRot

> **yRot**: `number`

The new yaw in degrees, quantized to 1.4 degree steps. Only meaningful when hasRotation is true.
