# S08PacketPlayerPosLook

Represents a packet that updates the player's position and rotation

### Extends

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

### Methods

#### 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 of the player

**Returns**

`number`

The pitch angle in degrees

***

#### getX()

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

Gets the X position of the player

**Returns**

`number`

The X coordinate

***

#### getY()

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

Gets the Y position of the player

**Returns**

`number`

The Y coordinate

***

#### getYaw()

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

Gets the yaw rotation of the player

**Returns**

`number`

The yaw angle in degrees

***

#### getZ()

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

Gets the Z position of the player

**Returns**

`number`

The Z coordinate
