Files
minego/pkg/protocol/packet/game/client/respawn.go
2025-08-27 20:28:44 +08:00

18 lines
339 B
Go

package client
import (
"git.konjactw.dev/falloutBot/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
}