Адыган Валиев

Add smooth head rotations for KillAura and new Auto‑Swap module:

  • Rotate player’s head smoothly, no sharp jumps when targeting
  • Bind Auto‑Swap toggle to O key
  • Settings panel for Auto‑Swap with slots order list: player head, player head, totem, totem

Add it inside existing green "sobachka dlc" GUI, do not break current modules.

Apply all these changes to the existing project from the last built .jar for Minecraft 1.21.4, do NOT make a new empty project:

  1. Add mouse‑wheel binding for cheat functions.
  2. Auto‑Swap toggled on O key; four customizable swap sequences: totem ↔ totem, totem ↔ player head, player head ↔ totem, player head ↔ player head, fixed 0.5 s delay.
  3. First make GUI round‑shaped with rainbow colour animation and text "by Adygan/marat" in top‑left corner, then resize it to stretch wider left‑to‑right.
  4. Rename current rotation to Aim, move Aim inside KillAura; add inactive Matrix setting inside KillAura (does nothing for now, no separate Matrix module). No standalone Aim module.
  5. Bind chat commands: .bind add [function] [key] to assign a key; .bind remove [function] to unbind.
  6. Target‑ESP settings:

- Toggleable markers: inverted red hammer, circle on body + back, diamond on body + back - Target filters: armoured players, players without armour, invisible entities, mobs

  1. Red glow indicator: every enabled function glows red; the glow turns off when disabled.

Keep all previous working features, rebuild for 1.21.4 and give the updated .jar

Kodari AI
KodariOct 25 at 7:52 pm 1
KillAuraMatrix
Advanced Minecraft cheat client for 1.21.4 with smooth head rotation KillAura, Auto-Swap module toggled via O key with four customizable totem/player head sequences, mouse-wheel bindings, rainbow animated round GUI with "by Adygan/marat" branding, Target-ESP with toggleable markers and filters, red glow indicators for enabled functions, and chat commands for key binding management.
  1. Map the existing modules, GUI, input, and chat-command structure.

  2. Implement smooth KillAura Aim and its Matrix setting.

  3. Add mouse-wheel controls, configurable Auto-Swap, and key/chat binding.

  4. Extend the existing GUI and Target-ESP settings/markers.

  5. Add red enabled-state indicators, then check build configuration and output availability.I can’t apply these changes to the existing mod because the workspace is empty: there’s no source project or previous JAR here. I won’t create a replacement project, since you asked to preserve the existing modules and GUI.

Add the existing project to the workspace (source is best), or provide the previous JAR along with its source if available. Then I can update it without rebuilding the mod from scratch.

Адыган Валиев

OK, build the full project from scratch for Minecraft 1.21.4 with all features listed before: smooth head rotations in KillAura, Auto‑Swap on O, mouse‑wheel binding, stretched rainbow GUI with text "by Adygan/marat", Aim inside KillAura, inactive Matrix setting, .bind add / .bind remove commands, Target‑ESP markers & filters, red glow for active functions.

Build new complete project and give final .jar.

Kodari AI
KodariOct 25 at 8:19 pm 6
  1. Inspect the workspace and identify the mod entry point and existing structure.

  2. Implement KillAura rotation/Aim and Auto-Swap with input and binding support.

  3. Extend the existing GUI and add Target-ESP options and markers.

  4. Add enabled-state indicators, then verify the project can produce a 1.21.4 jar.

Created the Fabric 1.21.4 client mod project from scratch; the workspace contained no earlier modules or GUI to preserve.

  • Auto-Swap: bound to O; its four editable item-pair sequences cycle in 0.5-second steps.

  • KillAura: smooth head and view rotation, with Aim and an inactive Matrix setting nested under KillAura.

  • Bindings: .bind add [function] [key] and .bind remove [function]; mouse-wheel keys include wheelup and wheeldown.

  • GUI: open with Right Shift. It has a rounded, animated rainbow frame, the requested credit text, and red enabled-state highlights.

  • Target-ESP: configurable hammer, circle, and diamond markers, plus player armor, invisibility, and mob filters.

To get the .jar, click Compile in the desktop top bar—or on phone, ⋮ → Compile Project—then click Compile in the window. After a successful build, use Download on the build or the Download sobachka-dlc.jar button in chat.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
8 769
src/main/java/com/adygan/sobachka/SobachkaClient.java
package com.adygan.sobachka;

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.message.v1.ClientSendMessageEvents;
import net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext;
import net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.network.ClientPlayerInteractionManager;
import net.minecraft.client.option.KeyBinding;
import net.minecraft.client.render.RenderLayer;
import net.minecraft.client.render.VertexConsumer;
import net.minecraft.client.render.VertexConsumerProvider;
import net.minecraft.client.render.VertexRendering;
import net.minecraft.client.util.InputUtil;
import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.entity.Entity;
import net.minecraft.entity.mob.MobEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
import net.minecraft.screen.slot.SlotActionType;
import net.minecraft.text.Text;
import net.minecraft.util.math.Box;
import net.minecraft.util.math.Vec3d;
import org.lwjgl.glfw.GLFW;

import java.util.LinkedHashMap;
import java.util.Locale;
import java.util.Map;

public final class SobachkaClient implements ClientModInitializer {
    static boolean killAuraEnabled;
    static boolean aimEnabled = true;
    static boolean matrixEnabled;
    static boolean autoSwapEnabled;
    static boolean targetEspEnabled;

    static boolean markerHammer = true;
    static boolean markerCircle = true;
    static boolean markerDiamond = true;
    static boolean filterArmouredPlayers = true;
    static boolean filterUnarmouredPlayers = true;
    static boolean filterInvisibleEntities;
    static boolean filterMobs = true;

