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

24 lines
439 B
Go

package server
import (
"github.com/google/uuid"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
)
//codec:gen
type ResourcePack struct {
UUID uuid.UUID `mc:"UUID"`
Result int32 `mc:"VarInt"`
}
func (*ResourcePack) PacketID() packetid.ServerboundPacketID {
return packetid.ServerboundResourcePack
}
func init() {
registerPacket(packetid.ServerboundResourcePack, func() ServerboundPacket {
return &ResourcePack{}
})
}