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

21 lines
443 B
Go

package server
import (
"git.konjactw.dev/patyhank/minego/codec/packet/game/server"
"github.com/Tnze/go-mc/data/packetid"
)
type ConfigCustomPayload struct {
server.CustomPayload
}
func (ConfigCustomPayload) PacketID() packetid.ServerboundPacketID {
return packetid.ServerboundConfigCustomPayload
}
func init() {
registerPacket(packetid.ServerboundConfigCustomPayload, func() ServerboundPacket {
return &ConfigCustomPayload{}
})
}