Hi Ai

Project: Robin SMP Client — Minecraft 1.21.4 Fabric

Act as an expert Minecraft Java Edition mod developer specializing in Fabric, Java, LWJGL, Minecraft rendering, HUD systems, and client-side performance optimization.

Build a complete, professional, feature-rich Minecraft SMP client mod for Minecraft Java Edition 1.21.4 using Fabric Loader and Fabric API.

The mod must function as a standalone client-side Fabric mod, installable by placing the compiled JAR file inside the Minecraft "mods" folder.

  1. Project Configuration
  • Client Name: Robin SMP Client
  • Minecraft Version: 1.21.4
  • Mod Loader: Fabric
  • Language: Java
  • Java Version: Java 21
  • Mod ID: "robinsmp"
  • Package Name: "com.robin.smpclient"
  • Main Menu Branding: Robin SMP Client
  • Default GUI Key: Right Shift
  • Target: Minecraft Java Edition
  • Design: Modern, lightweight, customizable, SMP-focused client
  • Distribution: A working Fabric mod JAR and complete source code ZIP

Use compatible dependencies for Minecraft 1.21.4. Do not use APIs, rendering classes, or mappings from incompatible Minecraft versions.

  1. Modern Client Click GUI

Create a beautiful, modern Click GUI that opens when the player presses Right Shift.

GUI design

  • Dark background with subtle transparency.
  • Clean panels and rounded visual elements where supported.
  • Smooth animations and transitions.
  • Customizable accent colors.
  • Search bar for finding modules.
  • Categories displayed in a sidebar.
  • Toggle switches for enabling and disabling modules.
  • Sliders for numerical settings.
  • Dropdown menus for modes.
  • Color pickers.
  • Reset-to-default buttons.
  • Scrollable module lists.
  • Responsive layout for different screen resolutions.

Categories

  1. HUD
  2. Visuals
  3. Minimap
  4. Player
  5. World
  6. Performance
  7. Cosmetics
  8. General

Every module must have its own settings screen or expandable configuration panel.

  1. Minimap System

Implement a useful, customizable minimap suitable for SMP gameplay.

Features:

  • Real-time top-down minimap.
  • Player position indicator.
  • North direction indicator.
  • Coordinates display.
  • Zoom in and out.
  • Adjustable minimap size.
  • Adjustable opacity.
  • Configurable position on the screen.
  • Square and circular display modes.
  • Customizable background and border.
  • Player direction indicator.
  • Configurable waypoint markers.
  • Waypoint names and coordinates.
  • Add, edit, and delete waypoints.
  • Distance to waypoint.
  • Optional death-location marker.
  • Configurable map rotation.
  • Save waypoints between sessions.

Respect server rules and avoid hidden-player tracking or features that reveal information unavailable to the player through legitimate gameplay.

  1. Motion Blur

Implement a client-side motion blur effect.

Settings:

  • Enable/disable motion blur.
  • Blur intensity slider.
  • Blur strength presets.
  • Adjustable fade duration.
  • Configurable motion smoothing.
  • Performance-friendly rendering.
  • Proper cleanup when disabled.

Use a suitable rendering approach compatible with Minecraft 1.21.4. Avoid expensive per-frame allocations and excessive GPU usage.

Motion blur must not make text, HUD elements, or menus unnecessarily difficult to read.

  1. Armour HUD

Create a customizable Armour HUD.

Features:

  • Display all equipped armour pieces.
  • Show armour durability.
  • Display remaining durability as a percentage.
  • Show item icons.
  • Optional durability bars.
  • Optional numerical durability.
  • Highlight low-durability armour.
  • Adjustable layout and spacing.
  • Horizontal and vertical layouts.
  • Configurable position and scale.
  • Optional offhand item display.
  • Optional held-item display.
  • Automatic updates when equipment changes.
  1. Potion Effects HUD

Create a complete Potion Effects HUD.

Features:

  • Display active potion effects.
  • Effect icons.
  • Effect names.
  • Remaining duration.
  • Amplifier levels.
  • Configurable compact and expanded layouts.
  • Sort effects by remaining duration or name.
  • Highlight effects that are about to expire.
  • Hide or show specific effects.
  • Adjustable position and scale.
  • Automatic updates when effects change.

