@throw-out-error/minecraft-mcfunction
Version:
A simple way to create your mcfunction files using Typescript syntax.
14 lines (13 loc) • 462 B
TypeScript
import { Command } from '../';
import { NamespacedArgument } from '../../arguments';
declare type FunctionArg = string | NamespacedArgument;
export declare class FunctionCommand extends Command<'function', [FunctionArg]> {
constructor(funct: FunctionArg);
}
export declare function run_function(funct: FunctionArg): FunctionCommand;
declare module '../' {
interface CommandContext {
function: typeof run_function;
}
}
export {};