realprinario-ctrl

Recipe INVENTORY GUI plugin that is compatible with Fancy Crafting & ILibrary. Features: A completely customizable INVENTORY GUI for admins to show the recipes such as folder paths and more. It links on with fancy crafting and ILibrary to automatically create that recipe in the recipe book. Plugin name: Fancy Recipes super clean interface and more. Such as super crafting (Allows you to instantly craft that item that you are on such as enchanted cobblestone, right click to set the amount, left click to craft 1, shift click to create max. In the lore it tells you Max: (max amount you can craft)

Kodari AI
KodariAug 13 at 6:21 am 3
FancyRecipes
A customizable inventory GUI plugin for admins to display and manage recipes, fully integrated with Fancy Crafting and ILibrary. Admins can browse recipe folders and view recipe details in a clean, organized interface. The plugin automatically syncs with Fancy Crafting and ILibrary to create recipes in the recipe book. Features a Super Crafting system allowing players to instantly craft items from the GUI: left-click crafts one item, right-click opens a menu to set the desired amount, and shift-click crafts the maximum possible quantity. Item lore displays the maximum craftable amount based on available materials. The GUI is fully customizable with configurable slots, icons, and layout, providing a seamless recipe discovery and crafting experience.
  1. Create the Gradle project, plugin metadata, and customizable default configuration.

  2. Add recipe models, config loading, native recipe-book registration, crafting logic, and optional plugin detection.

  3. Add reusable inventory GUI infrastructure plus recipe browser, detail, and amount-selection screens.

  4. Register commands and listeners through the main plugin class.

Created Fancy Recipes from scratch with:

  • Gradle project and plugin metadata

  • Configurable recipe definitions, folders, GUI titles, items, lore, and messages

  • Native Bukkit/Paper recipe registration and recipe-book discovery

  • FancyCrafting and ILibrary detection hooks

  • Recipe browser GUI with pagination

  • Recipe detail GUI showing crafting ingredients

  • Super Crafting controls:

    • Left click: craft 1

    • Shift-left click: craft maximum

    • Right click: choose amount

  • Amount selector for 1, 8, 16, 32, 64, or maximum

  • Permission support and /fancyrecipes reload

  • XSeries-based material and enchantment compatibility

  • Inventory transaction rollback if the output inventory is full

realprinario-ctrl

What I meant was a custom recipe viewer that's clean and allows you to select /recipesadmin editgui and allows you to edit the INVENTORY GUI and shi, but mainly what I meant wasn't a crafting plugin, I meant a RECIPE VIEWER FOR fancy crafting. Nothing more nothing less. Just make sure it comes feature packed with super crafting and stuff. No slip ups this time. You heard what I said, a Plugin for VIEWING recipes OF fancy crafting. NOT a custom crafting plugin

Kodari AI
KodariAug 14 at 4:05 am 4
  1. Remove Fancy Recipes’ native recipe registration and manual crafting so it only displays FancyCrafting recipes.

  2. Add /recipesadmin editgui with a persistent admin GUI for editing the viewer layout, not recipes.

  3. Preserve the clean recipe viewer and add only viewer-side “super crafting” guidance/actions that delegate to FancyCrafting when its API is available.

  4. Update configuration and metadata to match the viewer-only scope.

The current code was registering Bukkit recipes and removing ingredients itself, which violated the requested scope. I’m replacing that path with read-only recipe discovery, delegating Super Crafting to a configurable FancyCrafting command, and adding a real layout editor that saves inventory decoration slots to config.

Implemented the correction:

  • Removed Fancy Recipes’ native recipe registration.

  • Removed all manual ingredient removal and output insertion.

  • Recipe data is now read-only and sourced from registered FancyCrafting recipes.

  • Normal GUI is strictly a recipe viewer.

  • Added /recipesadmin editgui.

  • Added a persistent inventory layout editor:

    • Place decoration items into the GUI.

    • Save the layout.

    • Reset the layout.

    • Preview the player-facing recipe viewer.

  • Added configurable folder paths, permissions, recipe limits, titles, buttons, lore, and layout items.

  • Kept Super Crafting as a delegation layer only:

    • Left-click requests one craft.

    • Shift-left requests the maximum.

    • Right-click opens amount selection.

    • No ingredients are consumed by Fancy Recipes.

    • The action is forwarded to a configurable FancyCrafting command.

  • Added FancyCrafting namespace filtering.

  • Vanilla recipes are excluded by default.

  • ILibrary and FancyCrafting remain soft dependencies.

Configure the FancyCrafting command in:

YAML
integrations:
  super-crafting-command: ''

Use FancyCrafting’s actual command syntax there with {id} and {amount} placeholders. Fancy Recipes will not perform crafting itself.

realprinario-ctrl

Basicly the INVENTORY GUI lets you put in items and see the recipe kinda like a Chest INVENTORY GUI so

Kodari AI
KodariAug 14 at 4:09 am 1
  1. Make the viewer a chest-style recipe display: ingredients in the crafting layout, result, and navigation controls.

  2. Keep /recipesadmin editgui focused on placing/editing decorative inventory items and saving the layout.

  3. Ensure clicks only navigate, open Super Crafting through FancyCrafting, or edit the viewer GUI—never register or perform custom recipes.

The current viewer has the right screen flow, but its recipe grid reduces FancyCrafting ingredients to plain materials. That loses custom item names, lore, and metadata—the important part of viewing FancyCrafting recipes. I’m changing the detail chest to render the actual ingredient ItemStacks and making Super Crafting’s maximum calculation compare the full items rather than only their material.

The recipe detail now uses the actual FancyCrafting ingredient items, so custom metadata is visible instead of being flattened to material names. I’m tightening the same display and max-count logic for recipes that require multiple units per ingredient slot, and fixing the configurable chest size so navigation never writes outside the inventory.

Updated the plugin to match the intended chest-style recipe viewer:

  • Recipe details now display ingredients in a 3×3 crafting-grid layout.

  • Ingredients retain FancyCrafting item metadata, including:

    • Custom names

    • Lore

    • Enchantments

    • Custom item properties

  • The result is displayed separately on the right side of the recipe.

  • Added a clear “Produces” indicator between the grid and result.

  • Super Crafting remains available through FancyCrafting delegation only.

  • Maximum craft calculations now compare full item data instead of material type alone.

  • The viewer does not register recipes, create recipes, consume ingredients, or act as a crafting system.

  • /recipesadmin editgui remains the GUI layout editor for decorations, buttons, and presentation.

  • Added inventory-size safety so navigation buttons cannot be placed outside smaller configured menus.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
19 1,122
src/main/java/com/kodari/fancyrecipes/FancyRecipesPlugin.java
package com.kodari.fancyrecipes;

import com.kodari.fancyrecipes.command.FancyRecipesCommand;
import com.kodari.fancyrecipes.gui.GUIListener;
import com.kodari.fancyrecipes.gui.GUIManager;
import com.kodari.fancyrecipes.integration.IntegrationManager;
import com.kodari.fancyrecipes.recipe.RecipeManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class FancyRecipesPlugin extends JavaPlugin {
    private RecipeManager recipeManager;
    private GUIManager guiManager;
    private IntegrationManager integrationManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        this.guiManager = new GUIManager();
        this.integrationManager = new IntegrationManager(this);
        this.recipeManager = new RecipeManager(this);
        this.recipeManager.load();
        Bukkit.getPluginManager().registerEvents(new GUIListener(this.guiManager), this);
        FancyRecipesCommand command = new FancyRecipesCommand(this);
        if (getCommand("fancyrecipes") != null) {
            getCommand("fancyrecipes").setExecutor(command);
            getCommand("fancyrecipes").setTabCompleter(command);
        }
        if (getCommand("recipesadmin") != null) {
            getCommand("recipesadmin").setExecutor(command);
            getCommand("recipesadmin").setTabCompleter(command);
        }
    }

    public RecipeManager getRecipeManager() {
        return this.recipeManager;
    }

    public GUIManager getGuiManager() {
        return this.guiManager;
    }

    public IntegrationManager getIntegrationManager() {
        return this.integrationManager;
    }
}