promotional bannermobile promotional banner

TFMG Electricity Performance Patch

Fixes the per-tick electrical network rebuild loop and the quadratic network update in Create: The Factory Must Grow.
Back to Files

TFMG Electricity Performance Patch 1.0.0

File nametfmgfix-1.0.0.jar
Uploader
mzgmzg
Uploaded
Jul 25, 2026
Downloads
24
Size
5.3 KB
Mod Loaders
NeoForge
File ID
8506124
Type
B
Beta
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:tfmg-electricity-performance-patch-1624822:8506124"

Learn more about Curse Maven

What's new

Initial release.

- Removes the per-tick electrical network rebuild loop caused by the electric motor
  (onNetworkChanged no longer re-requests a network update)
- Network updates are now O(n) instead of O(n^2): getCableCurrent is computed once per
  update instead of once per cable
- Empty accumulator no longer requests a network rebuild every tick (throttled to 20 ticks)
- Large switch reconnect retry throttled to one attempt per 10 lazy ticks

This mod has no additional files