Firstly Sorry

Create a Minecraft 26.3 client-side Fabric mod (Loader 0.19.5, Java 25) named "CraftPilot". Zero server installation required. -GUI & Search: Open a clean GUI via a key (default K). Features an instant local item search bar (no server wait) with icons/names. Select items and target quantities (or MAX). -Auto-Crafting: At a crafting table, press a shortcut (e.g., Shift+K) to auto-fill grids, handle multi-stage recipes (e.g., logs -> planks -> sticks), and craft repeatedly until target/MAX is reached or materials run out, collecting items automatically.

  • Make it easy to use and compatible. and for logo of the mod use this "https://i.imgur.com/ZbsAU40.png"

-Side: MAKE IT FOR CLIENT SIDE NOT SERVER SIDE. -Inventory & Controls: Combine stacks, optional safe auto-disposal of junk (never touching valuable/enchanted items), pause/resume/cancel, and persistent settings. -Technical: Use local registries, interact solely via standard client inventory/crafting actions respecting server validation (no dupes/cheats), and handle server rejections gracefully.

Provide the complete source code and build instructions.

Kodari AI
KodariOct 31 at 5:05 pm 4
CraftPilot
Client-side Fabric mod for Minecraft 26.3 providing an intuitive crafting assistant. Press K to open a clean GUI with instant local item search, select items and target quantities. At a crafting table, press Shift+K to auto-fill grids, handle multi-stage recipes, and craft repeatedly until target reached. Features stack combining, safe junk disposal that never touches valuable items, pause/resume/cancel controls, and persistent settings. Uses only standard client inventory actions respecting server validation with graceful rejection handling. Zero server installation required.
  1. Set up the Fabric 26.3 client-only project and dependencies.

  2. Build the owo search/selection screen and persistent key/settings controls.

  3. Implement recipe planning, crafting-table grid filling/repeats, safe inventory sorting/disposal, and graceful pause/cancel behavior.

  4. Include source and the Kodari compile/download steps.

Created CraftPilot as a client-only Fabric 26.3 mod. Press K to open item search; select an item, set a target total or choose MAX, then start crafting with a crafting-table menu open. Shift+K starts the selected target directly.

Crafting uses learned recipe-book entries and normal, server-validated menu actions. It plans multi-stage recipes locally, waits for server menu updates, and stops without retrying if an action isn’t confirmed. Stack combining is optional; disposal is limited to plain, non-enchanted poisonous potatoes. Recipe availability depends on recipes learned in the current world, and crafting may stop if there’s no inventory space for results.

The Imgur logo wasn’t embedded: the workspace doesn’t have the PNG as a local asset. Upload the image to the project to use it as the mod icon.

Compile and download in Kodari:

  1. Click Compile in the desktop top bar, or on phone tap ⋮ → Compile Project.

  2. Click Compile in the window.

  3. After it succeeds, click Download on the build or Download CraftPilot.jar in the chat.

Firstly Sorry

how to use it? i have a lot of oak logs in my inventory i want max sticks crafted

Kodari AI
KodariOct 31 at 5:12 pm 1
  1. Open a crafting table and make sure the oak logs are in your inventory.

  2. Press K, search for Stick, and select it.

  3. Choose MAX, then start crafting. Or select Stick in the GUI and press Shift+K to start directly.

CraftPilot should turn logs into planks, then planks into sticks, using normal crafting actions. It stops when it runs out of materials, runs out of inventory space, or the server doesn’t confirm a crafting action. It can only plan recipes you’ve learned in that world—if it can’t find the oak-planks or stick recipe, unlock them in the recipe book first.

Firstly Sorry

not working when i click shift+K its not doing anything. you are an idiot

Kodari AI
KodariOct 31 at 5:17 pm 1
  1. Make Shift+K run the selected item as MAX, rather than the configured fixed quantity.

  2. If the shortcut can’t start—such as no item selected or no crafting table open—open CraftPilot so its status explains why.

Fixed: Shift+K now starts MAX crafting for the item you selected in CraftPilot. If it can’t start—for example, no item is selected or no crafting table is open—it opens CraftPilot so you can see the reason.

Compile and download the updated jar, then select Stick, open a crafting table with an empty grid, and press Shift+K.

Firstly Sorry

tell me step by step what to do

Kodari AI
KodariOct 31 at 5:29 pm 1
  1. Compile the updated CraftPilot project in Kodari: click Compile at the top, then Compile again in the build window.

  2. Download the new CraftPilot.jar and replace the old CraftPilot jar in your client’s mods folder.

  3. Launch Minecraft with Fabric 26.3 and join your world.

  4. Learn the Oak Planks and Stick recipes if you haven’t already.

  5. Put the oak logs in your inventory, then open a crafting table. Leave its crafting grid empty.

  6. Press K, search for Stick, and select it.

  7. Close the CraftPilot screen, then press Shift+K. It should start crafting toward MAX.

If it doesn’t start, press K again and check the status message; make sure a crafting table is open and Stick is selected.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
10 957
src/client/java/dev/kodari/craftpilot/CraftPilotClient.java
package dev.kodari.craftpilot;

import com.mojang.blaze3d.platform.InputConstants;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.keymapping.v1.KeyMappingHelper;
import net.minecraft.client.KeyMapping;
import net.minecraft.client.Minecraft;
import net.minecraft.world.item.Item;

public final class CraftPilotClient implements ClientModInitializer {

    public static final String MOD_ID = "craftpilot";
    public static final CraftingController CRAFTING = new CraftingController();
    private static KeyMapping openKey;
    private static Item selectedItem;

    @Override
    public void onInitializeClient() {
        CraftPilotConfig.load();
        openKey = KeyMappingHelper.registerKeyMapping(new KeyMapping(
                "key.craftpilot.open",
                InputConstants.Type.KEYBOARD,
                InputConstants.KEY_K,
                KeyMapping.Category.MISC
        ));

        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            if (openKey.consumeClick()) {
                if (client.hasShiftDown()) {
                    if (selectedItem == null) {
                        CRAFTING.setMessage("Select an item in CraftPilot first.");
                        client.gui.setScreen(new CraftPilotScreen());
                    } else {
                        if (!CRAFTING.start(client, selectedItem, CraftPilotConfig.targetCount(), true)) {
                            client.gui.setScreen(new CraftPilotScreen());
                        }
                    }
                } else {
                    client.gui.setScreen(new CraftPilotScreen());
                }
            }

            CRAFTING.tick(client);
        });
    }

    public static Item selectedItem() {
        return selectedItem;
    }

    public static void selectedItem(Item item) {
        selectedItem = item;
    }

    public static void open(Minecraft client) {
        client.gui.setScreen(new CraftPilotScreen());
    }
}