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

20 lines
427 B
Go

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