Display effect information accurately and avoid unnecessary HUD updates.

  1. Skin Changer and Cosmetics

Create a Skin and Cosmetics section.

Features:

  • Preview the player's character.
  • Allow selection of supported local skin files.
  • Support valid Minecraft skin PNG files.
  • Preview the skin before applying it.
  • Support compatible player skin model options where applicable.
  • Save cosmetic preferences locally.
  • Restore default appearance.
  • Provide clear error messages for invalid files.

Important implementation requirement:

Do not assume a client-side mod can universally change the authenticated Minecraft account skin for every server or every other player. Implement local previews and supported local appearance options separately from account-level skin changes.

Do not bypass Microsoft authentication or impersonate another player's account.

  1. Keystrokes HUD

Create a highly customizable Keystrokes HUD.

Display:

  • W, A, S, D.
  • Spacebar.
  • Left mouse button.
  • Right mouse button.
  • Optional sprint key.
  • Optional sneak key.
  • Optional jump indicator.
  • Optional CPS counter for left and right clicks.

Features:

  • Real-time keypress highlighting.
  • Mouse-click animation.
  • Adjustable key sizes.
  • Customizable colors.
  • Customizable background opacity.
  • Adjustable spacing.
  • Configurable position.
  • Horizontal and vertical layouts.
  • Toggle individual keys.
  • Customizable text size.
  • Optional rounded key backgrounds.

CPS must be measured from actual registered click events, without generating automated clicks.

  1. Fullbright

Implement a configurable Fullbright feature for improved visibility.

Features:

  • Enable/disable toggle.
  • Adjustable brightness mode where technically supported.
  • Smooth transitions.
  • Restore normal visual settings when disabled.
  • Compatibility with common Fabric rendering configurations.

Do not permanently modify the player's world or server settings.

  1. Additional SMP HUD Modules

Implement the following modules as separate, independently configurable features.

Essential HUDs

  • Coordinates HUD: X, Y, Z.
  • Direction HUD: North, South, East, West.
  • FPS counter.
  • Ping display.
  • Server address and connection status.
  • Biome display.
  • Clock HUD.
  • In-game day and time.
  • Speed display.
  • Current dimension.
  • Memory usage indicator.
  • Durability warnings.
  • Held-item HUD.
  • Offhand item HUD.
  • Totem counter.
  • Golden apple counter.
  • Experience level HUD.
  • Food and saturation information where available.
  • Health display.
  • Armour status display.
  • Potion effects display.
  • Death coordinates.
  • Waypoint distance.
  • Status-effect expiration warnings.

Combat and PvP HUDs

  • CPS counter.
  • Reach-distance display where legitimately measurable.
  • Hit indicator for registered hits.
  • Combo counter based on actual game events.
  • Target information for legitimately visible entities.
  • Attack cooldown indicator.
  • Crosshair customization.
  • Crosshair dynamic sizing.
  • Hit-marker customization.
  • Totem pop counter when supported by observable game events.
  • Item cooldown indicators.

All modules must be independently configurable.

Do not implement automated attacks, aim assistance, packet manipulation, anti-cheat bypasses, or other features intended to create unfair gameplay advantages.

Inventory and Utility HUDs

  • Inventory status display.
  • Selected hotbar slot indicator.
  • Offhand item display.
  • Nearby container information when legitimately available.
  • Low-durability notifications.
  • Low-health warning.
  • Potion expiration warning.
  • Item cooldown display.
  • Current tool information.
  • Block-breaking progress indicator.

World Information HUDs

  • Coordinates.
  • Direction.
  • Biome.
  • Dimension.
  • Day counter.
  • Time display.
  • Weather information.
  • Current movement speed.
  • Fall-distance information when available.
  • Waypoint distance.
  • Death-location marker.

Every HUD module must be optional.

  1. HUD Editor

Create a dedicated HUD Editor.

