0x07 S07PacketRespawn

Sends respawn or dimension change request. The client must reload the world (clear chunks, entities) and re-sync position.

Clientbound (Server → Client) · PLAY · net/minecraft/network/play/server/S07PacketRespawn.java
playerworldrespawndeathdimension

Fields

FieldTypeDescription
dimensionIdint-1=nether, 0=overworld, 1=end
difficultyunsigned byteCurrent server difficulty
gamemodeunsigned byteCurrent gamemode
worldTypeStringWorld type string

Wire Encoding

FieldTypeNotes
Dimensionint-1=nether, 0=overworld, 1=end
Difficultyunsigned byte0=peaceful, 1=easy, 2=normal, 3=hard
Gamemodeunsigned byte0=survival, 1=creative, 2=adventure, 3=spectator
Level TypeStringWorld type

MCP References

MCPNetHandlerPlayClient.handleRespawn()

Handler Interface

HNDINetHandlerPlayClient

Notes

After receiving this, the client resets chunk loading, clears all entities, sends C00PacketKeepAlive to re-sync, and sends a C03/C06 position packet. The packet is used both for death respawn (same dimension) and portal dimension changes (dimension changes).

implementation Implementation Cases

DimensionDetector (Tenacity 6.0)

Detect dimension change for module state reset.

Vanilla hook: EventReceivePacket
WorldChange (Tenacity 6.0)

Detect dimension change for module state reset.

Vanilla hook: EventReceivePacket
← Back to all packets