Ashikul Islam

Act as an elite Minecraft Java Edition performance engineer, Fabric mod developer, and Android mobile-porting specialist. I need you to design an ultra-optimized, maximum-FPS Minecraft Java setup and custom configuration blueprint specifically engineered for my phone and launcher.

My Exact Hardware & Software Specs:

  • Device: Motorola Edge 60 Fusion (India Variant)
  • SoC / CPU: MediaTek Dimensity 7400 (4x Cortex-A78 @ 2.6GHz + 4x Cortex-A55 @ 2.0GHz)
  • GPU: ARM Mali-G615 MC2
  • Display: 120Hz P-OLED (1220x2712 resolution)
  • Launcher: MojoLauncher (Android fork of PojavLauncher)
  • Target Goal: Push uncapped 200+ FPS in light/medium biomes with zero micro-stutters, instant chunk loading, and clean custom UI/HUD.

Your Deliverables (Be Exhaustive & Exact):

1. Optimal Version & Core Mod Stack

  • Identify the single highest-FPS Minecraft Java version + Fabric Loader build that plays nicely with ARM Mali GPUs on MojoLauncher.
  • Provide the exact compatibility synergy and load order for my core stack: Sodium, Lithium, Entity Culling, ImmediatelyFast, and ModernFix (plus any mandatory companion libraries like Fabric API or FerriteCore/Indium if required for Mali stability).

2. Deep-Dive Config File Overrides (Copy-Paste Ready)

  • Don't just give general tips—write out the exact JSON/properties settings I should paste into the config files for:

- sodium-options.json (specifically disabling heavy Mali-incompatible OpenGL features while maximizing chunk rendering threads for the 4x Cortex-A78 cores). - modernfix-mixins.properties (dynamic resources, faster launch, lower RAM overhead). - immediatelyfast.json (HUD batching, font/atlas optimization). - entityculling.json (aggressive occlusion tracing distances).

3. Custom Companion Mod / UI & HUD Overhaul

  • Since I want a clean, modern UI/HUD without losing FPS:

