mdkjs
Version:
mdk is a framework for developing Datapacks for Minecraft. It uses the typescript language.
19 lines (18 loc) • 551 B
TypeScript
export declare type ScheduleMode = 'append' | 'replace';
declare const _default: {
functionName: typeof functionName;
clear: typeof clear;
};
export default _default;
/**
* 将函数列入队伍。
* @param functionName 函数名
* @param time 时间
* @param mode 模式
*/
declare function functionName(functionName: string, time: string, mode: ScheduleMode): string;
/**
* 将等待运行的函数从等待队伍中删除。
* @param functionName 函数名
*/
declare function clear(functionName: string): string;