S05PacketSpawnPosition

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

Extends

Methods

getPacketID()

getPacketID(): string

Get the ID of the packet.

Returns

string

The ID of the packet.

Inherited from

Packet.getPacketID


getSpawnPos()

getSpawnPos(): BlockPos

Gets the spawn position coordinates

Returns

BlockPos

The BlockPos containing the spawn coordinates

Last updated