Modscraper Modscraper Minecraft
Foam​Fix logo

Foam​Fix

Mod

by asiekierka

Simple, targetted optimizations for a popular block game

Type

Mod

CurseForge Downloads

113,749,542

CurseForge ID

278494

Last Updated

Nov 7, 2026

Description

 

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.

 

Compatibility

Mod Loaders

Client Forge Server

Game Versions

1.8.9

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (435)

Show fewer
Tekkit - Reborn Tekkit - Reborn Jurassic Park Reborn Jurassic Park Reborn Project Equivalence 2 Covalence Unified Project Equivalence 2 Covalence Unified Tosers Spacecraft Tosers Spacecraft AHZNB's Shinobi World AHZNB's Shinobi World Chicken Block Chicken Block SuperHeroes! Magic! Tech! SuperHeroes! Magic! Tech! Heroes Reborn Heroes Reborn Project Infinite Technology - Red Project Infinite Technology - Red Tekkit Remastered Tekkit Remastered Interdimensional RL Craft Interdimensional RL Craft Budget Skyrim Budget Skyrim Swords and Spells Swords and Spells Simply Skyblock Simply Skyblock Skyblock Quest Skyblock Quest Pixelmon Galaxies Pixelmon Galaxies MC Overpower MC Overpower JET JET Galactica Galactica Resonant Rise 5 Resonant Rise 5 Adult Sauce Adult Sauce Odoacre's Multiplayer pvp pack 2 Odoacre's Multiplayer pvp pack 2 Dragon Block C (Super DBC) Dragon Block C (Super DBC)  One Thousand Years After the Apocalypse One Thousand Years After the Apocalypse Rexxit Reborn Rexxit Reborn Tiny Block Tiny Block Lords of Doom (DE) Lords of Doom (DE) FISK_STANDARD (Fisk's Superheroes) FISK_STANDARD (Fisk's Superheroes) Mash's Vr Modpack Mash's Vr Modpack Might & Magic RPG Might & Magic RPG Enchanted Oasis! Enchanted Oasis! Not Too Complicated Not Too Complicated Calculator Skies Calculator Skies Knights, Mages, and Pirates Oh! My Knights, Mages, and Pirates Oh! My Gun and Run: Parasite Gun and Run: Parasite Fantazy Tech Fantazy Tech Sim-U-Kraft Pack [City Build] Sim-U-Kraft Pack [City Build] Ice and Fire Lite Ice and Fire Lite Back to school 2 Back to school 2 Better-Realistic Better-Realistic MasterTech: Hollow Beginning MasterTech: Hollow Beginning SuperHeroes, Quests, Adventure! SuperHeroes, Quests, Adventure! The Immersive Revolution The Immersive Revolution Songs of War Modpack Songs of War Modpack Multi Mites Multi Mites Projekt Millenaire Projekt Millenaire Omega Adventure Pack 1.12.2 Omega Adventure Pack 1.12.2 REVRB: Ruthless Enemies, Violent Redemption and Bosses REVRB: Ruthless Enemies, Violent Redemption and Bosses Papa HH's Hentai Hoard Papa HH's Hentai Hoard DeepFriedCraft, the Worst Modpack Ever DeepFriedCraft, the Worst Modpack Ever JurassiCraft: Dominion JurassiCraft: Dominion Escape From Minekov Escape From Minekov Two-Mods - By Gato(avaritia) Two-Mods - By Gato(avaritia) jurrasicube jurrasicube FISK_ADVANCED (Fisk's Superheroes) FISK_ADVANCED (Fisk's Superheroes) HunterZ By Xen0Xys HunterZ By Xen0Xys Bits and Bobs Expert Skyblock Bits and Bobs Expert Skyblock MC UFC: Futurista MC UFC: Futurista Thaumcraft & Ice And Fire Thaumcraft & Ice And Fire Villagers + Villagers + Simple Warfare Simple Warfare Narutocraft - By Gato Narutocraft - By Gato Jack Samurai Jack Samurai Legends of Pokemon Legends of Pokemon Into The Betweenlands 2 Into The Betweenlands 2 Down To Earth: The Mostly-Realistic Modpack Down To Earth: The Mostly-Realistic Modpack The world of slash blades The world of slash blades Vivisvatia: Boss fights and adventure Vivisvatia: Boss fights and adventure TerraFirmaQuest 3 TerraFirmaQuest 3 StonksCraft: Versão Definitiva StonksCraft: Versão Definitiva Resident Craft Resident Craft MilitaryCraft MilitaryCraft Teagan Presents: Metamorphoses 2 (Squad Network) Teagan Presents: Metamorphoses 2 (Squad Network) WayPoint WayPoint TekTopia Extended TekTopia Extended PvP Advanced PvP Advanced AOTBT Updated (1.12.2) AOTBT Updated (1.12.2) Voltz (Volts) Reborn 1.12.2 Voltz (Volts) Reborn 1.12.2 ZoomerPack ZoomerPack Super Stupidity Super Stupidity Manufactio - Casual Mode Manufactio - Casual Mode Stone Age Stone Age MineFantasy Life MineFantasy Life Cold Fire Cold Fire Pixelmon Champions Pixelmon Champions Aliens Vs Predator: The Reckoning Aliens Vs Predator: The Reckoning Age of Bewitchment Age of Bewitchment infinite infinity infinite infinity Fantasia Fantasia Technology empty Island Technology empty Island Star Tech Star Tech Nova Academy Official Nova Academy Official Sixty Six Horrors and Terrors Sixty Six Horrors and Terrors HOICraftWW2 HOICraftWW2 Apollo Apollo Galaxy space Galaxy space Country Craft Country Craft superheroes tech superheroes tech Omnifactory Self-Torture Edition Omnifactory Self-Torture Edition RL Craft but it's just the RL RL Craft but it's just the RL

External Resources