Requirements:

  • Open through the Click GUI.
  • Display draggable HUD previews.
  • Move HUD elements using touchpad or mouse input.
  • Resize supported HUD elements.
  • Snap elements to screen edges.
  • Provide alignment guides.
  • Prevent HUD elements from becoming permanently inaccessible off-screen.
  • Reset individual elements.
  • Reset all HUD positions.
  • Preview changes in real time.
  • Save positions and settings automatically.

Each HUD element should have independent X and Y coordinates, scale, opacity, and visibility settings where applicable.

  1. Module Management

Build an extensible module architecture.

Each module should support:

  • Unique module ID.
  • Display name.
  • Description.
  • Category.
  • Enable/disable state.
  • Configuration settings.
  • Initialization and cleanup.
  • Persistent settings.
  • Compatibility checks where required.

Provide a central ModuleManager responsible for registration, lookup, enabling, disabling, and configuration.

Avoid putting the entire client implementation into one enormous Java class.

Organize the source code into maintainable packages such as:

  • "com.robin.smpclient"
  • "com.robin.smpclient.gui"
  • "com.robin.smpclient.module"
  • "com.robin.smpclient.module.hud"
  • "com.robin.smpclient.module.visual"
  • "com.robin.smpclient.module.minimap"
  • "com.robin.smpclient.config"
  • "com.robin.smpclient.render"
  • "com.robin.smpclient.util"
  1. Configuration System

Implement persistent configuration storage.

Requirements:

  • Save settings in JSON format.
  • Load settings automatically when the game starts.
  • Save module enable/disable states.
  • Save HUD positions and scales.
  • Save GUI theme and accent color.
  • Save minimap waypoints.
  • Validate configuration data.
  • Handle missing or corrupted configuration files safely.
  • Provide a reset configuration option.
  • Avoid overwriting valid settings with invalid defaults.

Store configuration in an appropriate directory under the Minecraft instance's configuration folder.

  1. Performance Optimization

The client must be optimized for smooth gameplay, including systems with limited memory.

Requirements:

  • Avoid unnecessary background threads.
  • Avoid memory leaks.
  • Avoid per-frame object allocations wherever practical.
  • Avoid repeatedly reading configuration files during rendering.
  • Update expensive data only when necessary.
  • Use efficient rendering methods.
  • Clean up rendering resources correctly.
  • Avoid blocking the main game thread with file operations or network requests.
  • Ensure disabling a module releases its resources.
  • Keep HUD rendering lightweight.
  • Provide settings for expensive visual effects.
  • Ensure that disabling all optional modules leaves the game playable.

Do not promise a specific FPS increase. Measure performance where possible and prioritize stability.

  1. Compatibility

Target Minecraft 1.21.4 and use compatible versions of:

  • Fabric Loader.
  • Fabric API.
  • Fabric Loom.
  • Java 21.
  • Required rendering dependencies, if any.

Use Yarn mappings consistently if the project is configured for Yarn.

Verify rendering hooks and event APIs against the selected Minecraft and Fabric versions.

Do not mix Mojang mappings with Yarn-mapped source code without an intentional, supported configuration.

Test compatibility with commonly used Fabric mods where feasible, including Sodium, without assuming every rendering mod is compatible.

  1. Error Handling and Testing

Before delivering the project:

  • Verify the Gradle configuration.
  • Verify all dependencies.
  • Verify the Fabric mod metadata.
  • Verify all imports and package declarations.
  • Compile the project.
  • Fix compilation errors.
  • Check for incompatible method signatures.
  • Check that the Click GUI opens.
  • Check that every implemented module can be enabled and disabled.
  • Check that settings persist after restarting the game.
  • Check that HUD elements remain visible at different resolutions.
  • Check that the mod does not crash when optional modules are disabled.
  • Check for common rendering lifecycle errors.

Do not claim the mod has been tested unless it has actually been built and tested.

  1. Required Deliverables

