UNPKG

@throw-out-error/minecraft-mcfunction

Version:

A simple way to create your mcfunction files using Typescript syntax.

18 lines (17 loc) 575 B
import { Command } from '..'; import { Selector, Item } from '../../arguments'; declare type Args = [Selector, Item] | [Selector, Item, number]; export declare class GiveCommand extends Command<'give', Args> { target: Selector; item: Item; count: number; constructor(target: Selector, item: Item, count?: number); get [Command.ARGUMENTS](): Args; } export declare function give(target: Selector, item: Item, count?: number): GiveCommand; declare module '../' { interface CommandContext { give: typeof give; } } export {};