Mineuniverse
Log in Register
Mods

Foam​Fix

Simple, targetted optimizations for a popular block game
by asiekierka
Download Claim this project
111,144,123 downloads
0 likes
Updated Jun 30, 2026
0 hypes

 

Quick PSA: There are no plans for a 1.14+ FoamFix update at this time, neither Forge nor Fabric.

 

FoamFix

 

FoamFix is a mod designed to optimize certain aspects of a modded Minecraft experience using simple, targeted optimizations.

 

Features

 

FoamFix focuses on the following aspects of modded Minecraft in particular:

 

  • Memory usage (in Minecraft 1.8+). This is the original reason FoamFix was made for, and the most important reason for it being adopted in modpacks today. Observations show that, on particularly heavy modpacks, Java heap usage (as measured on the main menu, after the game has finished loading, with VisualVM) can fall by as much as 50%!
  • TPS usage, particularly on larger servers - ghost chunk-loading and network improvements will not help the single-player experience much, but can be incredibly beneficial when trying to scale up a multiplayer world.

 

There are also other, more minor optimizations, but they will probably not have a significant impact on your gameplay directly. Check your foamfix.cfg file for a complete list!

(ノ◕ヮ◕)ノ*:・゚✧

FAQ

  • Q: I'm having performance issues, and removing FoamFix fixes them!
  • A:Make sure you have updated to the latest version. It is impossible for me to test FoamFix on the thousands of computer hardware configurations out there with my own resources, and sometimes issues specific to some of them can occur. If you have updated to the latest version and are still experiencing issues, contact me!
  • Q: Can I run FoamFix on the server/client side if it's not present on the client/server side?
  • A: Yes.
  • Q: Can I mix versions of FoamFix between the server and client side?
  • A: Similarly, yes.
  • Q: Why is there a FoamFix to 1.7.10?
  • A: FoamFix primarily targets 1.8+ modded Minecraft. However, some of its later optimizations - particularly ghost chunkloading fixes - in combination with some abandoned bugfixing/optimization projects (BugfixMod, Minecraft Forkage) have led me to create an optimization mod under the same name for 1.7.10, which shares some of the functionality. As always, check foamfix.cfg to learn more!
  • Q: Can you make a FoamFix for vanilla?
  • A: Almost all of FoamFix focuses on optimizations particular to modded environments. Porting it to vanilla would have very few benefits, as vanilla by itself is more efficient than even Forge+FoamFix. If you're running a large vanilla server, it might be a better idea to use a dedicated solution for that.
  • Q: Can you run FoamFix in a development environment?
  • A: Yes, but you must manually deobfuscate it with BON2 or a similar tool.

Bug Reporting

Please try to reproduce the bug without FoamFix first - if it is still present without FoamFix, it is most likely not a FoamFix issue.

When you report a bug that only appears with FoamFix installed,

  • Please ONLY report them here! This helps me keep track of existing issues.
  • In particular, please do not report them to the other mod developers! If I get to the conclusion that the issue is caused by a different mod, I'll do my best to contact the other author myself and discuss the fix with them; however, unnecessary bug reports are a bit of a nuisance.

Additional Tips

(Note that this section will be rewritten as a more comprehensive optimization guide at some point)

 

  • Enable alwaysSetupTerrainOffThread in forge.cfg. (Since 0.6.3, FoamFix will automatically do this for you on new instances!)
  • If you're experiencing "ghost chunk loading"-related lag (a noticeable lag spike every ~30 seconds), a way to partially work around the problem is to increase the value of dormantChunkCacheSize in forgeChunkLoading.cfg.
  • For some GPU/driver configurations (in particular, certain AMD driver/card pairs), disabling mipmaps (setting Mipmap Levels to 0) will boost FPS considerably. This is due to lag caused by animated texture updates being much higher with increasing amounts of textures to update, which scales linearly with the amount of mipmap levels.
  • On dedicated servers, setting max-tick-time=0 can solve crashes related to "java.lang.Error: Watching server". Still looking into why this happens!

