Represents a packet that is sent when the player respawns or changes dimensions
Packet
getDifficulty(): number
number
Gets the difficulty level of the dimension
Returns
The difficulty ID
getDimensionID(): number
Gets the dimension ID that the player is respawning in
The dimension ID
getGameType(): number
Gets the game type/mode of the player
The game type ID
getPacketID(): string
string
Get the ID of the packet.
The ID of the packet.
Inherited from
Packet.getPacketID
getPacketID
getWorldType(): number
Gets the world type of the dimension
The world type ID
Last updated 3 months ago