Craft Item
minecraft_craft_itemCraft items with ingredients currently in inventory. For 3x3 recipes, set use_crafting_table and have a crafting table nearby.
Instructions
Crafts an item using a recipe the bot currently has ingredients for. If the recipe needs a 3x3 grid, pass use_crafting_table=true and make sure a crafting table is within a few blocks (minecraft_find_block "crafting_table", or minecraft_place_block one first).
Returns: { message: string, crafted: string, count: number } Errors: unknown item, no known recipe fits current inventory, or no crafting table in reach when one is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| item_name | Yes | Exact item id to craft, e.g. "stick", "wooden_pickaxe" | |
| use_crafting_table | No | Set true for 3x3 recipes; requires a nearby crafting table. |