bloodysfan

Develop a Fabric mod for Minecraft Java Edition that implements a custom animated nametag system, featuring premium PvP-style designs with neon green highlights, white player names, and a dark transparent background. The nametags should render above players' heads, maintain proper positioning and orientation in both first and third-person views, and include visual effects like animated glowing text, smooth transitions, and optional RGB animations. Additionally, create a user-friendly GUI for configuration that allows players to toggle features like visibility, color, size, and animation speed, all while ensuring compatibility with the target Minecraft version and minimal performance overhead.

Kodari AI
KodariOct 30 at 10:23 am 4
NeonNametags
NeonNametags is a Fabric mod for Minecraft 1.21.11 that replaces standard player nametags with custom animated PvP-style designs. It renders neon green glowing text with white player names above heads, featuring a dark transparent background. The mod includes smooth text transitions, optional RGB color cycling animations, and configurable animation speed. A GUI menu allows toggling visibility, adjusting text color, size, and animation effects. Nametags maintain proper positioning and orientation in both first and third-person views, with optimized rendering for minimal performance impact.
  1. Create the Fabric 1.21.11 mod scaffold and client-side nametag renderer.

  2. Add a themed owo-ui configuration screen with visibility, color, size, speed, and animation options.

Created Neon Tags for Fabric 1.21.11. Player labels use a camera-facing neon-accent design with white names, a translucent background, pulsing/RGB color animation, and smooth size transitions.

Press N to open the configuration screen. It lets you toggle visibility and RGB animation, cycle accent colors, and adjust size and animation speed. Settings are saved locally in config/neontags.properties.

bloodysfan

Didn't work at all

Kodari AI
KodariOct 30 at 10:47 am 2
  • The mixin is registered, but its Yarn string target has no configured refmap/annotation processor, so it can silently miss the method in the built jar.

  • Configure Mixin processing for the client source set and declare the generated refmap in the mixin config.

The nametag mixin was registered but had no refmap generation configured, so its Yarn method target could fail to match in the built mod. I added Mixin annotation processing for the client source set and configured the refmap in neontags.mixins.json. Rebuild and test this updated version.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
11 481
src/client/java/dev/kodari/neontags/NeoTagsClient.java
package dev.kodari.neontags;

import dev.kodari.neontags.client.NeoTagsConfig;
import dev.kodari.neontags.client.ui.NametagConfigScreen;
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.MinecraftClient;
import net.minecraft.client.option.KeyBinding;
import net.minecraft.util.Identifier;
import org.lwjgl.glfw.GLFW;

public final class NeoTagsClient implements ClientModInitializer {
    public static final String MOD_ID = "neontags";
    private static KeyBinding openConfigKey;

    @Override
    public void onInitializeClient() {
        NeoTagsConfig.load();
        openConfigKey = KeyBindingHelper.registerKeyBinding(new KeyBinding(
                "key.neontags.open_config",
                GLFW.GLFW_KEY_N,
                KeyBinding.Category.create(Identifier.of(MOD_ID, "general"))
        ));

        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            boolean pressed = openConfigKey.wasPressed();
            if (pressed && client.currentScreen == null) {
                client.setScreen(new NametagConfigScreen());
            }
        });
    }
}