Common Crashes

  • java.lang.NoSuchMethodError: net.minecraftforge.common.model.TRSRTransformation.isIdentity()Z on FoamFix 0.9.6+ - Update Forge to the latest recommended version, or downgrade FoamFix to 0.9.5.
  • java.lang.IllegalArgumentException: Cannot set property [...], it is not an allowed value - The codepath causing this error mimics vanilla behaviour very closely, and should cause the same crash without FoamFix. Make sure it cannot be reproduced without FoamFix.
  • If you're using SpongeForge alongside FoamFix (keep in mind that I do not support it), a common crash related to MixinMutableBlockPos can be fixed by disabling coremod.optimizedBlockPos in config/foamfix.cfg.

Support

  • Please only use the GitHub issue tracker for bug reports. Makes it easier to keep track of them.
  • Please note that "not supported" does not mean "won't work at all" - rather, it means "things can break and I might be unable to help you for various reasons". Be careful!

 

The following mods are not supported and I cannot guarantee satisfactory fixes related to interactions with them:

    • FastCraft 2. The licensing is very strict and debugging impossible without relying on the developer as an oracle.
    • NotEnoughIDs. Not maintained since September 2017.
    • OptiFine. The licensing is very strict and debugging impossible without relying on the developer as an oracle.
    • Sponge. Some of our engine changes conflict. (Note that, even if you have Sponge on the server side, using FoamFix on the client side while connecting to a Sponge server is supported!)
    • TexFix.
    • most other proprietary optimization mods. If I can't see the source code, I'm not likely to work on fixing it.

 

