MALAHIT Performance Fixes

A collection of fixes aimed at improving performance

MALAHIT Performance Fixes

Performance fixes for the mods of the MALAHIT pack, for NeoForge 1.21.1.

The fixes are applied with Mixin. Each one is applied only when the mod it patches is installed, and it does not change how that mod behaves: the fixes affect how the game draws and processes the objects, not what they do. If a fix no longer matches a newer version of the patched mod, that fix is skipped alone and a warning is written to the log. The game does not crash.

Fixes

Warium CE

  • Energy node lines. The link lines between energy nodes are drawn from a registry of the loaded nodes. Before, the renderer scanned every block entity in the render distance on every frame. Projectile tracers reuse their tag keys.
  • Hit effects. Bullet and fragment hits play a limited number of block break effects per tick (warium_hit_effects_per_tick, default 4). Blocks, damage and sounds of the hit are unchanged.
  • Fragment view. The client keeps and draws a limited number of new fragments per tick (warium_fragments_shown_per_tick, default 24). The server still simulates every fragment, so hits and damage are unchanged.

Sable and Sodium

  • Single-block cache. A sub-level made of one block replays the vertices recorded for it through its current pose and does not build a mesh again.
  • Chunked pass (off by default). The chunked pass skips sub-levels that have no geometry in a render layer and section draws outside the view frustum.
  • Occlusion culling (off by default). Sub-levels that are hidden in Sodium's section graph for the current view are not drawn.

Separate Sable Render Distance

  • Depth match. Sub-levels are drawn with the depth of the player's view. Parts, entities and Flywheel visuals on distant vehicles no longer sink behind their hulls.

Synaxis

  • Constraint batch. A change to one constraint no longer costs as much as processing every constraint of the dimension.

qModeling

  • Render cache. The Workspace renderer reuses its part list between frames and prepares the world text and image overlay only for the parts that can show one. Compatibility only: no qModeling code is included.

Configuration

Every fix except the Warium CE energy node lines has a switch in config/malahit_perf.properties. The file is created on the first start.

warium_hit_effects=true
warium_hit_effects_per_tick=4
sable_occlusion_culling=false

At startup the log reports the result for each fix:

[malahit_perf] <fix>: applied
[malahit_perf] <fix>: NOT applied (<reason>)

Compatibility

  • NeoForge 1.21.1, Java 21.
  • Warium CE 1.0.3, qModeling 2.0 RP 2.0.4rp. Other mods: Sable, Sodium, Separate Sable Render Distance, Synaxis.
  • None of the mods above is required. Install the fixes together with the mods you use.

Credits and license

A MALAHIT mod by Graide. Copyright (c) 2026 Graide (MALAHIT). All Rights Reserved. No code or assets of the patched mods are included.

MALAHIT Performance Fixes Team

profile avatar
Owner
  • 1
    Followers
  • 7
    Projects
  • 2.9K
    Downloads

More from GraideView all

  • Vista Thermal Camera project image

    Vista Thermal Camera

    The mod adds a thermal vision mode to the Vista camera, controllable via CC:T.

    • 753
    • November 19, 2026
  • Sable Drydock project image

    Sable Drydock

    Resizes Sable sub-levels with real physics and adds a sub-level manager with a 3D view, bulk actions and an assembly dock for welding, hinging and placing sub-levels and blueprints.

    • 333
    • November 16, 2026
  • Tracks+ Fix project image

    Tracks+ Fix

    Performance addon for Create: Tracks+ (by ChiyahaRe, fork of Create: Tracks by qwxon). Caches track terrain-probe data once per tick, cutting server lag and memory churn on tracked vehicles. No content changes.

    • 682
    • October 17, 2026
  • MALAHIT Monitors project image

    MALAHIT Monitors

    Flat multi-block wall monitors up to 8×6. CC:Tweaked peripheral with dense UTF-8 text, transparent background and 128×128-per-block pixel graphics. Shows Vista camera feeds with computer-drawn overlays.

    • 412
    • October 2, 2026
  • Vista Thermal Camera project image

    Vista Thermal Camera

    The mod adds a thermal vision mode to the Vista camera, controllable via CC:T.

    • 753
    • November 19, 2026
  • Sable Drydock project image

    Sable Drydock

    Resizes Sable sub-levels with real physics and adds a sub-level manager with a 3D view, bulk actions and an assembly dock for welding, hinging and placing sub-levels and blueprints.

    • 333
    • November 16, 2026
  • Tracks+ Fix project image

    Tracks+ Fix

    Performance addon for Create: Tracks+ (by ChiyahaRe, fork of Create: Tracks by qwxon). Caches track terrain-probe data once per tick, cutting server lag and memory churn on tracked vehicles. No content changes.

    • 682
    • October 17, 2026
  • MALAHIT Monitors project image

    MALAHIT Monitors

    Flat multi-block wall monitors up to 8×6. CC:Tweaked peripheral with dense UTF-8 text, transparent background and 128×128-per-block pixel graphics. Shows Vista camera feeds with computer-drawn overlays.

    • 412
    • October 2, 2026