itzbrown4r

PROJECT: UltraWaypoints – Premium Minecraft Waypoint Mod

Create a premium Minecraft waypoint mod inspired by Lunar Client and Feather Client.

Minecraft Version: 1.21.11 Platform: Fabric Design Style: Modern, minimal, smooth, and premium.

1. Waypoint System

  • Create unlimited waypoints.
  • Set custom waypoint names.
  • Customize waypoint colors and icons.
  • Automatically detect player coordinates.
  • Save X, Y, Z coordinates.
  • Support Overworld, Nether, and End.
  • Edit, delete, and organize waypoints.
  • Add favorite waypoints.
  • Create temporary waypoints.

2. Advanced 3D Waypoint Rendering

  • Beautiful glowing waypoint beams.
  • Floating waypoint icons.
  • Customizable beam colors.
  • Floating waypoint names.
  • Distance displayed above markers.
  • Smooth fade-in and fade-out.
  • Animated particles.
  • Different marker styles.
  • Automatically hide distant markers.

3. Premium Navigation HUD

Create a small, modern navigation HUD inspired by Lunar Client.

Features:

  • Compass direction indicator.
  • Animated arrows pointing toward waypoints.
  • Selected waypoint name.
  • Distance in blocks.
  • Direction indicators.
  • Optional coordinate display.
  • Smooth transitions.
  • Customizable HUD position and size.

4. Waypoint GUI

Create a premium graphical interface with:

  • Dark transparent background.
  • Rounded corners.
  • Smooth animations.
  • Modern icons.
  • Beautiful gradients.
  • Clean typography.
  • Animated buttons.
  • Subtle blur effects.

GUI sections:

  1. My Waypoints
  2. Create Waypoint
  3. Edit Waypoint
  4. Categories
  5. HUD Settings
  6. General Settings

5. Automatic Features

  • Automatically create a death waypoint.
  • Show notifications when approaching a waypoint.
  • Automatically select the nearest waypoint (optional).
  • Copy waypoint coordinates.
  • Import and export waypoints.
  • Remember previously selected waypoints.

6. Customization

Allow players to customize:

  • Waypoint beam color.
  • Marker size.
  • Icon style.
  • Text size.
  • HUD opacity.
  • HUD scale.
  • Render distance.
  • Animation speed.
  • Compass appearance.
  • Distance display format.

7. IMPORTANT: NO MINIMAP

STRICTLY DO NOT ADD ANY MAP ON THE SIDE OF THE SCREEN.

Do not include:

  • Minimap.
  • Side-screen map.
  • Rectangular map overlay.
  • Circular map.
  • Permanent navigation panel.
  • Any map displaying surrounding terrain.

Navigation must work ONLY through:

  • Small compass HUD.
  • Direction arrows.
  • Floating 3D waypoint markers.
  • Waypoint names and distances.

Keep the Minecraft screen clean and uncluttered.

8. Performance

  • Lightweight client-side implementation.
  • Stable FPS.
  • Optimized 3D rendering.
  • Minimal RAM usage.
  • Smooth animations.
  • Compatibility with Sodium and Iris where possible.
  • No unnecessary background calculations.

9. Keybinds

  • Open Waypoint Menu.
  • Create New Waypoint.
  • Toggle Waypoint HUD.
  • Toggle Waypoint Beams.
  • Switch Selected Waypoint.

All keybinds must be customizable.

10. Final Deliverables

  • Complete source code.
  • Compiled .jar mod.
  • Textures and icons.
  • Mod configuration.
  • Installation instructions.
  • Compatibility testing.

FINAL OBJECTIVE: Build an extremely polished Minecraft waypoint mod with Lunar Client and Feather Client-level visual quality. Make it smooth, modern, lightweight, and customizable. The navigation should use only a compass HUD and 3D waypoint markers, with absolutely NO minimap or side-screen map.

Kodari AI
KodariOct 30 at 12:22 pm 11
UltraWaypoints
UltraWaypoints is a premium Fabric mod for Minecraft 1.21.11 offering an advanced waypoint system with unlimited custom waypoints, glowing 3D beams, floating markers, and a modern navigation HUD featuring a compass and directional arrows. It includes a sleek GUI for managing waypoints, categories, and settings, plus automatic death waypoints, notifications, and import/export. Fully customizable with keybinds, animations, and performance optimizations, it provides a clean, uncluttered navigation experience without any minimap.
  1. Scaffold the Fabric 1.21.11 client mod and persistent waypoint data model.

  2. Build the waypoint manager and settings UI with owo-ui.

  3. Add compass HUD, waypoint markers, navigation behavior, and keybinds.

  4. Add localization/assets and survival-free client setup notes.

The core waypoint storage and the owo-ui manager are in place. I’m now wiring the client controls and render hooks against the mounted 1.21.11 signatures.

