@throw-out-error/minecraft-mcfunction
Version:
A simple way to create your mcfunction files using Typescript syntax.
16 lines • 533 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.run_function = exports.FunctionCommand = void 0;
const __1 = require("../");
class FunctionCommand extends __1.Command {
constructor(funct) {
super('function', [funct]);
}
}
exports.FunctionCommand = FunctionCommand;
function run_function(funct) {
return new FunctionCommand(funct);
}
exports.run_function = run_function;
__1.Command.registerCommand('function', run_function);
//# sourceMappingURL=function.js.map