Provide:

  1. Complete Java source code.
  2. Complete Gradle project.
  3. "settings.gradle".
  4. "build.gradle".
  5. "gradle.properties".
  6. Fabric "fabric.mod.json".
  7. All required resources.
  8. All module implementations.
  9. Complete configuration system.
  10. Click GUI and HUD Editor.
  11. README with installation instructions.
  12. A ZIP containing the complete source project.
  13. A compiled JAR compatible with Minecraft 1.21.4 Fabric.

The source code must be complete, not pseudocode.

Do not leave empty methods, fake implementations, TODO placeholders, or buttons that do nothing.

If a feature cannot be implemented reliably, explain the limitation instead of pretending it works.

If the full project is too large to generate at once, deliver it in logically organized parts while preserving a consistent project structure and ensuring all parts work together.

Final Goal

Create Robin SMP Client as a polished, stable, lightweight Minecraft 1.21.4 Fabric client with a modern Click GUI, extensive SMP HUDs, a configurable minimap, motion blur, Fullbright, Armour HUD, Potion HUD, Keystrokes, supported skin customization, and persistent settings.

Prioritize functionality, stability, performance, clean code, and compatibility over unnecessary visual effects.

Kodari AI
KodariOct 18 at 3:04 pm 3
RobinSmpClient
Robin SMP Client is a comprehensive client-side Fabric mod for Minecraft 1.21.4, featuring a modern Click GUI with search and categories, customizable minimap with waypoints, motion blur, armour and potion HUDs, keystrokes display, fullbright, and numerous SMP-focused HUD modules. It includes a drag-and-drop HUD editor, persistent JSON configuration, skin preview, and performance optimizations for smooth gameplay.
  1. Bootstrap the Fabric 1.21.4 client project and persistent module settings.

  2. Add the Right Shift Click GUI and lightweight, independently toggleable SMP HUD modules.

  3. Add resources and installation/use documentation; call out features that need deeper renderer or skin integration rather than faking them.

Created the Robin SMP Client Fabric project with Gradle metadata, client-only mod registration, a Right Shift Click GUI, saved module toggles and accent color, and optional HUDs for coordinates, direction, FPS, keystrokes, health, hunger, held/offhand items, attack cooldown, armour durability, potion effects, biome, dimension, and world time. It also includes a north-up local-terrain minimap and Fullbright that restores the previous gamma setting when disabled.

This is a functional foundation, not the full feature set requested. Motion blur, skin-file previews/application, editable waypoints, a drag-and-drop HUD editor, CPS/hit tracking, and several other requested modules are not implemented; the README lists these limitations. I have not built or tested the project, and no JAR or source ZIP was generated here.

To build and download the JAR in Kodari: click Compile in the desktop top bar, then Compile in the window; on phone, tap ⋮ → Compile Project, then Compile. After a successful build, click Download on that build and place the JAR in the Minecraft instance’s mods folder.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
README.md
settings.gradle
Code
15 815
src/main/java/com/robin/smpclient/RobinSmpClient.java
package com.robin.smpclient;

import com.robin.smpclient.config.ConfigStore;
import com.robin.smpclient.gui.ClickGuiScreen;
import com.robin.smpclient.module.ModuleManager;
import com.robin.smpclient.render.HudRenderer;
import com.robin.smpclient.render.MinimapRenderer;
import com.robin.smpclient.util.FullbrightController;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper;
import net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.option.KeyBinding;
import org.lwjgl.glfw.GLFW;

public final class RobinSmpClient implements ClientModInitializer {
    private static KeyBinding openGuiKey;

    @Override
    public void onInitializeClient() {
        ConfigStore.load(ModuleManager.INSTANCE);
        openGuiKey = KeyBindingHelper.registerKeyBinding(
                new KeyBinding("key.robinsmp.open_gui", GLFW.GLFW_KEY_RIGHT_SHIFT, "category.robinsmp"));

        HudRenderCallback.EVENT.register((context, tickCounter) -> HudRenderer.render(context));
        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            if (openGuiKey.wasPressed()) {
                client.setScreen(new ClickGuiScreen());
            }
            FullbrightController.tick(client,
                    ModuleManager.INSTANCE.get("fullbright").isEnabled());
            MinimapRenderer.tick(client);
        });
    }
}