citanz.

Create an AI-powered Recipe Assistant for Minecraft that helps players whenever they forget how to craft an item. When a player types the command /recipe <item_name>, the assistant should instantly identify the requested item and display its complete crafting recipe directly in the chat. If the item cannot be crafted, the assistant should instead explain how the item can be obtained (for example, through smelting, trading, loot chests, mob drops, or other methods). The command must support every obtainable Minecraft item and block up to Minecraft version 1.21.11. Item name matching should be flexible, allowing players to use common names or minor spelling variations. The response should be fast, accurate, and easy to read, making it simple for players to find the information they need without leaving the game.

Kodari AI
KodariJul 8 at 11:06 am 58

Building an AI-powered /recipe lookup plugin that dynamically pulls real crafting data from the server’s own recipe registry (so it always matches whatever Minecraft version the server runs, including 1.21.11) plus a curated fallback dataset for non-craftable items, with fuzzy name matching.

RecipeAssistant
An in-game AI-style recipe lookup assistant. Players run /recipe &lt;item&gt; to instantly see the full crafting recipe (shaped, shapeless, furnace, smoking, blasting, campfire, stonecutting, smithing) pulled live from the server's own recipe registry, guaranteeing accuracy across versions. If an item can't be crafted, it explains how to obtain it via mining, trading, mob drops, or loot chests. Uses fuzzy name matching so players can type common names or minor typos and still get instant, readable chat results without leaving gameplay.
An AI-powered in-game recipe lookup plugin. Players type /recipe &lt;item&gt; and instantly see the item's full crafting recipe pulled live from the server's own recipe registry, so it always matches the running Minecraft version. Fuzzy name matching handles typos and common nicknames. If an item can't be crafted, the assistant explains how to obtain it instead — smelting, trading, mob drops, or loot chests — using a curated obtainment database. Supports shaped, shapeless, furnace, smoking, blasting, campfire, stonecutting, and smithing recipes, formatted cleanly and fast for readable chat output without leaving gameplay.
RecipeOracle
A chat-based recipe assistant. Players type /recipe &lt;item_name&gt; and instantly see the exact crafting grid, smelting/smithing/stonecutting recipe, or — if the item can't be crafted — how to obtain it (mining, mob drops, trading, loot chests). Uses the server's live recipe registry so it automatically matches whatever Minecraft version is running, plus flexible fuzzy name matching that tolerates typos, spacing, and common aliases. Fast, colorful, easy-to-read chat output with no GUI needed.
An in-game AI-style recipe helper. Players type /recipe &lt;item&gt; and instantly see the item's full crafting recipe (shaped, shapeless, furnace/smoking/blasting/campfire cooking, stonecutting) pulled live from the server's own registered recipes, so it always matches the running Minecraft version. If an item can't be crafted, it explains alternate ways to obtain it (mining, mob drops, trading, loot chests, etc.) from a curated dataset. Item names are matched flexibly using alias lookup plus fuzzy (Levenshtein) matching, so common names and minor typos still resolve correctly. Results are formatted as clean, readable chat messages so players never have to leave the game to look up a recipe.

Plan:

  1. build.gradle + plugin.yml — Paper API, /recipe command.

  2. ItemMatcher — alias + fuzzy matching from user input to Material.

  3. RecipeFormatter — turns Bukkit Recipe objects into readable chat text.

  4. ObtainMethodData — curated fallback “how to obtain” data for non-craftable items.

  5. RecipeCommand + main plugin class wiring it together.

An in-game AI-style recipe assistant. Players type /recipe &lt;item&gt; to instantly see the crafting recipe pulled live from the server's actual recipe registry, so it always matches the running Minecraft version. If an item can't be crafted, it explains how to obtain it (smelting, trading, mob drops, loot chests, mining, etc). Item names are fuzzy-matched, tolerating typos, spaces, and common aliases so players don't need exact material IDs. Output is clean, colored, and readable directly in chat with no need to leave the game.

Removed the invalid Material.RESISTANCE_POTION reference to avoid a compile error — potions aren’t Material items in that form:

I noticed I left an invalid enum placeholder — fixing that now before it breaks the build:

Let me now actually create the full project files.

An in-game AI-style recipe lookup assistant. Players type /recipe &lt;item name&gt; and instantly see how to craft that item, pulled live from the server's real recipe registry (so it always matches the running Minecraft version) formatted as a readable crafting grid, smelting info, stonecutting, or smithing steps. If an item can't be crafted, it explains how to obtain it instead (mining, mob drops, fishing, trading, structure loot, or natural generation). Item names are matched flexibly with alias and fuzzy spelling support, so players don't need exact Minecraft IDs. Fast, chat-based, and requires no menus or leaving gameplay.

RecipeAssistant is ready:

  • /recipe <item name> (aliases /craft, /howtocraft, /howtomake) with tab-completion.

  • Recipes are pulled live from Bukkit.getRecipesFor(...), so shaped, shapeless, furnace/smoker/blast/campfire, stonecutting, and smithing recipes are always accurate to whatever Minecraft version the server is actually running (1.21.11 included) — no hardcoded/stale recipe data.

  • ItemMatcher resolves flexible/misspelled names via alias table + token matching + Levenshtein fuzzy distance, using Material.matchMaterial so it stays version-safe.

  • For non-craftable items, ObtainMethodData gives curated obtain instructions (mining, mob drops, fishing, trading, structure loot, natural generation); anything not in the curated list still gets a sensible generic fallback tip instead of silence.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
9 594
src/main/java/com/recipeassistant/RecipeAssistant.java
package com.recipeassistant;

import com.recipeassistant.command.RecipeCommand;
import org.bukkit.plugin.java.JavaPlugin;

public class RecipeAssistant extends JavaPlugin {

    @Override
    public void onEnable() {
        RecipeCommand recipeCommand = new RecipeCommand();
        getCommand("recipe").setExecutor(recipeCommand);
        getCommand("recipe").setTabCompleter(recipeCommand);
        getLogger().info("RecipeAssistant enabled - /recipe <item name> is ready.");
    }
}