UNPKG

mineflayer-crafting-util

Version:
11 lines (10 loc) 577 B
import type { Bot, BotOptions } from "mineflayer"; import type { Recipe as PRecipe } from "prismarine-recipe"; import type { CraftOptions, Item } from "./types"; import type { CraftingPlan } from "./types"; import type { IndexedData } from 'minecraft-data'; type CraftingFunc = (item: Item, opts?: CraftOptions) => CraftingPlan; export declare function _build(Recipe: typeof PRecipe): CraftingFunc; export declare function injectBot(bot: Bot, botoptions: BotOptions): Promise<void>; export declare function buildStatic(registry: IndexedData): Promise<CraftingFunc>; export {};