S07PacketRespawn

getDimensionID(): int

Returns the dimension ID associated with the respawn. The dimension ID is an integer value indicating the world dimension (e.g., Overworld, Nether, The End) where the player respawns.

getDifficulty(): int

Retrieves the difficulty setting of the game world where the player is respawning. This is an integer value representing the difficulty level (e.g., Peaceful, Easy, Normal, Hard).

getGameType(): int

Provides the game type ID. This is an integer value representing the game mode (e.g., Survival, Creative, Adventure, Spectator) in which the player will respawn.

getWorldType(): int

Returns the world type ID of the respawn location. This is an integer value representing the type of world (e.g., Default, Flat, Large Biomes) where the player respawns.

Last updated