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

19 lines
343 B
Go

package server
import "github.com/Tnze/go-mc/data/packetid"
//codec:gen
type ChatCommand struct {
Command string
}
func (ChatCommand) PacketID() packetid.ServerboundPacketID {
return packetid.ServerboundChatCommand
}
func init() {
registerPacket(packetid.ServerboundChatCommand, func() ServerboundPacket {
return &ChatCommand{}
})
}