UNPKG

@throw-out-error/minecraft-mcfunction

Version:

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

11 lines (10 loc) 323 B
import { ArgumentObject } from '.'; import { NBT } from './nbt'; export declare class Item<T extends string = string> extends ArgumentObject { item: T; nbt?: NBT; includeNBT: boolean; constructor(item: T, nbt?: NBT); compile(): AsyncGenerator<string, void, unknown>; toString(): string; }