Invasive Optimizations
by Qther
Invasive Optimizations is a NeoForge optimization mod for 1.21 and 1.21.1 that patches other mods' code to make them run faster.
What it does
Invasive Optimizations changes the code of other mods rather than adding content of its own. Its patches target inefficient loops and collection handling, such as iterating a Map's entrySet directly where accessing the underlying keySet is cheaper. Two of its listed optional integrations, Accessories and Applied Energistics 2, appear in the author notes as examples of mods it works with.
A server running it needs every connecting player to have it too. It is published for NeoForge only, with builds for 1.21 and 1.21.1, and the latest file is 1.0.24 for 1.21.1, released on 2026-09-01. The code is open source under the MIT License, and public source code and an issue tracker are available. No required dependency is listed for NeoForge.
The author notes describe a patch policy: experimental optimizations with dubious usefulness are disabled by default, and an experience issue lets players disable the mod first. Patches are checked before release, and a patch already applied in released versions is not repeated. Closed source mods are outside the scope of the patches.
Key features
Collection access patches
Patches avoid iterating a Map's entrySet directly and access the underlying keySet instead.
Patches for other mods
Invasive optimizations are applied to other mods' code, with several targets in the Accessories and Applied Energistics 2 ecosystems.
Experimental patches off by default
Patches of dubious usefulness ship disabled, so each one must be turned on deliberately.
Disable switch for troubleshooting
An experience issue can be resolved by disabling the mod, which the author notes list as the first step.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Optional 6
Use cases
Modpacks with many optimization targets
Packs that run several of the optional integrations can use the patches to reduce overhead in the targeted code.
Who it’s for: Server owners and modpack authors running NeoForge 1.21 or 1.21.1 who want targeted code-level optimizations in mods such as Accessories or Applied Energistics 2. Closed source mods are not covered.
Questions
Does Invasive Optimizations need to be installed on the server?
Which loader does Invasive Optimizations support?
Can experimental patches be enabled?
In the catalog
Invasive Optimizations is one of 3,545 Optimization mods on ModsFinder, and one of 1,250 Optimization mods for NeoForge. 32,366 mods support Minecraft 1.21.1.
More from Qther
Similar mods
What the author says
Invasive optimizations for other mods, aiming to reduce server-side (tick) lag. The invasive nature of these changes makes them more likely to crash or otherwise break. Please report such issues to the issue tracker and I will try to respond to them in a timely manner. Each change can also be individually toggled…
Official listing
- Modrinth page
- modrinth.com/mod/invasive-optimizations
- Owner
- Qther
- Published
- 2026-04-29
- Updated on Modrinth
- 2026-09-01
- Facts verified
- 2026-10-15
