hehhfhf cuhfnfngjkyj

Act as a senior Minecraft Java mod developer.

I want you to develop a complete, working Fabric client-side mod named RecipeBookBridge for Minecraft Java Edition 1.21.11.

IMPORTANT: I will provide two reference images. Study both images carefully before developing. Do not create a different UI design.

MAIN OBJECTIVE

When a player opens a Crafting Table:

  1. Add a new custom book button ABOVE the original vanilla recipe-book button.
  2. The original Minecraft recipe-book button must remain unchanged.
  3. When the player clicks the new button, open a completely custom recipe GUI.
  4. The GUI must closely match my second reference image.

CUSTOM GUI REQUIREMENTS

The custom GUI should:

  • Display available custom recipes.
  • Display recipe names and item icons.
  • Show the required ingredients.
  • Show the required item quantities.
  • Show the final crafting result.
  • Include a Proceed button.
  • Include a Back button.
  • Update the displayed information when another recipe is selected.
  • Have a clean Minecraft-style interface.
  • Support different screen resolutions.

SERVER COMMUNICATION

The mod must communicate with my separate Paper server plugin.

The mod must:

  • Request the available recipes from the server.
  • Receive recipe information from the server.
  • Display the received recipes.
  • Send the selected recipe ID when Proceed is clicked.
  • Receive success or failure responses.
  • Refresh the GUI when required.

The mod must NOT independently decide whether a player has enough ingredients or whether crafting is valid. The server plugin is authoritative.

TECHNICAL REQUIREMENTS

  • Minecraft: Java Edition 1.21.11
  • Mod Loader: Fabric
  • Language: Java
  • Use compatible Fabric API and Fabric Loader versions.
  • Java 21.
  • Use proper Minecraft 1.21.11 mappings and APIs.
  • No unnecessary dependencies.
  • Do not require a datapack.
  • Do not require another gameplay mod.

NETWORKING

Use a properly implemented custom networking system compatible with the Paper plugin.

Use the shared channel:

recipebookbridge:main

Define and document packet formats for:

  • Recipe list requests.
  • Recipe list responses.
  • Crafting requests.
  • Crafting success responses.
  • Crafting failure responses.

Ensure the mod and plugin use exactly the same protocol.

BUILD REQUIREMENTS

Provide:

  1. Complete Java source code.
  2. Complete Gradle project.
  3. fabric.mod.json.
  4. All required resources and textures.
  5. README with installation instructions.
  6. A working compiled JAR.

Build output must be:

RecipeBookBridge-Fabric-Mod-1.21.11.jar

STRICT RULES

  • No pseudocode.
  • No missing classes or methods.
  • No fake JAR files.
  • No incomplete implementations.
  • No placeholder networking.
  • No deprecated APIs when a supported alternative exists.
  • Do not claim the mod works without testing it.

Before delivering, compile the project and fix ALL compilation errors.

Test the mod on Minecraft 1.21.11 with Fabric.

If something is incompatible, fix it instead of silently removing the feature.

Deliver the complete source project AND the actual compiled JAR.

Kodari AI
KodariNov 13 at 7:53 am 1
RecipeBookBridge
A Fabric client-side mod for Minecraft 1.21.11 that adds a custom recipe book button above the vanilla recipe book button in the crafting table interface. When clicked, it opens a custom GUI displaying server-provided recipes with names, icons, ingredients, quantities, and results. Features Proceed and Back buttons, dynamic recipe selection updates, and clean Minecraft-style UI supporting various resolutions. Communicates with a Paper server plugin via the recipebookbridge:main channel to request recipes, send crafting requests, and receive authoritative success/failure responses. The server remains the sole authority on crafting validity and ingredient checks.

Please upload both reference images before I build the interface.

Also provide the Paper plugin’s source or its recipebookbridge:main packet specification. Using the same channel alone doesn’t guarantee the mod and plugin use the same protocol.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code