UNPKG

yoni-mcscripts-lib

Version:

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

6 lines (5 loc) 159 B
export default interface EventHandler<TEvent extends Function> { onEvent(event: TEvent["prototype"]): any ignoreCancelled: boolean options?: any }