SIFTxOptimized — Full Bright & Extreme FPS Optimization Mod
- ROLE AND MISSION
Act as a senior Minecraft Java Edition mod developer, Fabric specialist, Java performance engineer, and graphics optimization expert.
Build a complete, professional, stable, lightweight Minecraft client-side mod named SIFTxOptimized.
The mod has two primary goals:
- Full Bright: Make dark areas, caves, underground locations, and nighttime environments highly visible, similar to the full-bright experience offered by popular Minecraft utility clients.
- Extreme FPS Optimization: Improve rendering performance, frame-time stability, and memory efficiency, particularly on low-end Android devices running Minecraft Java Edition through Zalith Launcher or PojavLauncher.
Target users may experience only 12–13 FPS. Aim for the highest stable FPS that the hardware can realistically achieve, with 60–65 FPS as an ambitious target rather than a guarantee.
The mod must be a legitimate visual-enhancement and performance mod, not a cheat client. Do not implement combat automation, x-ray vision, hidden-block highlighting, or other unfair gameplay features.
Do not respond with only a plan. Create the actual project, implement the features, compile it, test it, and fix errors wherever the development environment permits.
- OFFICIAL PROJECT IDENTITY
Use these identifiers consistently throughout the entire project.
- Mod display name: "SIFTxOptimized"
- Mod ID: "fully_optimized"
- Java package: "com.siftxoptimized"
- Gradle project name: "SIFTxOptimized"
- Configuration filename: "fully_optimized.json"
- Mixin configuration: "fully_optimized.mixins.json"
- Main client initializer: "SIFTxOptimizedClient.java"
- Main configuration class: "SIFTxConfig.java"
- Configuration manager: "SIFTxConfigManager.java"
- Full Bright controller: "SIFTxFullBright.java"
- Optimization manager: "SIFTxOptimizationManager.java"
- Configuration GUI: "SIFTxConfigScreen.java"
- FPS monitor: "FPSMonitor.java"
Use "com.siftxoptimized" as the package prefix for all Java source files.
The technical mod ID must always remain lowercase: "fully_optimized".
- TARGET ENVIRONMENT
Target the following environment:
- Minecraft Java Edition 1.21.11.
- Fabric Loader 0.19.5, subject to verification against the target Minecraft version.
- Compatible Fabric Loom and Gradle versions.
- The Java runtime required by the selected Minecraft version.
- Zalith Launcher and PojavLauncher on Android.
- MobileGlues renderer where technically supported.
- Low-end Android devices with approximately 4 GB RAM and limited CPU/GPU resources.
The mod must work client-side without requiring installation on a multiplayer server.
Before implementation, verify compatibility between Minecraft, Fabric Loader, Fabric API, Fabric Loom, Java, and all other dependencies. Do not guess class names, method signatures, or supported versions.
Do not require Sodium, Iris, OptiFine, shaders, or other optional optimization mods. The base mod must function independently wherever the target environment supports the required rendering hooks.
- FEATURE A — FULL BRIGHT
Implement a reliable Full Bright feature that makes dark environments significantly easier to see.
Required behavior
- Brighten caves and underground environments.
- Brighten nighttime environments and dark structures.
- Provide an independent on/off toggle.
- Apply changes immediately when toggled.
- Restore normal lighting when disabled.
- Work without shaders or resource packs.
- Avoid changing world data, block states, or actual server-side light levels.
- Avoid x-ray effects or highlighting hidden blocks.
- Work across dimension changes and resource reloads where practical.
- Avoid unnecessarily increasing rendering overhead.
Technical requirements
Inspect Minecraft 1.21.11's actual rendering and lighting pipeline before implementing Full Bright.
Choose a compatible client-side lighting or brightness adjustment technique supported by the target version. Use Fabric APIs when appropriate and narrowly scoped Mixins only when necessary.
Verify every Mixin target against the actual target Minecraft version.
Prevent:
- Washed-out or entirely white textures.
- Incorrect colors.
- Rendering artifacts.
- Brightness failing to reset.
- Crashes during world loading.
- Broken brightness after changing dimensions.
- Persistent visual changes after the feature is disabled.
Do not use outdated gamma hacks without confirming their compatibility with Minecraft 1.21.11.
Full Bright must remain independent of the FPS optimization presets.
- FEATURE B — PRESS G TO TOGGLE FULL BRIGHT
Implement a dedicated client-side keybind for Full Bright.
Default key: G
Keybind behavior
- Press G once to enable Full Bright.
- Press G again to disable Full Bright.
- Repeat this behavior whenever the player presses G.
- Apply the brightness change immediately without requiring a world reload.
- Do not toggle repeatedly while G is held down.
- Register the keybind through the supported Fabric keybinding API.
- Display the keybind in Minecraft's Controls settings.
- Give the keybind a unique translation key and a SIFTxOptimized category.
- Allow the player to change the key through Controls.
- Save the Full Bright enabled/disabled preference in "config/fully_optimized.json".
- Preserve the feature state across world and dimension changes where appropriate.
- Do not force G if the user has selected another key.
Input handling
- Process the keybind correctly during normal gameplay.
- Do not interfere with typing in chat or text-entry screens.
- Avoid accidental toggling while interacting with GUI text fields.
- Use edge-triggered key processing or the appropriate supported keybinding mechanism.
- Ensure the keybind works without opening the SIFTxOptimized configuration screen.
- Handle keyboard input correctly in supported launcher environments.
If the mobile launcher does not expose a physical G key, users should be able to assign the keybind to an available supported control or use the GUI toggle.
Acceptance test
- Enter a world.
- Press G and confirm that dark areas become visibly brighter.
- Press G again and confirm that normal lighting returns.
- Hold G and verify that it does not toggle continuously.
- Open chat and verify that text input is not disrupted.
- Change the key in Controls and verify that the new key works.
- Restart Minecraft and verify the saved Full Bright preference.
- Confirm that the feature works without enabling or disabling the FPS optimization engine.
- FEATURE C — EXTREME FPS OPTIMIZATION ENGINE
Build a modular optimization engine focused on reducing unnecessary client-side work.
Each optimization should have a clear purpose and be independently configurable where practical.
A. Rendering optimization
Investigate and implement safe opportunities to:
- Reduce unnecessary rendering calculations.
- Avoid redundant work during frame rendering.
- Reduce allocations in frequently executed mod-owned code.
- Avoid expensive configuration reads on every frame.
- Minimize unnecessary GPU synchronization.
- Reduce rendering-thread stalls where technically possible.
- Avoid repeated resource creation.
- Optimize custom GUI rendering.
- Minimize unnecessary logging and diagnostic overhead.
- Reuse existing Minecraft optimizations instead of duplicating them.
Do not modify rendering internals blindly. Profile actual bottlenecks and verify every implementation against Minecraft 1.21.11.
B. Particle optimization
Provide the following options where technically supported:
- Vanilla particle behavior.
- Reduced particles.
- Minimal particles.
- Disable optional visual particles.
Respect the user's vanilla settings when possible. Restore any changed settings when the relevant feature is disabled.
Avoid changing unrelated gameplay logic.
C. Visual-effects optimization
Provide independent controls for reducing supported nonessential visual effects, such as:
- Optional screen effects.
- Nonessential animations.
- Decorative visual effects.
- Other measurable client-side rendering costs.
Clearly disclose visual trade-offs. Do not include toggles that do nothing.
D. Entity-rendering optimization
Investigate safe, version-compatible options for reducing unnecessary entity-rendering work.
Where supported, offer configurable entity-rendering or visibility reductions with clear descriptions.
Do not disable essential entity updates, collisions, networking, or world simulation to inflate FPS.
Do not make entities invisible in ways that compromise ordinary gameplay or multiplayer usability.
E. Memory optimization
Optimize the mod's own memory behavior.
- Avoid unnecessary temporary objects in hot code paths.
- Prevent unbounded collections and memory leaks.
- Release resources when screens and rendering objects are no longer needed.
- Avoid unnecessary background threads.
- Avoid oversized textures and buffers.
- Load configuration efficiently.
- Do not call "System.gc()" continuously or at short fixed intervals.
- Do not recommend unsafe JVM flags without evidence.
Measure memory use and garbage collection behavior where practical.
F. Mobile-specific optimization
Prioritize stability on low-end Android hardware.
- Avoid assumptions about desktop-only OpenGL extensions.
- Minimize unnecessary GPU work.
- Avoid large textures and buffers.
- Minimize background processing.
- Keep touch interactions responsive.
- Test with MobileGlues where possible.
- Provide safe fallback behavior when a rendering feature is unsupported.
Recognize that the launcher, renderer, CPU, GPU, resolution, render distance, and other mods can all affect FPS.
- FEATURE D — THREE PERFORMANCE PRESETS
Create three profiles with real, functional settings.
Balanced
- Preserve most normal visual effects.
- Apply safe, low-risk optimizations.
- Allow independent Full Bright control.
- Prioritize compatibility.
Performance
- Reduce optional particle and visual-effect costs.
- Apply available rendering optimizations.
- Minimize the mod's CPU and memory overhead.
- Use sensible defaults for low-end Android devices.
Extreme
- Apply the strongest safe optimizations implemented by the mod.
- Reduce optional visual effects as configured.
- Minimize unnecessary rendering work.
- Prioritize stable frame times and conservative memory usage.
- Preserve essential gameplay functions.
- Display warnings when visual quality is reduced.
Switching presets must not silently destroy the user's original settings.
Save and restore previous setting values when practical. Do not repeatedly rewrite configuration values every frame.
Only expose options that are genuinely implemented and tested.
Full Bright must be separately controllable, and pressing G must toggle Full Bright only.
- FEATURE E — PROFESSIONAL CONFIGURATION GUI
Create a lightweight, polished in-game configuration screen.
The visual design should use a clean dark theme, readable typography, simple icons, and responsive controls suitable for Minecraft on Android.
Main screen
Display:
- SIFTxOptimized branding.
- Current optimization profile.
- Full Bright status.
- Current FPS when monitoring is enabled.
- Quick-access optimization controls.
- A button to open detailed settings.
Full Bright section
Include:
- Full Bright on/off toggle.
- Current state indicator.
- A description of the feature.
- The current keybind, displayed as G by default.
- Instructions for changing the key through Minecraft Controls.
Optimization section
Include:
- Master optimization toggle.
- Balanced, Performance, and Extreme presets.
- Particle controls.
- Available visual-effects controls.
- Available entity-rendering options.
- Reset-to-default controls.
Monitoring section
Include:
- FPS counter toggle.
- Average FPS information.
- Frame-time statistics where practical.
- Optional diagnostic information.
GUI requirements
- Use supported Minecraft screen APIs.
- Support mouse clicks and touchscreen taps.
- Keep controls readable on small Android screens.
- Handle different resolutions and GUI scales.
- Avoid large textures and expensive animations.
- Do not freeze the game while opening the screen.
- Ensure every displayed control works.
- Restore the previous screen correctly when the GUI closes.
- Avoid conflicts with existing Minecraft screens.
Do not create an elaborate interface at the expense of performance or stability.
- FEATURE F — FPS COUNTER AND PERFORMANCE MONITORING
Implement optional performance monitoring.
FPS counter
- Display FPS in a configurable screen corner.
- Allow it to be enabled or disabled.
- Use an efficient rolling measurement window.
- Avoid per-frame logging.
- Minimize allocations.
- Keep the display lightweight.
Frame-time statistics
Where practical, measure:
- Average FPS.
- Average frame time.
- Frame-time consistency.
- Short-term performance variation.
Distinguish average FPS from peak FPS. Do not claim stable 60 FPS based on a single unusually fast frame.
Benchmark procedure
Compare unmodified Minecraft against SIFTxOptimized under equivalent conditions.
Record:
- Minecraft version.
- Fabric Loader version.
- Renderer.
- Screen resolution.
- GUI scale.
- Render and simulation distance.
- World and test location.
- Benchmark duration.
- Optimization settings.
- Average FPS and frame-time measurements.
Test Full Bright separately from FPS optimization features.
Do not fabricate benchmark results. If automated benchmarking is unavailable, document a repeatable manual test procedure.
- FEATURE G — CONFIGURATION AND PERSISTENCE
Save settings in:
"config/fully_optimized.json"
The configuration must include, where applicable:
- Full Bright enabled state.
- Full Bright keybind preference through Minecraft's supported keybinding system.
- Selected optimization preset.
- Individual optimization toggles.
- FPS counter state.
- GUI preferences.
Requirements:
- Create default settings when no configuration exists.
- Handle missing and malformed configuration files safely.
- Apply sensible defaults after invalid settings.
- Save settings when they change rather than continuously.
- Support resetting settings.
- Avoid corrupting files during writes.
- Preserve unrelated Minecraft settings.
- Handle new settings introduced by future versions.
- Never store account tokens or passwords.
Use a maintainable configuration manager separate from rendering and GUI code.
- PROJECT ARCHITECTURE
Use a modular Java architecture.
Suggested source structure:
"src/main/java/com/siftxoptimized/"
- "SIFTxOptimizedClient.java"
- "config/SIFTxConfig.java"
- "config/SIFTxConfigManager.java"
- "gui/SIFTxConfigScreen.java"
- "gui/SIFTxSettingsScreen.java"
- "optimization/SIFTxOptimizationManager.java"
- "optimization/ParticleOptimizer.java"
- "optimization/VisualEffectsOptimizer.java"
- "optimization/EntityRenderOptimizer.java"
- "render/SIFTxFullBright.java"
- "monitor/FPSMonitor.java"
- "util/CompatibilityHelper.java"
Create only the classes necessary for a coherent implementation. Add additional classes when they improve maintainability.
Suggested resource files:
- "src/main/resources/fabric.mod.json"
- "src/main/resources/fully_optimized.mixins.json"
- Language translation files as needed.
Do not leave missing classes, empty feature implementations, unresolved imports, or unused placeholders in the completed project.
- FABRIC METADATA AND MIXIN REQUIREMENTS
Create correct Fabric metadata with:
- Mod ID: "fully_optimized".
- Display name: "SIFTxOptimized".
- Correct client entrypoint.
- Correct dependency declarations.
- Compatible Minecraft version constraints.
- Compatible Fabric Loader version constraints.
- Correct Java requirements.
- Correct Mixin configuration references.
Ensure every Mixin referenced in "fully_optimized.mixins.json" exists.
For every Mixin:
- Verify that its target class exists in Minecraft 1.21.11.
- Verify method names and descriptors.
- Use correct annotations and injection points.
- Avoid broad cancellation of rendering methods.
- Avoid injection conflicts where supported APIs provide a better solution.
- Test startup and the feature that uses the Mixin.
Do not copy older Minecraft method signatures without verification.
If a feature can be implemented with an existing supported API, prefer that approach over a fragile Mixin.
- GRADLE BUILD REQUIREMENTS
Create a complete, compilable Gradle project.
Required files:
- "settings.gradle" or "settings.gradle.kts".
- "build.gradle" or "build.gradle.kts".
- "gradle.properties".
- Gradle wrapper.
- Fabric metadata.
- Mixin configuration.
- Java source files.
- Resource files.
- README documentation.
Use mutually compatible Minecraft, Fabric Loom, Gradle, Java, and dependency versions.
Set the root project name to "SIFTxOptimized".
Mandatory build process
Run:
"./gradlew clean build"
If the build fails:
- Read the complete error.
- Identify the root cause.
- Correct the source code or configuration.
- Rebuild.
- Repeat until the build succeeds or a genuine environment limitation prevents completion.
Do not suppress compilation errors, skip necessary checks, or claim a successful build when the build has not actually completed.
If a dependency cannot be downloaded or the environment cannot access the necessary repositories, explain the limitation.
- TESTING AND QUALITY ASSURANCE
Implement and test incrementally.
Stage 1: Foundation
- Verify Java and Gradle.
- Verify Minecraft and Fabric dependencies.
- Create metadata and the client entrypoint.
- Build the minimal project.
Stage 2: Full Bright and G key
- Implement Full Bright.
- Register the G keybind.
- Confirm that pressing G enables the feature.
- Confirm that pressing G again disables it.
- Confirm that holding G does not toggle repeatedly.
- Confirm that chat input is not disrupted.
- Confirm that the key can be rebound.
- Confirm that the visual change is immediate.
- Test dimension changes and world reloads.
Stage 3: FPS optimization
- Implement one optimization at a time.
- Measure its effect.
- Verify gameplay remains functional.
- Remove or disable ineffective or unstable implementations.
Stage 4: GUI and configuration
- Test every toggle.
- Test profile switching.
- Test configuration persistence.
- Test touchscreen interactions.
- Test multiple GUI scales.
Stage 5: Final validation
- Run a clean Gradle build.
- Inspect startup and crash logs.
- Test the produced JAR where the environment allows.
- Verify the target Minecraft and Fabric versions.
- Test MobileGlues compatibility where possible.
- Record unresolved issues honestly.
- INSTALLATION AND DOCUMENTATION
Create a README explaining:
- What SIFTxOptimized does.
- Supported Minecraft and Fabric versions.
- Java requirements.
- Installation through Zalith Launcher.
- Installation through PojavLauncher.
- Where to place the mod JAR.
- Whether Fabric API is required.
- How to toggle Full Bright with G.
- How to rebind the key.
- How to configure performance presets.
- How to use the GUI.
- How to enable the FPS counter.
- Known limitations.
- Troubleshooting and crash-log collection.
Do not instruct users to install incompatible dependencies or use unsupported versions.
The mod should be client-side and should not require server installation, provided all implemented features remain client-side.
- PERFORMANCE GOALS AND HONEST REPORTING
The objective is the highest stable FPS achievable on the target hardware.
Treat a performance increase from 12–13 FPS to 60–65 FPS as an ambitious benchmark target, not a guaranteed outcome.
Such an increase depends on whether the original performance bottleneck can be addressed by client-side optimization.
Measure and report:
- Baseline FPS.
- FPS with Full Bright alone.
- FPS with individual optimization modules.
- FPS with Performance preset.
- FPS with Extreme preset.
- Average frame time and
Verify 1.21.11 rendering, keybind, HUD, and option APIs plus owo-ui patterns.
Create the client mod: persisted Full Bright, presets, monitoring, and a lightweight settings screen.
Add Fabric/Gradle metadata and usage/testing documentation; report build limitations honestly.
Confirmed the real lightmap hook and safe refresh behavior, plus the 1.21.11 keybind, particle/entity-distance, HUD, and owo-ui APIs. I’m resolving the remaining text/key-display signatures before creating the source files.
Created SIFTxOptimized with a client-only lightmap Full Bright toggle on G, an owo-ui settings screen on O, JSON persistence, three particle presets, optional entity render-distance scaling, and a rolling FPS/frame-time monitor. The README includes setup, limitations, and a repeatable manual benchmark procedure without claiming unmeasured results.
Validation: I verified the Minecraft/Fabric API signatures used, but could not run ./gradlew clean build or test in-game or on MobileGlues here. The Gradle build files are present, but a Gradle wrapper could not be generated in this environment. No benchmark results are claimed.
To run Kodari’s build: on desktop click Compile in the top bar; on phone tap ⋮ → Compile Project. Click Compile in the window, then Download if it succeeds.
package com.siftxoptimized;
import com.siftxoptimized.config.SIFTxConfig;
import com.siftxoptimized.config.SIFTxConfigManager;
import com.siftxoptimized.gui.SIFTxConfigScreen;
import com.siftxoptimized.monitor.FPSMonitor;
import com.siftxoptimized.optimization.SIFTxOptimizationManager;
import com.siftxoptimized.render.SIFTxFullBright;
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 class SIFTxOptimizedClient implements ClientModInitializer {
public static final String MOD_ID = "fully_optimized";
private static KeyBinding fullBrightKey;
private static KeyBinding configKey;
@Override
public void onInitializeClient() {
SIFTxConfig config = SIFTxConfigManager.load();
KeyBinding.Category category = KeyBinding.Category.create(Identifier.of(MOD_ID, "main"));
fullBrightKey = KeyBindingHelper.registerKeyBinding(new KeyBinding(
"key.fully_optimized.toggle_full_bright", GLFW.GLFW_KEY_G, category));
configKey = KeyBindingHelper.registerKeyBinding(new KeyBinding(
"key.fully_optimized.open_config", GLFW.GLFW_KEY_O, category));
SIFTxFullBright.initialize(config.fullBrightEnabled);
SIFTxOptimizationManager.initialize(MinecraftClient.getInstance());
FPSMonitor.register();
ClientTickEvents.END_CLIENT_TICK.register(SIFTxOptimizedClient::onEndTick);
}
public static KeyBinding fullBrightKey() {
return fullBrightKey;
}
private static void onEndTick(MinecraftClient client) {
while (fullBrightKey.wasPressed()) {
if (client.currentScreen == null) {
SIFTxFullBright.setEnabled(!SIFTxFullBright.isEnabled());
}
}
while (configKey.wasPressed()) {
if (client.currentScreen == null) {
client.setScreen(new SIFTxConfigScreen());
}
}
}
}