Cave Fog Stabilizer
When Mojang added environmental fog to the game, the time of day started affecting how fog looks underground. I thought this didn't make sense, so I made this mod.
This mod prevents fog from being affected by the time of day only when the player is underground. This lets you have the new environmental fog on the surface while keeping cave fog unaffected.
Check out the Gallery tab for comparison images between this mod, vanilla after environmental fog, and vanilla before environmental fog.
Compatibility
- Supports every version which has environmental fog (1.21.6 and newer).
- Compatible with data packs and mods adding custom fog colors to cave biomes, through biome fog colors before 1.21.11 and environment attributes since 1.21.11. A cave biome is any biome in the vanilla cave biome list or the
c:is_cave/c:is_undergroundbiome tags. Custom fog colors are kept as-is, only darkened by a configurable amount. - Compatible with Sodium, although the "Use Fog Occlusion" option, which is enabled by default, may cause some distant chunks in large caves to pop out of existence in certain cases, leaving holes in the distance. If this bothers you, you can disable "Use Fog Occlusion" in Sodium video settings.
Configuration
The mod is configured through Fzzy Config. On 1.21.11 and newer, the options are also available on the Sodium settings screen when it's installed.

All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 5d ago | 1 | ||||
| 5d ago | 1 | ||||
| 5d ago | 1 | ||||
| 5d ago | 1 | ||||
| 5d ago | 1 | ||||
| 5d ago | 1 | ||||
| 5d ago | 1 | ||||
| 5d ago | 1 | ||||
| 5d ago | 1 | ||||
| 5d ago | 1 | ||||
| 5d ago | 1 | ||||
| 5d ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 11mo ago | 1 | ||||
| 11mo ago | 1 |
- Completely reworked the mod, fixing many issues:
- Custom cave fog colors are now handled properly and blend smoothly between neighboring biomes.
- Fixed fog turning black underground in dimensions without skylight, like the Nether.
- Fixed cave fog flickering between black and bright colors when the night vision effect is active.
- Fixed a fog transition time of 0 seconds breaking fog colors.
- Fixed the fog transition playing when joining a world or changing dimensions.
- The mod now supports 1.21.6-26.3 on both Fabric and NeoForge.
- The config is now handled by Fzzy Config, which is now required. On 1.21.11 and newer, the config is still available on the Sodium settings screen when it's installed.
- Completely reworked the mod, fixing many issues:
- Custom cave fog colors are now handled properly and blend smoothly between neighboring biomes.
- Fixed fog turning black underground in dimensions without skylight, like the Nether.
- Fixed cave fog flickering between black and bright colors when the night vision effect is active.
- Fixed a fog transition time of 0 seconds breaking fog colors.
- Fixed the fog transition playing when joining a world or changing dimensions.
- The mod now supports 1.21.6-26.3 on both Fabric and NeoForge.
- The config is now handled by Fzzy Config, which is now required. On 1.21.11 and newer, the config is still available on the Sodium settings screen when it's installed.
- Completely reworked the mod, fixing many issues:
- Custom cave fog colors are now handled properly and blend smoothly between neighboring biomes.
- Fixed fog turning black underground in dimensions without skylight, like the Nether.
- Fixed cave fog flickering between black and bright colors when the night vision effect is active.
- Fixed a fog transition time of 0 seconds breaking fog colors.
- Fixed the fog transition playing when joining a world or changing dimensions.
- The mod now supports 1.21.6-26.3 on both Fabric and NeoForge.
- The config is now handled by Fzzy Config, which is now required. On 1.21.11 and newer, the config is still available on the Sodium settings screen when it's installed.
- Completely reworked the mod, fixing many issues:
- Custom cave fog colors are now handled properly and blend smoothly between neighboring biomes.
- Fixed fog turning black underground in dimensions without skylight, like the Nether.
- Fixed cave fog flickering between black and bright colors when the night vision effect is active.
- Fixed a fog transition time of 0 seconds breaking fog colors.
- Fixed the fog transition playing when joining a world or changing dimensions.
- The mod now supports 1.21.6-26.3 on both Fabric and NeoForge.
- The config is now handled by Fzzy Config, which is now required. On 1.21.11 and newer, the config is still available on the Sodium settings screen when it's installed.
- Completely reworked the mod, fixing many issues:
- Custom cave fog colors are now handled properly and blend smoothly between neighboring biomes.
- Fixed fog turning black underground in dimensions without skylight, like the Nether.
- Fixed cave fog flickering between black and bright colors when the night vision effect is active.
- Fixed a fog transition time of 0 seconds breaking fog colors.
- Fixed the fog transition playing when joining a world or changing dimensions.
- The mod now supports 1.21.6-26.3 on both Fabric and NeoForge.
- The config is now handled by Fzzy Config, which is now required. On 1.21.11 and newer, the config is still available on the Sodium settings screen when it's installed.
- Completely reworked the mod, fixing many issues:
- Custom cave fog colors are now handled properly and blend smoothly between neighboring biomes.
- Fixed fog turning black underground in dimensions without skylight, like the Nether.
- Fixed cave fog flickering between black and bright colors when the night vision effect is active.
- Fixed a fog transition time of 0 seconds breaking fog colors.
- Fixed the fog transition playing when joining a world or changing dimensions.
- The mod now supports 1.21.6-26.3 on both Fabric and NeoForge.
- The config is now handled by Fzzy Config, which is now required. On 1.21.11 and newer, the config is still available on the Sodium settings screen when it's installed.
- Completely reworked the mod, fixing many issues:
- Custom cave fog colors are now handled properly and blend smoothly between neighboring biomes.
- Fixed fog turning black underground in dimensions without skylight, like the Nether.
- Fixed cave fog flickering between black and bright colors when the night vision effect is active.
- Fixed a fog transition time of 0 seconds breaking fog colors.
- Fixed the fog transition playing when joining a world or changing dimensions.
- The mod now supports 1.21.6-26.3 on both Fabric and NeoForge.
- The config is now handled by Fzzy Config, which is now required. On 1.21.11 and newer, the config is still available on the Sodium settings screen when it's installed.
- Completely reworked the mod, fixing many issues:
- Custom cave fog colors are now handled properly and blend smoothly between neighboring biomes.
- Fixed fog turning black underground in dimensions without skylight, like the Nether.
- Fixed cave fog flickering between black and bright colors when the night vision effect is active.
- Fixed a fog transition time of 0 seconds breaking fog colors.
- Fixed the fog transition playing when joining a world or changing dimensions.
- The mod now supports 1.21.6-26.3 on both Fabric and NeoForge.
- The config is now handled by Fzzy Config, which is now required. On 1.21.11 and newer, the config is still available on the Sodium settings screen when it's installed.
- Completely reworked the mod, fixing many issues:
- Custom cave fog colors are now handled properly and blend smoothly between neighboring biomes.
- Fixed fog turning black underground in dimensions without skylight, like the Nether.
- Fixed cave fog flickering between black and bright colors when the night vision effect is active.
- Fixed a fog transition time of 0 seconds breaking fog colors.
- Fixed the fog transition playing when joining a world or changing dimensions.
- The mod now supports 1.21.6-26.3 on both Fabric and NeoForge.
- The config is now handled by Fzzy Config, which is now required. On 1.21.11 and newer, the config is still available on the Sodium settings screen when it's installed.
- Completely reworked the mod, fixing many issues:
- Custom cave fog colors are now handled properly and blend smoothly between neighboring biomes.
- Fixed fog turning black underground in dimensions without skylight, like the Nether.
- Fixed cave fog flickering between black and bright colors when the night vision effect is active.
- Fixed a fog transition time of 0 seconds breaking fog colors.
- Fixed the fog transition playing when joining a world or changing dimensions.
- The mod now supports 1.21.6-26.3 on both Fabric and NeoForge.
- The config is now handled by Fzzy Config, which is now required. On 1.21.11 and newer, the config is still available on the Sodium settings screen when it's installed.
- Completely reworked the mod, fixing many issues:
- Custom cave fog colors are now handled properly and blend smoothly between neighboring biomes.
- Fixed fog turning black underground in dimensions without skylight, like the Nether.
- Fixed cave fog flickering between black and bright colors when the night vision effect is active.
- Fixed a fog transition time of 0 seconds breaking fog colors.
- Fixed the fog transition playing when joining a world or changing dimensions.
- The mod now supports 1.21.6-26.3 on both Fabric and NeoForge.
- The config is now handled by Fzzy Config, which is now required. On 1.21.11 and newer, the config is still available on the Sodium settings screen when it's installed.
- Completely reworked the mod, fixing many issues:
- Custom cave fog colors are now handled properly and blend smoothly between neighboring biomes.
- Fixed fog turning black underground in dimensions without skylight, like the Nether.
- Fixed cave fog flickering between black and bright colors when the night vision effect is active.
- Fixed a fog transition time of 0 seconds breaking fog colors.
- Fixed the fog transition playing when joining a world or changing dimensions.
- The mod now supports 1.21.6-26.3 on both Fabric and NeoForge.
- The config is now handled by Fzzy Config, which is now required. On 1.21.11 and newer, the config is still available on the Sodium settings screen when it's installed.
- Relaxed MC version requirement so that I don't have to upload a new file every time MC gets a hotfix. No functional changes to the mod.
- Relaxed MC version requirement so that I don't have to upload a new file every time MC gets a hotfix. No functional changes to the mod.
- Updated to Minecraft 26.1.
- Updated to Minecraft 26.1.
- Changed accent color for the mod's config in the Sodium video settings screen.
- Changed accent color for the mod's config in the Sodium video settings screen.
- Mod now uses Sodium Config API for configuration.
- Mod now uses Sodium Config API for configuration.
- Fix defaults when configuration is not available.
- Fix defaults when configuration is not available.
- Added better support for cave biomes with custom fog colors. If a biome is a cave biome and has a fog color different from black, that color will be used at 20% brightness.
- New config option "Custom cave fog brightness" that allows changing the custom fog color brightness from the default 20%.
- Removed config option "Stabilized cave fog color", is now replaced with "Standard cave fog brigthness" which is used when the fog color is black. 0% by default.
- Added better support for cave biomes with custom fog colors. If a biome is a cave biome and has a fog color different from black, that color will be used at 20% brightness.
- New config option "Custom cave fog brightness" that allows changing the custom fog color brightness from the default 20%.
- Removed config option "Stabilized cave fog color", is now replaced with "Standard cave fog brigthness" which is used when the fog color is black. 0% by default.
- Initial release.
- Initial release.