UNPKG

yoni-mcscripts-lib

Version:

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

6 lines (5 loc) 282 B
import { EventRegistry } from "./EventRegistry.js"; export declare class EventError<T extends EventRegistry<TEvent>, TEvent extends Function = T["eventClass"], E extends {} = TEvent["prototype"]> extends Error { constructor(registry: T, event: E, error: any); cause: any; }