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

19 lines
378 B
Go

package server
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type ClientCommand struct {
Action int32 `mc:"VarInt"`
}
func (*ClientCommand) PacketID() packetid.ServerboundPacketID {
return packetid.ServerboundClientCommand
}
func init() {
registerPacket(packetid.ServerboundClientCommand, func() ServerboundPacket {
return &ClientCommand{}
})
}