pavitraxd07

Make me a 26.2 mod that has features like feather client custom screen start screen right shift gui modules, hud editor etc everything a client mod has no cheat features or hacks

Kodari AI
KodariOct 11 at 4:06 pm 5
FeatherClientReplica
Recreates the Feather Client experience as a Minecraft Fabric mod for version 26.2. Features a customizable start screen with custom branding, a right-shift GUI overlay system, and a comprehensive HUD editor. Includes modular GUI elements such as FPS counter, coordinates display, clock, compass, and memory usage indicators. Provides a settings menu for personalizing colors, positions, and visibility of each module. Implements smooth animations and modern UI styling reminiscent of Feather Client. All features are cosmetic and client-side only, containing no cheat functionality or gameplay advantages.

Plan:

  1. Set up a client-only Fabric 26.2 project and bundle owo-lib.

  2. Add a polished owo home screen and a Right Shift module/settings screen.

  3. Add a draggable HUD editor with toggleable, non-cheat visual widgets (FPS and clock).

Created a client-only Fabric 26.2 mod with an owo-ui hub. Open it from the title screen’s CLIENT HUB button or press Right Shift in-game. The hub includes FPS and local-clock toggles, plus a HUD editor where you can drag their panels; preferences are saved in config/clienthub.properties.

The included overlays are visual-only—no cheats or gameplay automation.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
11 540
src/client/java/com/kodari/clienthub/ClientHubClient.java
package com.kodari.clienthub;

import io.wispforest.owo.ui.component.ButtonComponent;
import io.wispforest.owo.ui.component.UIComponents;
import io.wispforest.owo.ui.container.UIContainers;
import io.wispforest.owo.ui.core.Positioning;
import io.wispforest.owo.ui.core.Sizing;
import io.wispforest.owo.ui.layers.Layers;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.keymapping.v1.KeyMappingHelper;
import net.fabricmc.fabric.api.client.rendering.v1.hud.HudElementRegistry;
import net.minecraft.client.KeyMapping;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiGraphicsExtractor;
import net.minecraft.client.gui.screens.TitleScreen;
import net.minecraft.network.chat.Component;
import net.minecraft.resources.Identifier;
import com.mojang.blaze3d.platform.InputConstants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.time.LocalTime;

public class ClientHubClient implements ClientModInitializer {
	public static final String MOD_ID = "clienthub";
	public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);
	private static final int HUD_WIDTH = 144;
	private static final int HUD_HEIGHT = 56;
	private static final KeyMapping OPEN_HUB = KeyMappingHelper.registerKeyMapping(
			new KeyMapping("key.clienthub.open", InputConstants.KEY_RSHIFT, KeyMapping.Category.MISC)
	);

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

		Layers.add(UIContainers::verticalFlow, instance -> {
			ButtonComponent button = UIComponents.button(Component.literal("CLIENT HUB"), press ->
					Minecraft.getInstance().gui.setScreen(new HomeScreen(instance.screen)));
			button.horizontalSizing(Sizing.fixed(104));
			button.positioning(Positioning.absolute(8, 8));
			instance.adapter.rootComponent.child(button);
		}, TitleScreen.class);

		ClientTickEvents.END_CLIENT_TICK.register(client -> {
			if (OPEN_HUB.consumeClick())
				client.gui.setScreen(new HomeScreen(client.gui.screen()));
		});

		HudElementRegistry.addLast(
				Identifier.fromNamespaceAndPath(MOD_ID, "overlays"),
				(graphics, deltaTracker) -> this.renderHud(graphics)
		);
	}

	private void renderHud(GuiGraphicsExtractor graphics) {
		Minecraft client = Minecraft.getInstance();
		if (client.player == null)
			return;

		int width = client.getWindow().getGuiScaledWidth();
		int height = client.getWindow().getGuiScaledHeight();
		if (ClientConfig.showFps) {
			int x = position(ClientConfig.fpsX, width - HUD_WIDTH);
			int y = position(ClientConfig.fpsY, height - HUD_HEIGHT);
			graphics.fill(x, y, x + HUD_WIDTH, y + HUD_HEIGHT, 0xD00B1220);
			graphics.fill(x, y, x + 2, y + HUD_HEIGHT, 0xFF4FD1C5);
			graphics.text(client.font, Component.literal("FPS  " + client.getFps()), x + 9, y + 11, 0xFFE6EDF3);
		}

		if (ClientConfig.showClock) {
			int x = position(ClientConfig.clockX, width - HUD_WIDTH);
			int y = position(ClientConfig.clockY, height - HUD_HEIGHT);
			graphics.fill(x, y, x + HUD_WIDTH, y + HUD_HEIGHT, 0xD00B1220);
			graphics.fill(x, y, x + 2, y + HUD_HEIGHT, 0xFF8B7CFF);
			LocalTime now = LocalTime.now();
			String time = String.format("%02d:%02d", now.getHour(), now.getMinute());
			graphics.text(client.font, Component.literal("LOCAL TIME  " + time), x + 9, y + 11, 0xFFE6EDF3);
		}
	}

	private static int position(int percent, int available) {
		return Math.round(Math.clamp(percent, 0, 100) * Math.max(0, available) / 100f);
	}
}