Class WaterFogEnvironment
java.lang.Object
net.minecraft.client.renderer.fog.environment.FogEnvironment
net.minecraft.client.renderer.fog.environment.WaterFogEnvironment
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final floatprivate static longprivate static intprivate static intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetBaseColor(ClientLevel p_423612_, Camera p_423473_, int p_423430_, float p_423622_) booleanisApplicable(FogType p_423569_, Entity p_423444_) voidvoidsetupFog(FogData p_423613_, Entity p_423611_, BlockPos p_423436_, ClientLevel p_423530_, float p_423585_, DeltaTracker p_423472_) Methods inherited from class net.minecraft.client.renderer.fog.environment.FogEnvironment
getModifiedDarkness, modifiesDarkness, providesColor
-
Field Details
-
WATER_FOG_DISTANCE
private static final int WATER_FOG_DISTANCE- See Also:
-
BIOME_FOG_TRANSITION_TIME
private static final float BIOME_FOG_TRANSITION_TIME- See Also:
-
targetBiomeFog
private static int targetBiomeFog -
previousBiomeFog
private static int previousBiomeFog -
biomeChangedTime
private static long biomeChangedTime
-
-
Constructor Details
-
WaterFogEnvironment
public WaterFogEnvironment()
-
-
Method Details
-
setupFog
public void setupFog(FogData p_423613_, Entity p_423611_, BlockPos p_423436_, ClientLevel p_423530_, float p_423585_, DeltaTracker p_423472_) - Specified by:
setupFogin classFogEnvironment
-
isApplicable
- Specified by:
isApplicablein classFogEnvironment
-
getBaseColor
- Overrides:
getBaseColorin classFogEnvironment
-
onNotApplicable
public void onNotApplicable()- Overrides:
onNotApplicablein classFogEnvironment
-