Files
minego/codec/packet/game/client/respawn.go
2025-06-19 15:01:07 +08:00

18 lines
327 B
Go

package client
import (
"github.com/Tnze/go-mc/data/packetid"
)
var _ ClientboundPacket = (*Respawn)(nil)
//codec:gen
type Respawn struct {
CommonPlayerSpawnInfo CommonPlayerSpawnInfo
DataToKeep uint8
}
func (Respawn) ClientboundPacketID() packetid.ClientboundPacketID {
return packetid.ClientboundRespawn
}