AI Assembler
A Minecraft 1.20.1 Forge mod that adds an AI-powered crafting table. Instead of following fixed recipes, the AI Assembler looks at whatever you put in its 3x3 grid and decides what to craft — using a local Ollama model — guided by a recommendation engine built from the game's actual recipe graph.
Features
AI Assembler block
- A 3x3 input grid + output slot, just like a crafting table, but the output isn't fixed by a recipe — it's chosen by the AI at the moment you press Assemble.
- Recommendation engine: before asking the AI anything, the mod vectorizes every item in the game from the recipe graph (what crafts into what) and ranks all items by similarity to what's in the grid. Only this short, relevant candidate list is offered to the AI, so results stay sensible even with a small local model.
- Recommendation ratio: a tunable table controlling how "safe" vs. "creative" the candidate list is — mostly the closest matches, a spread across the ranking, or partly random. Editable per-block, with a sensible config-wide default.
- Custom prompt: give the block its own crafting philosophy in plain language (e.g. "always prefer weapons" or "be as chaotic as possible"). Leaving it blank uses the configured default prompt.
- Language field: choose what language the AI explains its choice in, independent of the prompt. This is a free-form translation by the model, not a curated translation table — it can be imperfect, especially for item names, so treat the "reason" text as a best-effort explanation rather than an authoritative translation.
- Recipe memory: every successful assembly is remembered by its exact input arrangement. The next time you place the same items in the same slots, the table crafts the same result instantly — no AI call needed. Memorized recipes can be browsed and removed from a Memory panel, and they follow the block: breaking and picking it back up (or even placing a duplicate copy) keeps its memorized recipes.
- Survives reload: prompt, ratio, language, and memory all persist across save/load and block break/place.
Prompt Editor block
- A dedicated block for configuring an AI Assembler's prompt and recommendation ratio before placing it — hold an (unplaced) AI Assembler item, edit its prompt/ratio in a larger, multiline, scrollable text field, and save the settings directly onto the item.
NOTE:This mod needs Ollama to run properly.