UNPKG

bc-minecraft-bedrock-project

Version:

The typescript library responsible for reading/parsing minecraft bedrock data

14 lines 609 B
import { CommandContainer, CommandInfo } from 'bc-minecraft-bedrock-command'; import { Identifiable, Locatable } from 'bc-minecraft-bedrock-shared'; export interface CustomCommand extends Identifiable, Locatable { syntaxes: CommandInfo[]; } export declare namespace CustomCommand { function create(id: string, uri: string, syntaxes: CommandInfo[]): CustomCommand; } type CommandsForEach = { forEach(callbackfn: (value: CustomCommand) => void): void; }; export declare function toCommandContainer(commands: CommandsForEach): CommandContainer; export {}; //# sourceMappingURL=custom-command.d.ts.map