Chain Craft

Chain Craft

dds a Smart Workbench that automatically crafts intermediate items from raw materials

# ChainCraft — Chain Crafting Table

**Craft anything through its entire recipe tree in one click.**

ChainCraft adds a single new block: the **Chain Crafting Table**. Instead of
crafting planks, then sticks, then a pickaxe, you open the Chain Crafting
Table and just click the pickaxe — the mod works out the whole chain of
intermediate crafts for you and performs them all at once, using only what is
in your inventory.

## How it works

Right-click the Chain Crafting Table to open its UI. The grid at the top
shows **every item you can currently craft, directly or indirectly**, from
the materials you are carrying:

- **Left-click** an item to craft it once.
- **Shift-click** to craft up to a full stack.
- **Hover** over an item to see exactly what will be consumed, what leftovers
  you will get back, and how many crafting steps are involved — before you
  commit.
- Use the **search box** to filter the grid, and the **mouse wheel** to scroll.

The resolver is smart about your materials:

- Intermediates you already own are used first — if you carry sticks, it
  won't waste logs making new ones.
- Surplus intermediates are returned (make 1 stick and the 2 spare planks
  from the log go back to you).
- Container items are handled properly — recipes that use a water bucket give
  you the empty bucket back.
- Recipe loops (like gold blocks ↔ gold ingots) are detected and never cause
  problems.

## Crafting the table

Diamond + Crafting Table + Diamond in a row:

`◆ ⬜ ◆`

## Honest notes & limitations

- **Multiplayer-safe by design**: all crafting logic runs on the server. The
  client only ever asks "craft this recipe"; the server independently
  verifies every material before anything is consumed, so item duplication
  through lag or modified clients is not possible.
- Works only with **regular crafting-table recipes** (including those added
  by other mods and datapacks). Smelting, smithing, stonecutting, and
  "special" recipes such as firework or dyeing recipes are not chained.
- **Enchanted, renamed, or otherwise customized items are never consumed as
  materials** — your enchanted diamond pickaxe cannot be eaten by a recipe
  that wants a plain one.
- The craftable list refreshes automatically when your inventory changes; the
  recipe index is cached per world load, so there is no ongoing performance
  cost.

## Requirements

- Minecraft **1.20.1**
- **Forge** 47.3.0 or newer
- No other dependencies — no library mods needed.

For servers: install the mod on both the server and all clients.

## Compatibility

ChainCraft adds no world generation and stores no data in your world — the
block is a normal block, and removing the mod later simply removes the block.
Recipes from other mods appear in the chain crafting grid automatically as
long as they are standard crafting recipes.