Implemented UltraWaypoints as a client-side Fabric 1.21.11 mod. It includes a local waypoint store, an owo-ui manager, customizable waypoint details, favorites and categories, temporary and automatic death waypoints, import/export, approach notifications, and nearest-waypoint selection.

  • Navigation: compass HUD with direction, distance, and optional coordinates; animated, colored 3D waypoint markers with names and distances. HUD position, scale, opacity, render distance, marker size, text size, and animation speed are configurable.

  • Controls: M opens the menu, B creates a waypoint at your position, H toggles the HUD, J toggles beams, and K selects the next waypoint. Each key is remappable in Controls.

  • No minimap: navigation uses only the compass HUD and waypoint markers.

  • Data and install: waypoints save to config/ultrawaypoints.json; import/export uses config/ultrawaypoints-export.json. Install on the client with Fabric Loader 1.21.11 and Fabric API; the download bundle includes owo-lib. No survival items were added—create waypoints in-game with B or the menu.

  • Sodium/Iris: rendering uses Fabric’s HUD and world-render hooks, but in-game compatibility testing was not performed here.

To build and download the .jar in Kodari:

  1. Click Compile in the top bar; on phone, tap ⋮ → Compile Project.

  2. Click Compile in the window.

  3. When it succeeds, click Download on the build or Download {name}.jar in chat.

[Generation stopped]

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
12 1,159
src/client/java/com/kodari/ultrawaypoints/client/UltraWaypointsClient.java
package com.kodari.ultrawaypoints.client;

import com.kodari.ultrawaypoints.client.ui.WaypointScreen;
import com.kodari.ultrawaypoints.data.Waypoint;
import com.kodari.ultrawaypoints.data.WaypointSettings;
import com.kodari.ultrawaypoints.data.WaypointStore;
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.font.TextRenderer;
import net.minecraft.client.gui.DrawContext;
import net.minecraft.client.option.KeyBinding;
import net.minecraft.client.util.InputUtil;
import net.minecraft.particle.DustParticleEffect;
import net.minecraft.text.Text;
import net.minecraft.util.Identifier;

import java.nio.file.Path;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import java.util.List;
import java.util.Locale;
import java.util.Objects;

public final class UltraWaypointsClient implements ClientModInitializer {
    public static final String MOD_ID = "ultrawaypoints";
    private static final long APPROACH_RADIUS_SQUARED = 64L;
    private static final long APPROACH_RESET_RADIUS_SQUARED = 144L;
    private static final DateTimeFormatter DEATH_TIME = DateTimeFormatter.ofPattern("HH:mm", Locale.ROOT);

    public static WaypointStore STORE;

    private static final KeyBinding.Category CATEGORY = KeyBinding.Category.create(Identifier.of(MOD_ID, "controls"));
    private static KeyBinding openMenuKey;
    private static KeyBinding createWaypointKey;
    private static KeyBinding toggleHudKey;
    private static KeyBinding toggleBeamsKey;
    private static KeyBinding nextWaypointKey;

    private static boolean wasDead;
    private static int tickCounter;
    private static String notifiedWaypointId;
    private static float smoothedArrowDelta;
    private static boolean arrowInitialized;
    private static int particleTick;

    @Override
    public void onInitializeClient() {
        STORE = new WaypointStore(Path.of("config"));
        openMenuKey = KeyBindingHelper.registerKeyBinding(new KeyBinding("key.ultrawaypoints.open_menu", InputUtil.GLFW_KEY_M, CATEGORY));
        createWaypointKey = KeyBindingHelper.registerKeyBinding(new KeyBinding("key.ultrawaypoints.create_waypoint", InputUtil.GLFW_KEY_B, CATEGORY));
        toggleHudKey = KeyBindingHelper.registerKeyBinding(new KeyBinding("key.ultrawaypoints.toggle_hud", InputUtil.GLFW_KEY_H, CATEGORY));
        toggleBeamsKey = KeyBindingHelper.registerKeyBinding(new KeyBinding("key.ultrawaypoints.toggle_beams", InputUtil.GLFW_KEY_J, CATEGORY));
        nextWaypointKey = KeyBindingHelper.registerKeyBinding(new KeyBinding("key.ultrawaypoints.next_waypoint", InputUtil.GLFW_KEY_K, CATEGORY));

        ClientTickEvents.END_CLIENT_TICK.register(UltraWaypointsClient::tick);
        HudElementRegistry.addLast(Identifier.of(MOD_ID, "navigation_hud"), (context, tickCounter) -> renderHud(context));
    }