    enum SwapItem {
        TOTEM("Totem"),
        PLAYER_HEAD("Player head");

        final String label;

        SwapItem(String label) {
            this.label = label;
        }

        boolean matches(ItemStack stack) {
            return this == TOTEM ? stack.isOf(Items.TOTEM_OF_UNDYING) : stack.isOf(Items.PLAYER_HEAD);
        }

        SwapItem next() {
            return this == TOTEM ? PLAYER_HEAD : TOTEM;
        }
    }

    static final SwapItem[][] SWAP_SEQUENCE = {
            {SwapItem.TOTEM, SwapItem.TOTEM},
            {SwapItem.TOTEM, SwapItem.PLAYER_HEAD},
            {SwapItem.PLAYER_HEAD, SwapItem.TOTEM},
            {SwapItem.PLAYER_HEAD, SwapItem.PLAYER_HEAD}
    };

    private static final Map<String, KeyBinding> MODULE_KEYS = new LinkedHashMap<>();
    private static final Map<String, String> MOUSE_BINDINGS = new LinkedHashMap<>();
    private static MinecraftClient client;
    private static KeyBinding guiKey;
    private static int swapStep;
    private static long lastSwapAt;
    private static long lastAttackAt;

    @Override
    public void onInitializeClient() {
        MODULE_KEYS.put("killaura", registerKey("killaura", -1));
        MODULE_KEYS.put("autoswap", registerKey("autoswap", GLFW.GLFW_KEY_O));
        MODULE_KEYS.put("targetesp", registerKey("targetesp", -1));
        guiKey = KeyBindingHelper.registerKeyBinding(new KeyBinding(
                "key.sobachka_dlc.gui",
                InputUtil.Type.KEYSYM,
                GLFW.GLFW_KEY_RIGHT_SHIFT,
                KeyBinding.MISC_CATEGORY
        ));

        ClientTickEvents.END_CLIENT_TICK.register(SobachkaClient::tick);
        ClientSendMessageEvents.ALLOW_CHAT.register(SobachkaClient::interceptChat);
        WorldRenderEvents.AFTER_ENTITIES.register(SobachkaClient::renderTargetEsp);
    }

    private static KeyBinding registerKey(String function, int code) {
        return KeyBindingHelper.registerKeyBinding(new KeyBinding(
                "key.sobachka_dlc." + function,
                InputUtil.Type.KEYSYM,
                code,
                KeyBinding.MISC_CATEGORY
        ));
    }

    private static void tick(MinecraftClient minecraftClient) {
        client = minecraftClient;
        for (Map.Entry<String, KeyBinding> entry : MODULE_KEYS.entrySet()) {
            while (entry.getValue().wasPressed()) {
                toggleFunction(entry.getKey());
            }
        }

        if (guiKey.wasPressed()) {
            minecraftClient.setScreen(new SobachkaScreen());
        }

        if (minecraftClient.player == null || minecraftClient.world == null) {
            return;
        }

        long now = System.currentTimeMillis();
        tickAutoSwap(minecraftClient, now);
        tickKillAura(minecraftClient, now);
    }

    static void toggleFunction(String function) {
        switch (function) {
            case "killaura" -> killAuraEnabled = !killAuraEnabled;
            case "autoswap" -> {
                autoSwapEnabled = !autoSwapEnabled;
                if (autoSwapEnabled) {
                    swapStep = 0;
                    lastSwapAt = System.currentTimeMillis();
                }
            }
            case "targetesp" -> targetEspEnabled = !targetEspEnabled;
        }
    }

    static void cycleSwapItem(int sequence, int side) {
        SWAP_SEQUENCE[sequence][side] = SWAP_SEQUENCE[sequence][side].next();
    }

    public static boolean handleMouseWheel(double vertical) {
        if (vertical == 0.0) {
            return false;
        }

        String direction = vertical > 0.0 ? "wheelup" : "wheeldown";
        boolean handled = false;
        for (Map.Entry<String, String> entry : MOUSE_BINDINGS.entrySet()) {
            if (entry.getValue().equals(direction)) {
                toggleFunction(entry.getKey());
                handled = true;
            }
        }
        return handled;
    }

    private static boolean interceptChat(String message) {
        String trimmed = message.trim();
        if (!trimmed.equalsIgnoreCase(".bind") && !trimmed.toLowerCase(Locale.ROOT).startsWith(".bind ")) {
            return true;
        }

        String[] parts = trimmed.split("\\s+");
        if (parts.length == 4 && parts[1].equalsIgnoreCase("add")) {
            String function = canonicalFunction(parts[2]);
            if (function == null) {
                sendFeedback("Unknown function. Use killaura, autoswap, or targetesp.");
                return false;
            }
            assignBinding(function, parts[3]);
            return false;
        }

        if (parts.length == 3 && parts[1].equalsIgnoreCase("remove")) {
            String function = canonicalFunction(parts[2]);
            if (function == null) {
                sendFeedback("Unknown function. Use killaura, autoswap, or targetesp.");
                return false;
            }
            MODULE_KEYS.get(function).setBoundKey(InputUtil.UNKNOWN_KEY);
            MOUSE_BINDINGS.remove(function);
            KeyBinding.updateKeysByCode();
            sendFeedback("Unbound " + function + ".");
            return false;
        }

        sendFeedback("Usage: .bind add [function] [key] or .bind remove [function]");
        return false;
    }

    private static String canonicalFunction(String input) {
        return switch (input.toLowerCase(Locale.ROOT).replace("-", "").replace("_", "")) {
            case "killaura" -> "killaura";