- Recommend the lightest Fabric HUD/UI mods (e.g., MiniHUD, BetterF3, Sodium Extra, Reese's Sodium Options, custom clean crosshair/armor HUD) that pair cleanly with ImmediatelyFast. - Provide complete, compilable Java/Fabric source code (build.gradle, fabric.mod.json, and main mixin/client class) for a lightweight custom utility/HUD mod I can compile that adds a clean on-screen FPS/ping/coordinates overlay and an automatic "Ultra-Low Particle & Fog Killer" toggle.

4. MojoLauncher & Mali-G615 Engine Tuning

  • Renderer Selection: Compare Holy GL4ES, Zink (Vulkan), and VirGL specifically for the Mali-G615 MC2 GPU—tell me which renderer gives the highest raw FPS without graphical glitches or shader crashes.
  • JVM Arguments & RAM Allocation: Give me exact G1GC or ZGC garbage collection flags and heap allocation (-Xmx / -Xms) tuned for an 8GB/12GB LPDDR4X phone so GC pauses never drop frames.
  • Resolution Scaling & Thermal Control: Recommend the ideal MojoLauncher render scale percentage (accounting for the 1220x2712 native screen) and in-game video settings to prevent MediaTek thermal throttling during long sessions. make a mod for my mojolauncher with this compatibilyy
Kodari AI
KodariNov 14 at 9:08 am 6
MaliFpsOverlayMod
Ultra-optimized Fabric client mod for MojoLauncher on Mali-G615 GPUs. Adds a lightweight FPS/ping/coordinates HUD overlay with zero rendering overhead, plus an automatic ultra-low particle and fog killer toggle. Includes Mali-specific Sodium, ModernFix, ImmediatelyFast, and EntityCulling config overrides tuned for MediaTek Dimensity 7400's 4x Cortex-A78 cores. Features aggressive occlusion culling, batched HUD rendering, and dynamic resource management to sustain 200+ FPS with minimal thermal impact. Provides clean, modern UI elements compatible with ImmediatelyFast's font atlas optimization. Designed for Holy GL4ES renderer compatibility and includes exact JVM G1GC flags for 8GB RAM allocation, ensuring zero micro-stutters during chunk loading and combat.

I’ll build the companion mod for this project’s Fabric 26.3 target, then provide a Mali tuning baseline and flag settings that depend on the launcher or mod versions.

Created Mobile FPS HUD for Fabric 26.3. Its source and build files are in the project.

  • Shows FPS, ping and coordinates; F1 hides the overlay.

  • Low-effects mode starts enabled. Run /mobilefps in chat to toggle it for the current session.

  • Low-effects mode suppresses selected ambient particles and distance fog, while retaining environmental fog and important combat particles. Removing distance fog can expose chunk edges and may reduce FPS in some scenes.

  • This is a client-only utility; it adds no survival items.

Compatibility is not yet verified. The mod targets Minecraft 26.3, Fabric Loader 0.19.5, Fabric API and Java 25. It will only work if your MojoLauncher build supports that Minecraft version, Java runtime and renderer. Compile it in Kodari and test it on the phone before adding the rest of the stack.

Performance blueprint

There is no verified single fastest version or renderer for this exact phone and launcher. Mod releases, renderer builds, drivers and thermals all affect the result. Sustained 200+ FPS, zero stutters and instant chunks cannot be guaranteed; the 120 Hz display also cannot show more than 120 distinct frames per second.

Mods and compatibility

Start with Sodium + Lithium, then add ImmediatelyFast, Entity Culling, ModernFix and optionally FerriteCore one at a time, using releases explicitly marked for the same Minecraft and Fabric versions. Fabric resolves dependencies and mod initialization; there is no manual mod load order to arrange.

  • Fabric API: required by the companion mod; install the version matching your game.

  • Indium: only install if the specific Sodium and content-mod versions require it. It is not a general Mali stability fix.

  • ModernFix/FerriteCore: primarily target loading or memory, not guaranteed FPS gains.

  • For UI, use this HUD alone first. Add BetterF3 or MiniHUD only if you need their information; they may duplicate the overlay. Sodium Extra and Reese’s Sodium Options are optional settings interfaces, not automatic FPS boosts. Check each release’s version compatibility and test with ImmediatelyFast.

I can’t provide reliable copy-paste overrides for the four named config files without knowing the actual installed releases and their generated schemas. Guessing keys or aggressive mixin overrides can silently do nothing or break startup. Launch each chosen mod once, then use its generated config or UI; share those files and I can tailor exact overrides.

Renderer and JVM

Renderer
Starting guidance
Zink / Vulkan
Test first if MojoLauncher supplies a compatible Mali Vulkan driver and Zink build. It can support modern OpenGL features, but performance and glitches are build-dependent.
Holy GL4ES
Test as a fallback; compatibility and feature coverage vary. Modern Minecraft/Sodium may require capabilities the selected build cannot provide.
VirGL
Compatibility alternative; translation overhead can make it slower. Benchmark rather than assuming.

Use the same world, location, settings and warm-up for each renderer. Compare frame-time consistency and long-session temperatures as well as FPS; discard any renderer with missing textures or crashes.

For a starting heap, try -Xms512M -Xmx3G on either 8 GB or 12 GB RAM. Increase to -Xmx4G only if a larger modpack demonstrably needs it. Prefer the runtime’s default G1GC rather than experimental ZGC or a long flag bundle; no GC flags can guarantee zero frame drops.

Resolution and thermals

Start at 50% render scale—roughly 610 × 1356 before launcher rounding—and try 60% if the GPU has headroom. Set render distance to 6–8 chunks, simulation distance to 4, particles to Minimal, clouds off, entity distance around 75%, and avoid shaders. Use a 60 or 90 FPS cap for long sessions if uncapped rendering causes heat or inconsistent frame times; benchmark uncapped separately.

To get the jar, click Compile in the top bar, then Compile in the window. On phone, use ⋮ → Compile Project. After success, click Download.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
8 187
src/client/java/dev/kodari/mobilefps/client/MobileFpsClient.java
package dev.kodari.mobilefps.client;

import java.util.Locale;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback;
import net.fabricmc.fabric.api.client.command.v2.ClientCommands;
import net.fabricmc.fabric.api.client.rendering.v1.hud.HudElementRegistry;
import net.fabricmc.fabric.api.client.rendering.v1.hud.VanillaHudElements;
import net.minecraft.client.Minecraft;
import net.minecraft.network.chat.Component;
import net.minecraft.resources.Identifier;

public final class MobileFpsClient implements ClientModInitializer {
    public static boolean lowEffects = true;
    private static long nextUpdate;
    private static String status = "";

    @Override
    public void onInitializeClient() {
        ClientCommandRegistrationCallback.EVENT.register((dispatcher, registryAccess) ->
            dispatcher.register(ClientCommands.literal("mobilefps").executes(context -> {
                lowEffects = !lowEffects;
                context.getSource().sendFeedback(Component.literal("Mobile FPS low effects: " + (lowEffects ? "ON" : "OFF")));
                return 1;
            }))
        );

        HudElementRegistry.attachElementAfter(VanillaHudElements.HOTBAR,
            Identifier.fromNamespaceAndPath("mobile_fps_hud", "stats"), (graphics, deltaTracker) -> {
                Minecraft client = Minecraft.getInstance();
                if (client.player == null) return;
                long now = System.nanoTime();
                if (now >= nextUpdate) {
                    var pos = client.player.position();
                    var connection = client.getConnection();
                    var info = connection == null ? null : connection.getPlayerInfo(client.player.getUUID());
                    String ping = info == null ? "--" : Integer.toString(info.getLatency());
                    status = String.format(Locale.ROOT, "%d FPS  |  %s ms  |  %.0f / %.0f / %.0f",
                        client.getFps(), ping, pos.x, pos.y, pos.z);
                    nextUpdate = now + 500_000_000L;
                }
                graphics.text(client.font, status, 5, 5, 0xFFFFFFFF, true);
            });
    }
}