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

19 lines
336 B
Go

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