UNPKG

mineflayer-crafting-util

Version:
22 lines (21 loc) 503 B
import type { Recipe } from 'prismarine-recipe'; export interface Item { id: number; count: number; } export interface CraftOptions { includeRecursion?: boolean; multipleRecipes?: boolean; careAboutExisting?: boolean; availableItems?: Item[]; } export interface RecipeInfo { recipe: Recipe; recipeApplications: number; } export interface CraftingPlan { success: boolean; itemsRequired: Item[]; recipesToDo: RecipeInfo[]; requiresCraftingTable: boolean; }