FluxFrame — Performance, Memory & Rendering Optimizer (NeoForge 1.21.1)
FluxFrame is a client-and-server performance optimization mod for Minecraft 1.21.1 (NeoForge 21.1+) built specifically for heavy modpacks. Instead of altering vanilla gameplay mechanics, FluxFrame optimizes how Minecraft bakes models, loads audio, stores textures in RAM/VRAM, culls off-screen geometry, and manages particles during frame-rate dips.
Why Use FluxFrame? (How It Affects Your Experience)
In large modpacks (hundreds of mods, custom machines, and thousands of block/item textures and sounds), players commonly experience:
- High RAM/VRAM usage from duplicate baked model data, uncompressed texture atlases, and unused sound buffers sitting permanently in memory.
- FPS drops and frame-time spikes in modded bases packed with BlockEntities (chests, pipes, machines) and heavy particle effects.
FluxFrame addresses these bottlenecks automatically out of the box—no manual tweaking required—while still giving players and modpack authors full control through config/fluxframe-common.toml, the Video Settings screen, and /fluxframe stats.
Features & Gameplay Impact
1. Automatic Hardware Profiling (AUTO / LOW_END / BALANCED / OFF)
- What it does: On startup, FluxFrame detects your allocated JVM heap (
lowEndThresholdMB, default8192 MB) and your GPU's OpenGL capabilities (OpenGL version, Compute Shaders,BC7, andDXT5support). - How it affects your experience: Players on
8 GBor lower RAM allocations automatically receive more conservative memory/rendering settings (LOW_END), while higher-spec systems runBALANCED—preventing crashes and stuttering without requiring users to edit config files. You can also switch profiles directly from Minecraft's Video Settings menu.
2. Model & BakedQuad Memory Deduplication (enableModelInterner)
- What it does: Deduplicates identical
BakedQuadinstances and vertex arrays during model baking. - How it affects your experience: Large modpacks often bake thousands of nearly identical block and item quads. Deduplicating them reduces JVM heap usage during world loading and resource pack reloads (
F3 + T), leaving more memory headroom for gameplay and reducing GC (garbage collection) pauses.
3. Lazy Audio Loading & Idle Eviction (enableLazyAssets, lazyAudioTimeoutSeconds)
- What it does: Loads large audio buffers on demand instead of keeping every sound in RAM permanently, and automatically evicts inactive audio buffers after a configurable timeout (default:
60seconds). - How it affects your experience: Sounds from dimensions, bosses, or machines you aren't currently near don't waste RAM, keeping memory usage lower during long play sessions while still playing normally whenever triggered.
4. GPU Texture Compression & Early NativeImage Release (enableTextureCompression)
- What it does: Compresses eligible textures on the GPU using
BC7/DXT5when supported by your graphics driver, and releases CPU-sideNativeImagememory earlier in the upload lifecycle. - How it affects your experience: Significantly lowers VRAM and system RAM consumption in modpacks with huge texture atlases, helping prevent out-of-VRAM stutters on 4 GB–8 GB GPUs.
5. OpenGL 4.3+ Compute Shader Culling (enableComputeCulling)
- What it does: Uses an OpenGL 4.3+ compute shader (
culling.comp) on supported GPUs to accelerate frustum and occlusion culling. - How it affects your experience: Reduces CPU render-thread workload when looking toward complex terrain or dense bases, improving frame consistency when your CPU is the bottleneck.
6. BlockEntity Instanced Rendering (enableBlockEntityInstancing)
- What it does: Groups repetitive static BlockEntities (such as storage chests, conduits, and machines) using instanced rendering paths.
- How it affects your experience: Bases filled with dozens or hundreds of BlockEntities suffer fewer draw-call bottlenecks and lower BlockEntity render frametimes.
7. Adaptive Particle Throttling (enableAdaptiveParticles, particleThrottleFps)
- What it does: Monitors live frame rate and throttles non-essential particle spawns whenever FPS drops below a configurable threshold (default:
45 FPS). - How it affects your experience: During boss fights, spell casting, or automated factory explosions that spam particles, your FPS stabilizes instead of tanking into a slideshow—while keeping normal particle visuals intact whenever FPS is healthy.
8. Real-Time Diagnostics: F3 Overlay & /fluxframe stats
- What it does: Adds an optional compact readout to the
F3debug screen (enableF3Overlay) and registers the/fluxframe statscommand. - How it affects your experience: Players and pack developers can immediately verify what optimizations are active (
Profile,Heap MB,Asset Reloadmemory delta & duration,BlockEntityRenderavg/peak ms, and detectedGPU / GL / Compute / BC7 / DXT5support).
Compatibility & Configuration
- Loader & Version: Minecraft 1.21.1 on NeoForge (
[21.1, 21.2)) - Sodium Support: Optional compatibility (
Sodium >= 0.6.0on client, ordered cleanly after Sodium) - License: MIT
- Config File:
config/fluxframe-common.toml(every optimization module can be toggled individually)