UNPKG

yoni-mcscripts-lib

Version:

为 Minecraft Script API 中的部分接口创建了 wrapper,并提供简单的事件管理器和任务管理器,另附有一些便于代码编写的一些小工具。

14 lines (13 loc) 500 B
import { AsyncCommandQueue } from "./AsyncCommandQueue.js"; import { CommandPriority } from "./CommandPriority.js"; import { CommandList } from "./CommandList.js"; export declare class AsyncCommandExecutor { #private; static log(...data: any[]): void; executingCommand: AsyncCommandQueue | null; commandList: CommandList<AsyncCommandQueue>; start(): void; constructor(autoStart?: boolean); stop(): void; add(priv: CommandPriority, command: AsyncCommandQueue): void; }