UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

30 lines (29 loc) 813 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const Action_1 = __importDefault(require("./Action")); class GeneralAction extends Action_1.default { _typeId = "general"; get typeId() { return this._typeId; } set typeId(newTypeId) { this._typeId = newTypeId; } validate() { return true; } getScriptRequirements(options) { return { needsTest: true, }; } getCommandRequirements(options) { return {}; } addCommandLines(lines, indent, optons) { } addScriptLines(lines, options, context, placement) { } } exports.default = GeneralAction;