# S05PacketSpawnPosition

Represents a packet that is sent to set the spawn position of a player

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

***

#### getSpawnPos()

> **getSpawnPos**(): [`BlockPos`](https://scripting.breeze.rip/api/net/minecraft/util/blockpos)

Gets the spawn position coordinates

**Returns**

[`BlockPos`](https://scripting.breeze.rip/api/net/minecraft/util/blockpos)

The BlockPos containing the spawn coordinates
