a90313376-sketch

Create a Minecraft Fabric 1.20.4optimization mod called “Epicium”.

Goal:

Increase FPS, reduce lag, improve chunk loading, reduce stuttering, and improve stability on both PC and PojavLauncher Android devices.

Requirements:

  • Fabric 1.20.4
  • Java 17
  • Lightweight and stable
  • Multiplayer friendly
  • Low RAM usage
  • Very low crash rate
  • Compatible with most Fabric mods

Features:

  • Smart chunk rendering optimization
  • Entity rendering optimization
  • Dynamic FPS limiter
  • Memory optimization
  • Particle optimization
  • Adaptive render distance
  • Lag spike reduction
  • Mobile Safe Mode for PojavLauncher
  • Crash protection system
  • Simple modern settings INVENTORY GUI

Settings:

  • Smart Rendering
  • Dynamic FPS
  • Mobile Safe Mode
  • Entity Optimizer
  • Particle Optimizer
  • Memory Cleaner

Priority:

  1. Stability
  2. FPS
  3. Compatibility
Kodari AI
KodariMay 24 at 2:46 pm 17,776 (v2)

I’ll create a comprehensive Fabric 1.20.4 optimization mod focused on stability, FPS improvement, and mobile compatibility.

Epicium
A powerful yet lightweight Fabric optimization mod for Minecraft 1.20.4 designed to dramatically increase FPS, reduce lag, and improve stability on both PC and mobile (PojavLauncher). Features smart chunk rendering, entity optimization, dynamic FPS limiting, memory management, particle reduction, adaptive render distance, and mobile-specific optimizations. Includes crash protection and an intuitive in-game settings GUI. Multiplayer-friendly with excellent mod compatibility and minimal RAM footprint.

✅ Epicium optimization mod created successfully!

Core Features Implemented:

  • Smart chunk rendering with distance-based culling

  • Entity render optimization with per-frame limits

  • Dynamic FPS management (lowers FPS when window unfocused)

  • Automatic memory cleaner with intelligent GC triggers

  • Particle spawning reduction system

  • Adaptive render distance based on memory usage

  • Lag spike detection and mitigation

  • Mobile Safe Mode with PojavLauncher auto-detection

  • Crash protection with error tracking

  • Modern settings GUI accessible via hotkey (O key)

Key Highlights:

  • Stability-first design with graceful error handling

  • Mobile device auto-detection (checks for Android/Dalvik)

  • All optimizations toggleable via GUI or config file

  • Mixins for performance-critical rendering paths

  • Background threads for memory/FPS management

  • JSON config with sensible defaults

Build & Run:

Shell
./gradlew build
./gradlew runClient

Press O in-game to open settings GUI and toggle optimizations!

Kodari can make mistakes. Review important code before using.
Files
gradle
src
.gitignore
build.gradle
gradle.properties
LICENSE
settings.gradle
Code
29 1,140
src/main/java/com/epicium/EpiciumClient.java
package com.epicium;

import com.epicium.gui.SettingsScreen;
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.client.util.InputUtil;
import org.lwjgl.glfw.GLFW;

public class EpiciumClient implements ClientModInitializer {
    private static KeyBinding openSettingsKey;
    
    @Override
    public void onInitializeClient() {
        EpiciumMod.LOGGER.info("Initializing Epicium Client");
        
        openSettingsKey = KeyBindingHelper.registerKeyBinding(new KeyBinding(
            "key.epicium.open_settings",
            InputUtil.Type.KEYSYM,
            GLFW.GLFW_KEY_O,
            "category.epicium.main"
        ));
        
        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            if (openSettingsKey.wasPressed() && client.player != null) {
                client.setScreen(new SettingsScreen());
            }
        });
        
        EpiciumMod.getOptimizationManager().initializeClient();
    }
}