Skip to main content

Module spawn

Module spawn 

Source
Expand description

Handles spawning and respawning the client.

Structsยง

ClientSpawnQuery
A convenient QueryData for obtaining client spawn components. Also see ClientSpawnQueryReadOnly.
ClientSpawnQueryItem
Automatically generated WorldQuery item type for ClientSpawnQuery, returned when iterating over query results.
ClientSpawnQueryReadOnly
Automatically generated WorldQuery type for a read-only variant of ClientSpawnQuery.
ClientSpawnQueryReadOnlyItem
Automatically generated WorldQuery item type for ClientSpawnQueryReadOnly, returned when iterating over query results.
DeathLocation
HasRespawnScreen
HashedSeed
Hashed world seed used for biome noise.
IsDebug
If the client is spawning into a debug world.
IsFlat
Changes the perceived horizon line (used for superflat worlds).
IsHardcore
PortalCooldown
PrevGameMode
The initial previous gamemode. Used for the F3+F4 gamemode switcher.
ReducedDebugInfo
RespawnPosition
The position and angle that clients will respawn with. Also controls the position that compasses point towards.