yoni-mcscripts-lib
Version:
为 Minecraft Script API 中的部分接口创建了 wrapper,并提供简单的事件管理器和任务管理器,另附有一些便于代码编写的一些小工具。
11 lines (10 loc) • 346 B
TypeScript
export class ConsoleLogger {
static print: typeof print;
static log: (...data: any[]) => void;
static trace: (...data: any[]) => void;
static debug: (...data: any[]) => void;
static info: (...data: any[]) => void;
static warn: (...data: any[]) => void;
static error: (...data: any[]) => void;
static fatal: any;
}