Modscraper Modscraper Minecraft
Foam​Fix logo

Foam​Fix

Mod

by asiekierka

Simple, targetted optimizations for a popular block game

Type

Mod

CurseForge Downloads

109,604,921

CurseForge ID

278494

Last Updated

Apr 13, 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.

 

Similar Mods

Included in Modpacks

RLCraft RLCraft SkyFactory 4 SkyFactory 4 RLCraft Dregora RLCraft Dregora SevTech: Ages SevTech: Ages InsaneCraft Modpack InsaneCraft Modpack Forever Stranded Forever Stranded StoneBlock StoneBlock FTB Presents SkyFactory 3 FTB Presents SkyFactory 3 MC  Eternal MC Eternal Modern Skyblock 3: Departed Modern Skyblock 3: Departed Project Ozone 3 A New Way Forward Project Ozone 3 A New Way Forward Equivalent Skies Equivalent Skies SevTech: Ages of the Sky SevTech: Ages of the Sky Dungeons, Dragons and Space Shuttles Dungeons, Dragons and Space Shuttles JASB 2.0 (Just Another SkyBlock) JASB 2.0 (Just Another SkyBlock) Farming Valley Farming Valley Compact Claustrophobia Compact Claustrophobia RogueLite Adventures and Dungeons RogueLite Adventures and Dungeons PVPack / PvP Pack for Hypixel PVPack / PvP Pack for Hypixel Hexxit Updated Hexxit Updated Enigmatica 2: Expert - E2E Enigmatica 2: Expert - E2E FTB Sky Odyssey FTB Sky Odyssey SpaceCraft - (GalactiCraft) SpaceCraft - (GalactiCraft) GregBlock GregBlock All the Mods 3 - ATM3 All the Mods 3 - ATM3 Nomifactory Nomifactory Avatar: 100 Days [Challenge] Avatar: 100 Days [Challenge] RLCraft Recrafted RLCraft Recrafted Space Astronomy 2 Space Astronomy 2 All the Mods 3: Lite - ATM3L All the Mods 3: Lite - ATM3L FTB Revelation FTB Revelation SexyPack SexyPack Ben 10: Galactic Adventures Ben 10: Galactic Adventures MC Ultimato MC Ultimato Zombie Apocalypse Remastered Zombie Apocalypse Remastered Astroblock Astroblock Jojovein Jojovein All the Mods: All the Magic - ATM All the Mods: All the Magic - ATM Crazy Craft Remastered Crazy Craft Remastered SCP Craft SCP Craft Dysfunctional's Tech, Bombs, Guns, and War Dysfunctional's Tech, Bombs, Guns, and War Horror Craft Horror Craft FTB Presents Direwolf20 1.12 FTB Presents Direwolf20 1.12 Horror City : Zombies & Parasites Horror City : Zombies & Parasites All The Horror (1.12.2) All The Horror (1.12.2) Astroblock 2 - Lost in Space Astroblock 2 - Lost in Space All the Mods - ATM1 All the Mods - ATM1 DragonFire DragonFire RougeCraft - Dungeons, Quests And Combat RougeCraft - Dungeons, Quests And Combat GregTech Community Pack GregTech Community Pack Enigmatica 2 - E2 Enigmatica 2 - E2 Omnifactory Omnifactory Ragnamod V Ragnamod V Ultimate BedWars Pack Ultimate BedWars Pack AHZNB's Shinobi World AHZNB's Shinobi World Modern Skyblock: Classic Modern Skyblock: Classic EMC Sky Maker EMC Sky Maker Link Presents: Project Draconic Avaritia E Link Presents: Project Draconic Avaritia E            AMP - Sky of Diamonds! AMP - Sky of Diamonds! Heroes Vs Monsters Heroes Vs Monsters Enigmatica 2: Expert Skyblock - E2ES Enigmatica 2: Expert Skyblock - E2ES Raft Raft Avatar: The Four Elements Avatar: The Four Elements Multiblock Madness Multiblock Madness The Nuclear Wasteland The Nuclear Wasteland Worldedit+ Worldedit+ Feed the Factory Feed the Factory Pokehaan Craft Pokehaan Craft Avatar: Age of the Blood Moon Avatar: Age of the Blood Moon Star Factory Star Factory Dark´s Subnautica Modpack Dark´s Subnautica Modpack World of zombies World of zombies Infinite Randomized One Block Skyblock Infinite Randomized One Block Skyblock Lukes Paradise Parasites Exodus Lukes Paradise Parasites Exodus Two-Mods - By Gato(avaritia) Two-Mods - By Gato(avaritia) HOICraftWW2 HOICraftWW2 Crackpack 3 Crackpack 3 Invasion Invasion Roguelike Adventures and Dungeons TiC Edition Roguelike Adventures and Dungeons TiC Edition Amnesia Amnesia Planetary Planetary Pixelmon Quest Pixelmon Quest Seablock: Rustic Waters Seablock: Rustic Waters Military Industrial Complex Military Industrial Complex Projekt Millenaire Projekt Millenaire Heavens of Sorcery Heavens of Sorcery Mech & Magic Mech & Magic All the Mods 3 - Remix - ATM3R All the Mods 3 - Remix - ATM3R HBM Hamster Reloaded Official Server Pack HBM Hamster Reloaded Official Server Pack SRP: Quarantine Zone SRP: Quarantine Zone Life in the village LITE Life in the village LITE Technological Journey Technological Journey HarvestBlock HarvestBlock Simple Ben 10 Simple Ben 10 Into The Betweenlands Into The Betweenlands Automaton Automaton Lukes Paradise Parasites Lukes Paradise Parasites Real Island 2 - Modular Craft Real Island 2 - Modular Craft Levitated Levitated Crop Block Crop Block FoolCraft 3 FoolCraft 3 Interdimensional RL Craft Interdimensional RL Craft Mana Metal New Horizons Mana Metal New Horizons Metamorph modpack Metamorph modpack Aphmau - MC Diaries+ Revisited Aphmau - MC Diaries+ Revisited Nature's Beauty Nature's Beauty Randomized-Craft Randomized-Craft Enigmatica 2: Light - E2L Enigmatica 2: Light - E2L Sprout - Explore for More Sprout - Explore for More Minecraft Trillionaire Minecraft Trillionaire Chemical Exchange Chemical Exchange Skrubcraft I Skrubcraft I Draconic Infinity Draconic Infinity Peace of Mind Peace of Mind Thaumcraft & Ice And Fire Thaumcraft & Ice And Fire Resident Craft Resident Craft FTB Interactions FTB Interactions Galacticraft-Pack Galacticraft-Pack Clockwerk Pixelmon Clockwerk Pixelmon

External Resources