Files
minego/pkg/protocol/packet/game/server/client_command.go
2025-08-22 05:14:59 +08:00

19 lines
365 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{}
})
}