> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/newgen/api/net/minecraft/network/protocol/game/clientboundrespawnpacket.md).

# ClientboundRespawnPacket

Sent when the player respawns or changes dimension.

### Extends

* [`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md)

### Properties

#### dimension

> `readonly` **dimension**: `string`

The level id, e.g. "minecraft:the\_nether".

***

#### dimensionType

> `readonly` **dimensionType**: `string`

The dimension type id.

**See**

[Dimension ids](https://minecraft.wiki/w/Java_Edition_data_values#Dimensions)

***

#### gameType

> `readonly` **gameType**: [`GameType`](/newgen/api/enum_types/gametype.md)

The game mode.

***

#### id

> `readonly` **id**: `string`

The protocol id, e.g. "minecraft:swing". Stable across versions, unlike class names.

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`id`](/newgen/api/net/minecraft/network/protocol/packet.md#id)

***

#### isDebug

> `readonly` **isDebug**: `boolean`

Whether the level is a debug world.

***

#### isFlat

> `readonly` **isFlat**: `boolean`

Whether the level is a superflat world.

***

#### keepAttributeModifiers

> `readonly` **keepAttributeModifiers**: `boolean`

Whether the player's attribute modifiers survive the respawn.

***

#### keepEntityData

> `readonly` **keepEntityData**: `boolean`

Whether the player's entity data survives the respawn.

***

#### name

> `readonly` **name**: `string`

The class name, e.g. "ServerboundSwingPacket".

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`name`](/newgen/api/net/minecraft/network/protocol/packet.md#name)

***

#### portalCooldown

> `readonly` **portalCooldown**: `number`

The remaining portal cooldown in ticks.

***

#### previousGameType

> `readonly` **previousGameType**: [`GameType`](/newgen/api/enum_types/gametype.md)

The previous game mode, or null.

***

#### seaLevel

> `readonly` **seaLevel**: `number`

The sea level height.

***

#### seed

> `readonly` **seed**: `string`

The hashed world seed, as a string to keep all digits.

***

#### serverbound

> `readonly` **serverbound**: `boolean`

True for packets the client sends, false for ones it receives.

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`serverbound`](/newgen/api/net/minecraft/network/protocol/packet.md#serverbound)
