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

# ClientboundPlayerPositionPacket

Teleports the local player (a setback).

### Extends

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

### Properties

#### deltaMovement

> `readonly` **deltaMovement**: [`Vec3`](/newgen/api/net/minecraft/world/phys/vec3.md)

The new velocity in blocks per tick, possibly relative.

***

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

***

#### position

> `readonly` **position**: [`Vec3`](/newgen/api/net/minecraft/world/phys/vec3.md)

The position, possibly relative.

***

#### relatives

> `readonly` **relatives**: `string`\[]

The values that are relative to the current ones: any of X, Y, Z, Y\_ROT, X\_ROT, DELTA\_X, DELTA\_Y, DELTA\_Z, ROTATE\_DELTA.

***

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

***

#### teleportId

> `readonly` **teleportId**: `number`

The id the client echoes back in its teleport confirmation.

***

#### xRot

> `readonly` **xRot**: `number`

The pitch, possibly relative.

***

#### yRot

> `readonly` **yRot**: `number`

The yaw, possibly relative.
