Marcell Vörös

Create a Minecraft mod for Forge [or Fabric / NeoForge – change as needed] for a recent stable version (e.g., 1.20.1) that extends the player's inventory screen (GUI).

Core Features & Requirements:

UI Positioning & Dynamic Shift:

Add two new buttons/panels to the right side of the inventory GUI:

Calculator

Notepad

Critical Requirement: Account for the vanilla Minecraft Recipe Book toggle! When the player opens the Recipe Book in the inventory, the main inventory GUI shifts to the right. The two new buttons and any open panels must dynamically adjust and automatically slide further right so they never overlap or clip into the Recipe Book or the main inventory screen.

Calculator Panel:

Pixel-art, authentic Minecraft-style UI texture (stone/wood/gui themed buttons).

Basic arithmetic operations: addition, subtraction, multiplication, division, clear (C/CE), and equals (=).

A clean, legible display field rendered using Minecraft’s default font renderer.

Notepad Panel:

Support for multi-line text editing.

Formatting Features:

Underline text

Highlight text (custom background color or distinct text color)

Interactive checklist (toggleable checkboxes)

Notes must save locally (client-side) so they persist across re-logging, world reloads, or switching servers.

Technical Requirements:

Provide clean, well-commented Java (or Kotlin) code.

Utilize Screen and GuiGraphics (or PoseStack) rendering events for drawing elements.

Include the recommended project structure, build.gradle configuration, event listener registration, and any necessary GUI mixins or overlays.

Kodari AI
KodariOct 10 at 12:02 am 7
InventoryCompanionTools
Fabric mod for Minecraft 1.20.1 that extends the player inventory screen with two dynamic panels: a calculator and a notepad. Both panels position on the right side of the inventory GUI and automatically shift when the Recipe Book toggles open, preventing overlap. The calculator features pixel-art Minecraft-style buttons with basic arithmetic operations and a clean display using the default font renderer. The notepad supports multi-line text editing, underline formatting, text highlighting, and interactive checklists. All notes persist client-side across sessions, world reloads, and server switches. Utilizes Screen and GuiGraphics rendering events with clean, well-commented Java code, proper build.gradle configuration, and event listener registration.
  1. Hook the vanilla inventory with right-side calculator and notepad controls, positioning them from the recipe-book state.

  2. Build both panels with owo-ui and save formatted notes locally on the client.

  3. Add the Fabric 26.3 project configuration, client entrypoint, and required resources.

Implemented the client-only Fabric 26.3 mod. The inventory’s Calc and Notes controls are attached with owo-ui and track the inventory position as the recipe book opens or closes. The calculator supports basic arithmetic; the notepad provides multiline editing, underline/highlight formatting, and an editable checklist saved locally in config/kodari_inventory_tools.properties.

Added the stone-and-wood panel texture, Gradle/Loom configuration, Fabric metadata, and manifest.kod for owo-lib. No mixin is needed.

Marcell Vörös

how do i open the notes?

Kodari AI
KodariOct 10 at 4:33 pm 1

Press E to open your inventory, then click Notes on the right side of the inventory. If the Recipe Book is open, the button shifts farther right to stay clear of it.

Marcell Vörös

there are no notes button, make 2 buttons for each, one for the calc, the other for the notes, give both an icon, and make them appear in creative mode too

Kodari AI
KodariOct 10 at 4:43 pm 6
  1. Fix the inventory controls so both buttons reliably appear in survival and creative inventories.

  2. Give Calc and Notes distinct icons and keep their position clear of the recipe book.

  3. Verify the screen/UI APIs used before patching.

Added separate icon buttons for Calculator and Notepad beside both survival and creative inventories. They track the inventory position as the recipe book opens or closes; clicking them opens the respective screen.

Marcell Vörös

give them better UI, and make them fit minecraft, but more modern and easy for the eyes.

Kodari AI
KodariOct 10 at 4:53 pm 1
  1. Refresh the calculator and notepad styling with a cohesive, Minecraft-inspired modern look.

  2. Check the current screen code and owo-ui guidance, then update the UI without changing its behavior.

Updated both screens with a cleaner Minecraft-inspired palette: dark slate panels, warm copper trim, clearer text hierarchy, and matching calculator/notepad icons. The calculator now has a tidy 4×4 keypad with separate CE and = buttons; the notepad has a more readable editor, formatted preview, and clearer checklist.

Marcell Vörös

the calc doesnt have a "=" button and i cant type in it with keyboard, extend the checklist in the notes so its not just a small part of the UI, and give the avaibility to remove checklists. Make both like real notes and calculators, so remove the minecraft style

Kodari AI
KodariOct 10 at 7:17 pm 4
  1. Fix calculator keyboard input and ensure the = control is visible and works.

  2. Expand checklist editing, add checklist removal, and restyle both screens as clean modern notes/calculator interfaces.

Updated both screens with a modern, clean interface instead of the Minecraft-style panels.

  • Calculator: The expression field accepts keyboard input; the visible = button evaluates it. Supports +, −, ×, ÷, decimals, and parentheses, with separate C and CE controls.

  • Notes: The checklist now has a large, scrollable area. Remove tasks individually with ×, or clear the whole list with Clear. Notes and checklist changes continue to save locally.

Marcell Vörös

Fix the calc from all the bugs, and give notes more pages to make different notes, so its like a book

Kodari AI
KodariOct 10 at 7:31 pm 4
  1. Audit and fix calculator input, editing, and arithmetic issues.

  2. Turn Notes into a multi-page notebook with page navigation and separate saved notes.

Calculator fixes are in: keypad clicks return focus to the expression field, CE handles parenthesized entries, edits refresh the result, and decimal arithmetic avoids floating-point display errors.

Updated the calculator and notes:

  • Calculator: The expression field is focused when opened and regains focus after keypad or = clicks, so you can keep typing. Results update as you edit; arithmetic uses decimal precision, and CE handles parenthesized entries.

  • Notes book: Added page navigation, + Page, editable page titles, and Delete. Each page keeps its own note, formatting, and checklist, saved locally with the selected page. Existing single-note data is migrated into the first page.

Marcell Vörös

the calc owo ui error

Kodari AI
KodariOct 10 at 8:02 pm 1

Moved calculator field focus until the first screen tick, after owo-ui finishes building the screen. This avoids focusing the text box during UI initialization while keeping keyboard input available.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
IMPORTANT.txt
manifest.kod
settings.gradle
Code
14 995
src/client/java/com/kodari/inventorytools/client/KodariInventoryToolsClient.java
package com.kodari.inventorytools.client;

import net.fabricmc.api.ClientModInitializer;

public final class KodariInventoryToolsClient implements ClientModInitializer {

    @Override
    public void onInitializeClient() {
        InventoryToolsLayer.register();
    }
}