net.minecraft.client.renderer

public class FogRenderer

gla
net.minecraft.client.renderer.FogRenderer
net.minecraft.class_758
net.minecraft.client.render.BackgroundRenderer

Field summary

Modifier and TypeField
private static final int
b
WATER_FOG_DISTANCE
field_32685
WATER_FOG_LENGTH
private static final List<FogRenderer$MobEffectFogFunction>
c
MOB_EFFECT_FOG
field_38338
FOG_MODIFIERS
public static final float
a
BIOME_FOG_TRANSITION_TIME
field_32684
WATER_FOG_CHANGE_DURATION
private static int
d
targetBiomeFog
field_4031
waterFogColor
private static int
e
previousBiomeFog
field_4041
nextWaterFogColor
private static long
f
biomeChangedTime
field_4042
lastWaterFogColorUpdateTime
private static boolean
g
fogEnabled
field_54018
fogEnabled

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static org.joml.Vector4f
a(flp arg0, float arg1, gfk arg2, int arg3, float arg4)
computeFogColor(Camera arg0, float arg1, ClientLevel arg2, int arg3, float arg4)
method_62185(class_4184 arg0, float arg1, class_638 arg2, int arg3, float arg4)
getFogColor(Camera camera, float tickDelta, ClientWorld world, int clampedViewDistance, float skyDarkness)
public static boolean
a()
toggleFog()
method_63521()
toggleFog()
private static FogRenderer$MobEffectFogFunction
a(bvk arg0, float arg1)
getPriorityFogFunction(Entity arg0, float arg1)
method_42588(class_1297 arg0, float arg1)
getFogModifier(Entity entity, float tickDelta)
public static FogParameters
a(flp arg0, gla$d arg1, org.joml.Vector4f arg2, float arg3, boolean arg4, float arg5)
setupFog(Camera arg0, FogRenderer$FogMode arg1, org.joml.Vector4f arg2, float arg3, boolean arg4, float arg5)
method_3211(class_4184 arg0, class_758$class_4596 arg1, org.joml.Vector4f arg2, float arg3, boolean arg4, float arg5)
applyFog(Camera camera, BackgroundRenderer$FogType fogType, org.joml.Vector4f color, float viewDistance, boolean thickenFog, float tickDelta)