Files
minego/pkg/protocol/packet/game/server/client_command.go

19 lines
366 B
Go

package server
import "github.com/Tnze/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{}
})
}