FoamFix 0.6.3a (1.8.9)
MC Client, Forge, Server, 1.8.9
Release 2023-11-10 Get
FoamFix 1.0.4 (1.7.10)
MC Forge, 1.7.10
Release 2023-04-03 Get
FoamFix 1.0.3 (1.7.10)
MC Forge, 1.7.10
Release 2023-02-26 Get
FoamFix 1.0.2 (1.7.10)
MC Forge, 1.7.10
Release 2022-10-28 Get
FoamFix 1.0.1 (1.7.10)
MC Forge, 1.7.10
Release 2022-09-17 Get
FoamFix 0.10.15 (1.12.2)
MC Forge, 1.12.2
Release 2022-09-08 Get
FoamFix 1.0.0 (1.7.10)
MC Forge, 1.7.10
Release 2021-12-10 Get
FoamFix 0.10.14 (1.12.2)
MC Forge, 1.12.2
Release 2021-05-28 Get
FoamFix 0.10.12 (1.12.2)
MC Forge, 1.12.2
Release 2021-05-22 Get
FoamFix 0.10.12a (1.12.2)
MC Forge, 1.12.2
Release 2021-05-22 Get
FoamFix 1.0.0-beta3 (1.7.10)
MC Forge, 1.7.10
Release 2021-05-21 Get
FoamFix 1.0.0-beta2 (1.7.10)
MC Forge, 1.7.10
Beta 2021-01-31 Get
FoamFix 1.0.0-beta1 (1.7.10)
MC Forge, 1.7.10
Beta 2020-12-22 Get
FoamFix 0.10.11 (1.12.2)
MC Forge, 1.12.2
Release 2020-12-13 Get
FoamFix 0.10.10 (1.12.2)
MC Forge, 1.12.2
Release 2019-12-20 Get
FoamFix 0.10.9 (1.12.2)
MC Forge, 1.12.2
Release 2019-11-23 Get
FoamFix 0.10.8 (1.12.2)
MC 1.12.2
Release 2019-10-15 Get
FoamFix 0.10.7 (1.12.2)
MC 1.12.2
Release 2019-10-07 Get
FoamFix 0.12.1 (1.14)
MC Fabric, 1.14, 1.14-Snapshot
Beta 2019-04-28 Get
FoamFix 0.10.5 (1.12.2)
MC 1.12.2
Release 2019-04-04 Get
FoamFix 0.12.0 (19w03* - 19w07*)
MC 1.14-Snapshot
Alpha 2019-01-18 Get
FoamFix 0.10.3 (1.12.2)
MC 1.12.2
Release 2018-11-15 Get
FoamFix 0.10.2 (1.12.2)
MC 1.12.2
Release 2018-09-27 Get
FoamFix 0.7.5 (1.10/1.11)
MC 1.10.2, 1.11, 1.11.2
Release 2018-08-24 Get
FoamFix 0.10.1 (1.12.2)
MC 1.12.2
Release 2018-08-22 Get
FoamFix 0.11.0 (1.13/Rift)
MC 1.13
Beta 2018-08-17 Get
FoamFix 0.10.0 (1.12.2)
MC 1.12.2
Release 2018-08-11 Get
FoamFix 0.7.4 Lawful (1.10/1.11)
MC 1.10.2, 1.11, 1.11.2
Release 2018-07-11 Get
FoamFix 0.7.4 Anarchy (1.10/1.11)
MC 1.10.2, 1.11, 1.11.2
Release 2018-07-11 Get
FoamFix 0.9.9.1 Lawful (1.12.2)
MC 1.12.2
Release 2018-05-06 Get
FoamFix 0.9.9.1 Anarchy (1.12.2)
MC 1.12.2
Release 2018-05-06 Get
FoamFix 0.9.9 Lawful (1.12.2)
MC 1.12.2
Release 2018-04-24 Get
FoamFix 0.9.9 Anarchy (1.12.2)
MC 1.12.2
Release 2018-04-24 Get
FoamFix 0.9.8 Lawful (1.12.2)
MC 1.12.2
Release 2018-04-23 Get
FoamFix 0.9.8 Anarchy (1.12.2)
MC 1.12.2
Release 2018-04-23 Get
FoamFix 0.9.7 Lawful (1.12.2)
MC 1.12.2
Release 2018-04-11 Get
FoamFix 0.9.7 Anarchy (1.12.2)
MC 1.12.2
Release 2018-04-11 Get
FoamFix 0.9.6 Lawful (1.12.2)
MC 1.12.2
Release 2018-04-05 Get
FoamFix 0.9.6 Anarchy (1.12.2)
MC 1.12.2
Release 2018-04-05 Get
FoamFix 0.6.3 Lawful (1.8.9)
MC 1.8.9
Release 2018-03-26 Get
FoamFix 0.7.3 Lawful (1.10/1.11)
MC 1.10.2, 1.11, 1.11.2
Release 2018-03-26 Get
FoamFix 0.7.3 Anarchy (1.10/1.11)
MC 1.10.2, 1.11, 1.11.2
Release 2018-03-26 Get
FoamFix 0.7.4 Lawful (1.12.0)
MC 1.12
Release 2018-03-26 Get
FoamFix 0.7.4 Anarchy (1.12.0)
MC 1.12
Release 2018-03-26 Get
FoamFix 0.8.0 Lawful (1.12.0)
MC 1.12
Release 2018-03-26 Get
FoamFix 0.8.1 Anarchy (1.12.0)
MC 1.12
Release 2018-03-26 Get
FoamFix 0.9.2 Lawful (1.12.2)
MC 1.12.2
Release 2018-03-26 Get
FoamFix 0.9.2 Anarchy (1.12.2)
MC 1.12.2
Release 2018-03-26 Get
FoamFix 0.9.4 Anarchy (1.12.2)
MC 1.12.2
Release 2018-03-26 Get
FoamFix 0.9.5 Lawful (1.12.2)
MC 1.12.2
Release 2018-03-26 Get

More from asiekierka

Debark
851,997
StackUp!
851,527
Charset Storage - Chests
700,723
SmoothWater
686,119
InventoryNeko
6,666
Unlimited Chisel Works
5,633,803

You Might Also Like

- FPS Booster - Lag Killer
powerful client-side performance FPS booster
97,463
Better Biome Reblend
Updated version of Better Biome Blend, a mod that improves and fixes biome color blending
9,432,920
Icterine
Advancements optimization (specifically, InventoryChangeTrigger)
9,118,727
Better Pie Chart
This Mod improves the Vanilla Pile Chart perfect for Minecraft SMP servers
9,603
Enhanced Block Entities Backforged
Reduce FPS lag with block entities, as well as customize them with resource packs. Forge 1.16.5 port of EBE
9,451
Unbinilium
Ubinilium is a Minecraft mod designed to optimize performance and enhance gameplay. It stabilizes FPS, renders distant blocks with reduced detail, and efficiently manages memory.
9,364