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 float
private static long
private static int
private static int
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getBaseColor
(ClientLevel p_423612_, Camera p_423473_, int p_423430_, float p_423622_) boolean
isApplicable
(FogType p_423569_, Entity p_423444_) void
void
setupFog
(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:
setupFog
in classFogEnvironment
-
isApplicable
- Specified by:
isApplicable
in classFogEnvironment
-
getBaseColor
- Overrides:
getBaseColor
in classFogEnvironment
-
onNotApplicable
public void onNotApplicable()- Overrides:
onNotApplicable
in classFogEnvironment
-