yoni-mcscripts-lib
Version:
为 Minecraft Script API 中的部分接口创建了 wrapper,并提供简单的事件管理器和任务管理器,另附有一些便于代码编写的一些小工具。
14 lines (13 loc) • 470 B
TypeScript
import { CommandQueue } from "./CommandQueue.js";
import { CommandPriority } from "./CommandPriority.js";
import { CommandList } from "./CommandList.js";
export declare class CommandExecutor {
#private;
static log(...data: any[]): void;
executingCommand: CommandQueue | null;
commandList: CommandList<CommandQueue>;
constructor(autoStart?: boolean);
start(): void;
stop(): void;
add(priv: CommandPriority, command: CommandQueue): void;
}