net.minecraft.client.render.fog

public class AtmosphericFogModifier

extends FogModifier

net.minecraft.client.renderer.fog.environment.AtmosphericFogEnvironment
net.minecraft.class_11398
net.minecraft.client.render.fog.AtmosphericFogModifier

Field summary

Modifier and TypeField
private static final int
MIN_RAIN_FOG_SKY_LIGHT
field_60795
field_60795
private static final float
RAIN_FOG_START_OFFSET
field_60587
field_60587
private static final float
RAIN_FOG_END_OFFSET
field_60588
field_60588
private float
rainFogMultiplier
field_60589
fogMultiplier

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public int
getBaseColor(ClientLevel level, Camera camera, int renderDistance, float partialTicks)
method_71654(class_638 arg0, class_4184 arg1, int arg2, float arg3)
getFogColor(ClientWorld arg0, Camera arg1, int arg2, float arg3)
private static int
applyWeatherDarken(int color, float rainLevel, float thunderLevel)
method_76556(int arg0, float arg1, float arg2)
adjustFogColorFromWeather(int color, float rainGradient, float thunderGradient)
public void
setupFog(FogData fog, Camera camera, ClientLevel level, float renderDistance, DeltaTracker deltaTracker)
method_42591(class_7285 arg0, class_4184 arg1, class_638 arg2, float arg3, class_9779 arg4)
applyStartEndModifier(FogData arg0, Camera arg1, ClientWorld arg2, float arg3, RenderTickCounter arg4)
private void
updateRainFogState(Camera camera, ClientLevel level, DeltaTracker deltaTracker)
method_76304(class_4184 arg0, class_638 arg1, class_9779 arg2)
adjustFogMultiplier(Camera camera, ClientWorld world, RenderTickCounter renderTickCounter)
public boolean
isApplicable(FogType fogType, Entity entity)
method_42593(class_5636 arg0, class_1297 arg1)
shouldApply(CameraSubmersionType arg0, Entity arg1)