    private static void tick(MinecraftClient client) {
        if (STORE == null) {
            return;
        }

        long now = System.currentTimeMillis();
        STORE.purgeExpired(now);
        if (openMenuKey.wasPressed()) {
            client.setScreen(new WaypointScreen(STORE));
        }
        if (createWaypointKey.wasPressed()) {
            createAtPlayer(client);
        }
        if (toggleHudKey.wasPressed()) {
            STORE.settings().hudEnabled = !STORE.settings().hudEnabled;
            STORE.save();
            actionbar(client, "Waypoint HUD " + (STORE.settings().hudEnabled ? "enabled" : "disabled"));
        }
        if (toggleBeamsKey.wasPressed()) {
            STORE.settings().beamsEnabled = !STORE.settings().beamsEnabled;
            STORE.save();
            actionbar(client, "Waypoint beams " + (STORE.settings().beamsEnabled ? "enabled" : "disabled"));
        }
        if (nextWaypointKey.wasPressed()) {
            selectNextWaypoint(client);
        }

        if (client.player == null || client.world == null) {
            wasDead = false;
            notifiedWaypointId = null;
            return;
        }

        boolean dead = client.player.getHealth() <= 0.0F;
        if (dead && !wasDead) {
            Waypoint death = Waypoint.create(
                    "Death " + LocalTime.now().format(DEATH_TIME),
                    client.world.getRegistryKey().getValue().toString(),
                    client.player.getX(), client.player.getY(), client.player.getZ(),
                    0xFF5D6A, "✕", "Deaths"
            );
            STORE.add(death);
            STORE.select(death.id());
        }
        wasDead = dead;

        if (STORE.settings().autoSelectNearest && ++tickCounter % 20 == 0) {
            selectNearest(client);
        }
        checkApproach(client);
        if (STORE.settings().beamsEnabled && ++particleTick % 4 == 0) {
            spawnWaypointParticles(client);
        }
    }

    private static void createAtPlayer(MinecraftClient client) {
        if (client.player == null || client.world == null) {
            return;
        }
        String name = "Waypoint " + (STORE.all().size() + 1);
        Waypoint waypoint = Waypoint.create(
                name,
                client.world.getRegistryKey().getValue().toString(),
                client.player.getX(), client.player.getY(), client.player.getZ(),
                0x55D6C2, "◆", "General"
        );
        STORE.add(waypoint);
        STORE.select(waypoint.id());
        actionbar(client, "Created " + waypoint.name());
    }

    private static void selectNextWaypoint(MinecraftClient client) {
        List<Waypoint> waypoints = STORE.all();
        if (waypoints.isEmpty()) {
            actionbar(client, "No waypoints saved yet");
            return;
        }
        int current = -1;
        for (int i = 0; i < waypoints.size(); i++) {
            if (waypoints.get(i).id().equals(STORE.selectedWaypointId())) {
                current = i;
                break;
            }
        }
        Waypoint next = waypoints.get((current + 1) % waypoints.size());
        STORE.select(next.id());
        actionbar(client, "Selected " + next.name());
    }

    private static void selectNearest(MinecraftClient client) {
        String dimension = client.world.getRegistryKey().getValue().toString();
        Waypoint nearest = null;
        double nearestDistance = Double.MAX_VALUE;
        for (Waypoint waypoint : STORE.all()) {
            if (!waypoint.dimension().equals(dimension)) {
                continue;
            }
            double distance = distanceSquared(client.player.getX(), client.player.getY(), client.player.getZ(), waypoint.x(), waypoint.y(), waypoint.z());
            if (distance < nearestDistance) {
                nearest = waypoint;
                nearestDistance = distance;
            }
        }
        if (nearest != null && !Objects.equals(nearest.id(), STORE.selectedWaypointId())) {
            STORE.select(nearest.id());
        }
    }

    private static void checkApproach(MinecraftClient client) {
        if (!STORE.settings().approachNotifications) {
            notifiedWaypointId = null;
            return;
        }

        Waypoint selected = STORE.selected().orElse(null);
        if (selected == null || !selected.dimension().equals(client.world.getRegistryKey().getValue().toString())) {
            notifiedWaypointId = null;
            return;
        }
        double distanceSquared = distanceSquared(client.player.getX(), client.player.getY(), client.player.getZ(), selected.x(), selected.y(), selected.z());
        if (distanceSquared <= APPROACH_RADIUS_SQUARED && !selected.id().equals(notifiedWaypointId)) {
            client.player.sendMessage(Text.literal("Arrived near " + selected.name()), true);
            notifiedWaypointId = selected.id();
        } else if (distanceSquared > APPROACH_RESET_RADIUS_SQUARED && selected.id().equals(notifiedWaypointId)) {
            notifiedWaypointId = null;
        }
    }

    private static void renderHud(DrawContext context) {
        if (STORE == null || !STORE.settings().hudEnabled) {
            return;
        }
        MinecraftClient client = MinecraftClient.getInstance();
        if (client.player == null || client.world == null) {
            return;
        }

        WaypointSettings settings = STORE.settings();
        Waypoint selected = STORE.selected().orElse(null);