UNPKG

onelnchr-mc-loaders

Version:
18 lines 501 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.loader = loader; const _1 = require("./"); function loader(id) { if (id === 'fabric') return _1.fabric; if (id === 'quilt') return _1.quilt; if (id === 'forge') return _1.forge; if (id === 'neoforge') return _1.neoforge; if (id === 'vanilla') return _1.vanilla; throw new Error(`Loader "${id}" could not be found`); } //# sourceMappingURL=loader.js.map