# S0CPacketSpawnPlayer

### Extends

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

### Methods

#### getCurrentItemID()

> **getCurrentItemID**(): `number`

Gets the ID of the item currently held by the spawned player.

**Returns**

`number`

***

#### getEntityID()

> **getEntityID**(): `number`

Gets the ID of the spawned player entity.

**Returns**

`number`

***

#### 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 spawned player, converted to degrees.

**Returns**

`number`

***

#### getPlayer()

> **getPlayer**(): `string`

**Returns**

`string`

The UUID of the spawned player.

***

#### getX()

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

Gets the X coordinate of the spawned player, divided by 32 for block position.

**Returns**

`number`

***

#### getY()

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

Gets the Y coordinate of the spawned player, divided by 32 for block position.

**Returns**

`number`

***

#### getYaw()

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

Gets the yaw rotation of the spawned player, converted to degrees.

**Returns**

`number`

***

#### getZ()

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

Gets the Z coordinate of the spawned player, divided by 32 for block position.

**Returns**

`number`
