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

19 lines
385 B
Go

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