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

# S0CPacketSpawnPlayer

### Extends

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

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