Dd Yo

Make a mod like grim client

Kodari AI
KodariNov 9 at 2:54 pm 2
GrimClientMod
A Fabric mod for Minecraft 1.21.1 that recreates the popular Grim Client experience. This mod adds a comprehensive HUD with toggleable modules including a clickable GUI menu, customizable keybinds, and module settings. Features include combat enhancements, movement utilities, render improvements, and visual customization options. The mod provides a clean, user-friendly interface with configurable colors, positions, and toggles for each module, all accessible through a modern screen system. Built with Fabric API for seamless integration and performance optimization.
  • Create a Fabric 1.21.11 client utility mod with toggle sprint, hold-to-zoom, and a small status HUD.

  • Add keybind/localization metadata and a complete Loom project setup.

  • Keep it client-side; no combat automation or anti-cheat bypass features.

Created ShadeKit for Fabric 1.21.11 with toggle sprint (G), hold-to-zoom (Z, restores your previous FOV on release), and a small status HUD. Both keybinds can be changed in Minecraft’s Controls menu.

It’s a lightweight utility-client foundation, not a full client with combat or anti-cheat bypass features.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
6 160
src/client/java/com/kodari/shadekit/ShadeKitClient.java
package com.kodari.shadekit;

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.hud.HudElementRegistry;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.option.KeyBinding;
import net.minecraft.util.Identifier;
import org.lwjgl.glfw.GLFW;

public class ShadeKitClient implements ClientModInitializer {
    private static final String MOD_ID = "shadekit";
    private static final int ZOOM_FOV = 30;
    private static final KeyBinding.Category CATEGORY = KeyBinding.Category.create(Identifier.of(MOD_ID, "main"));

    private static KeyBinding toggleSprintKey;
    private static KeyBinding zoomKey;
    private static boolean sprintEnabled;
    private static int previousFov = -1;

    @Override
    public void onInitializeClient() {
        toggleSprintKey = KeyBindingHelper.registerKeyBinding(
                new KeyBinding("key.shadekit.toggle_sprint", GLFW.GLFW_KEY_G, CATEGORY)
        );
        zoomKey = KeyBindingHelper.registerKeyBinding(
                new KeyBinding("key.shadekit.zoom", GLFW.GLFW_KEY_Z, CATEGORY)
        );

        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            while (toggleSprintKey.wasPressed()) {
                sprintEnabled = !sprintEnabled;
            }

            if (sprintEnabled) {
                client.options.sprintKey.setPressed(true);
            }

            if (zoomKey.isPressed()) {
                if (previousFov < 0) {
                    previousFov = client.options.getFov().getValue();
                }
                client.options.getFov().setValue(Math.min(previousFov, ZOOM_FOV));
            } else if (previousFov >= 0) {
                client.options.getFov().setValue(previousFov);
                previousFov = -1;
            }
        });

        HudElementRegistry.addLast(Identifier.of(MOD_ID, "status_hud"), (context, tickCounter) -> {
            var textRenderer = MinecraftClient.getInstance().textRenderer;
            context.drawTextWithShadow(textRenderer, "SHADEKIT", 8, 8, 0xFFFFFFFF);
            context.drawTextWithShadow(
                    textRenderer,
                    "Sprint: " + (sprintEnabled ? "ON" : "OFF"),
                    8,
                    20,
                    sprintEnabled ? 0xFF66FF66 : 0xFFAAAAAA
            );
            if (zoomKey.isPressed()) {
                context.drawTextWithShadow(textRenderer, "Zoom", 8, 32, 0xFF66CCFF);
            }
        });
    }
}