wtfkotofey

I need a Minecraft Fabric 1.21.11 mod. Pressing Right Shift opens a beautiful neon purple (cyberpunk style, glowing borders, animated particles) UI menu. The menu has one function: 'Look at Player'. When activated, it automatically detects the nearest player (excluding self) within configurable range, smoothly rotates the player's camera to face that target, and continuously locks/holds aim on them, following if they move. Toggle on/off via same key or button. Config file or in-game settings must include: enable/disable mod, change hotkey (default Right Shift), detection range (default 50 blocks), smooth rotation on/off with speed adjustment, instant snap vs gradual rotation, exclude creative/spectator players, prioritize players near crosshair, menu color/transparency/glow intensity, and disable menu UI (hotkey-only toggle). Menu must have neon purple (#8B00FF) glowing borders, animated background, smooth open/close animation, optional soft sound effects. Must work in multiplayer (client-side camera manipulation only), not interfere with other mods, lightweight performance. Optional: show target name/distance on HUD, draw purple outline glow on target.

Kodari AI
KodariJun 25 at 4:47 pm 71
NeonAimAssist
A Fabric 1.21.11 client-side mod with a cyberpunk neon-purple UI. Press Right Shift to open an animated glowing menu. Features smooth camera lock-on to the nearest player, continuous aim tracking, configurable detection range, rotation speed, crosshair priority, and creative/spectator filtering. Includes a YACL config screen for all settings, a HUD overlay showing target name/distance, and a purple outline glow on the locked target.
NeonAimAssist
A Fabric 1.21.11 client-side mod with a stunning cyberpunk neon-purple UI. Press Right Shift to open an animated glowing menu with particle effects and glow borders. Features smooth camera lock-on that continuously tracks the nearest player, configurable detection range, rotation speed, crosshair priority, and creative/spectator filtering. Includes a full YACL config screen, HUD overlay showing target name/distance, and a purple outline glow rendered around the locked target.

Planning all files before writing:

  1. Build files — build.gradle, gradle.properties, settings.gradle

  2. Resources — fabric.mod.json, mixin JSON (empty), en_us.json

  3. Main — NeonAimAssist.java (common init, defines MOD_ID)

  4. Client init — NeonAimAssistClient.java (keybind, tick, HUD, render registration)

  5. Config — NeonConfig.java (YACL config + screen builder), ModMenuIntegration.java

  6. Core logic — AimLockManager.java (target finding, smooth rotation)

  7. GUI — NeonMenuScreen.java (cyberpunk screen with particles, glow, animation)

  8. HUD — AimHudOverlay.java (HudElementRegistry target overlay)

  9. Render — TargetOutlineRenderer.java (WorldRenderEvents 3D box outline)

  10. Manifest — manifest.kod (YACL + ModMenu)


Here’s what was built:

Core Logic

  • AimLockManager — finds the nearest (or crosshair-prioritized) player every tick, interpolates yaw/pitch toward their eye position using configurable smooth rotation speed, or snaps instantly. Keeps the target stable across ticks to avoid flickering.

Cyberpunk Menu (NeonMenuScreen)

  • 8-layer expanding glow border fading outward from the panel edge

  • L-bracket corner decorations with cyan accent dots

  • Subtle grid overlay + scanline effect

  • 30 upward-drifting neon particles (purple / pink / cyan) spawning from the bottom

  • Reticle icon and 1.6× scaled title rendered with matrix transforms

  • Main aim button pulses when active with animated side bars; dims when inactive

  • Slide-up entrance animation (ease-out cubic, 380ms)

  • Flavor elements: signal bars, system uptime counter

YACL Config — all 13 settings exposed in 3 tabs (General, Rotation, UI & Display), persisted to config/neonaimassist.json, accessible from ModMenu

HUD Overlay — top-right panel with glow border showing ◉ LOCKED, target name, and live distance (via HudElementRegistry.addLast)

3D Outline — three-pass box render (dim outer glow → main edge → bright inner edge) via WorldRenderEvents.AFTER_ENTITIES

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
15 1,019
src/client/java/com/neonaimassist/NeonAimAssistClient.java
package com.neonaimassist;

import com.neonaimassist.aim.AimLockManager;
import com.neonaimassist.config.NeonConfig;
import com.neonaimassist.gui.NeonMenuScreen;
import com.neonaimassist.hud.AimHudOverlay;
import com.neonaimassist.render.TargetOutlineRenderer;
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.minecraft.client.option.KeyBinding;
import net.minecraft.util.Identifier;
import org.lwjgl.glfw.GLFW;

public class NeonAimAssistClient implements ClientModInitializer {

    public static final KeyBinding.Category CATEGORY =
        KeyBinding.Category.create(Identifier.of(NeonAimAssist.MOD_ID, "main"));

    public static final KeyBinding MENU_KEY = KeyBindingHelper.registerKeyBinding(
        new KeyBinding("key.neonaimassist.menu", GLFW.GLFW_KEY_RIGHT_SHIFT, CATEGORY)
    );

    @Override
    public void onInitializeClient() {
        NeonConfig.load();

        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            // Handle key presses
            while (MENU_KEY.wasPressed()) {
                if (client.player == null) continue;

                NeonConfig cfg = NeonConfig.get();
                if (!cfg.enabled) continue;

                if (cfg.hideMenu) {
                    AimLockManager.toggle(client);
                } else {
                    if (client.currentScreen instanceof NeonMenuScreen) {
                        client.setScreen(null);
                    } else {
                        client.setScreen(new NeonMenuScreen());
                    }
                }
            }

            // Tick aim lock every client tick
            AimLockManager.tick(client);
        });

        AimHudOverlay.register();
        TargetOutlineRenderer.register();
    }
}