Fog Customizer
Allows you to adjust the strength of fog for various fog types
Integration
How to toggle the mod
public void toggleFogCustomizerExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModFog.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
WATER_FOG_DENSITY
- Config Key:
water-fog-density
- Values
- Type:
Float
- Default:
1.0F
- Minimum:
0.0F
- Maximum:
1.8F
- Type:
- Config Key:
-
RENDER_DISTANCE_FOG_DENSITY
- Config Key:
render-distance-fog-density
- Values
- Type:
Float
- Default:
1.0F
- Minimum:
0.0F
- Maximum:
1.95F
- Type:
- Config Key:
-
RENDER_DISTANCE_FOG_COLOR_TOGGLE
- Config Key:
render-distance-fog-color-toggle
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
RENDER_DISTANCE_FOG_COLOR
- Config Key:
render-distance-fog-color
- Values
- Type:
String
- Default:
#C0D8FF
- Type:
- Config Key: