S05PacketSpawnPosition

getSpawnPos(): BlockPos

Returns a BlockPos object representing the spawn position contained within this packet. This method retrieves the coordinates of the spawn position in the game world, which is typically where players respawn after death or when first joining the game.

Last updated