Class AtmosphericFogEnvironment
java.lang.Object
net.minecraft.client.renderer.fog.environment.FogEnvironment
net.minecraft.client.renderer.fog.environment.AirBasedFogEnvironment
net.minecraft.client.renderer.fog.environment.AtmosphericFogEnvironment
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final float
private static final float
private float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isApplicable
(FogType p_423642_, Entity p_423662_) void
setupFog
(FogData p_423515_, Entity p_423566_, BlockPos p_423678_, ClientLevel p_423511_, float p_423456_, DeltaTracker p_423432_) Methods inherited from class net.minecraft.client.renderer.fog.environment.AirBasedFogEnvironment
getBaseColor
Methods inherited from class net.minecraft.client.renderer.fog.environment.FogEnvironment
getModifiedDarkness, modifiesDarkness, onNotApplicable, providesColor
-
Field Details
-
MIN_RAIN_FOG_SKY_LIGHT
private static final int MIN_RAIN_FOG_SKY_LIGHT- See Also:
-
RAIN_FOG_START_OFFSET
private static final float RAIN_FOG_START_OFFSET- See Also:
-
RAIN_FOG_END_OFFSET
private static final float RAIN_FOG_END_OFFSET- See Also:
-
rainFogMultiplier
private float rainFogMultiplier
-
-
Constructor Details
-
AtmosphericFogEnvironment
public AtmosphericFogEnvironment()
-
-
Method Details
-
setupFog
public void setupFog(FogData p_423515_, Entity p_423566_, BlockPos p_423678_, ClientLevel p_423511_, float p_423456_, DeltaTracker p_423432_) - Specified by:
setupFog
in classFogEnvironment
-
isApplicable
- Specified by:
isApplicable
in classFogEnvironment
-