Skip to content

How It Works

Matthew edited this page Mar 22, 2021 · 6 revisions

These are the things u can do using Fogger:

  • Change where the fog starts and ends globally.
  • Change where the fog starts and ends for every biome and world's y-level.
  • Make Fog start and end position independent from player view setting.

Everything is configurable via use of config file. First you'll need to run the mod at least once so the config file generates. Find the config folder in your Minecraft instance and search for file called fogger.cfg. Then open the file with any text-editor program like notepad.

Global Fog

To have a custom fog setting that will work globally you'll need to find "B:IsFogGlobal" property and set it's value to true.

Then if wanted to edit the global fog range find and edit the "D:DefaultWhereTheFogStarts" and "D:DefaultWhereTheFogEnds" property.

Remember to include all the needed values and watch out for typos.

Dependent Fog

Editing Dependent fogs requires use of "S:FogDefinitions" to first specify a shortcut that later can be used in "S:FogDefinitionMaps" list. Simply use existing or specify new element in "S:FogDefinitions" list to reference it in "S:FogDefinitionMaps" list. By using the "S:FogDefinitionMaps" list you're able to specify at what biome and at what y-level certain fog appears.

The syntax for "S:FogDefinitionMaps" is: { Mod/Vanilla:BiomeName } { Y-Level-Up } { "S:FogDefinitions" }

Feel free to space out those values using both spaces and tabs. But do not leave empty lines.

Constant Fog

It is possible to make the dependent fog independent from player's view setting by changing the "B:IsFogConstant" property to true. This however will change how the values were read as those are no longer percent values. From now on a '1' is a distance of 1 block.

Note That

#When the biome is not being defined in the list then "D:DefaultWhereTheFogStarts" and "D:DefaultWhereTheFogEnds" will be applied.

#Make sure u're not defining a biome with same y-level twice or more as this will slow down the mod as of for right now.

#For comparison vanilla fog values are 0.75 for fog to start and 1.00 for fog to end.

Clone this wiki locally