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

21 lines
409 B
Go

package client
import (
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
var _ ClientboundPacket = (*LevelEvent)(nil)
//codec:gen
type LevelEvent struct {
Type int32
Pos pk.Position
Data int32
GlobalEvent bool
}
func (LevelEvent) ClientboundPacketID() packetid.ClientboundPacketID {
return packetid.ClientboundLevelEvent
}