Package net.minecraft.client.renderer
Class FogRenderer
java.lang.Object
net.minecraft.client.renderer.FogRenderer
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) static class
(package private) static class
static enum
(package private) static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final float
private static long
private static float
private static float
private static float
private static final List<FogRenderer.MobEffectFogFunction>
private static int
private static int
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static FogRenderer.MobEffectFogFunction
getPriorityFogFunction
(Entity p_234166_, float p_234167_) static void
static void
setupColor
(Camera p_109019_, float p_109020_, ClientLevel p_109021_, int p_109022_, float p_109023_) static void
setupFog
(Camera p_234173_, FogRenderer.FogMode p_234174_, float p_234175_, boolean p_234176_, float p_234177_) static void
-
Field Details
-
WATER_FOG_DISTANCE
private static final int WATER_FOG_DISTANCE- See Also:
-
MOB_EFFECT_FOG
-
BIOME_FOG_TRANSITION_TIME
public static final float BIOME_FOG_TRANSITION_TIME- See Also:
-
fogRed
private static float fogRed -
fogGreen
private static float fogGreen -
fogBlue
private static float fogBlue -
targetBiomeFog
private static int targetBiomeFog -
previousBiomeFog
private static int previousBiomeFog -
biomeChangedTime
private static long biomeChangedTime
-
-
Constructor Details
-
FogRenderer
public FogRenderer()
-
-
Method Details
-
setupColor
public static void setupColor(Camera p_109019_, float p_109020_, ClientLevel p_109021_, int p_109022_, float p_109023_) -
setupNoFog
public static void setupNoFog() -
getPriorityFogFunction
@Nullable private static FogRenderer.MobEffectFogFunction getPriorityFogFunction(Entity p_234166_, float p_234167_) -
setupFog
public static void setupFog(Camera p_234173_, FogRenderer.FogMode p_234174_, float p_234175_, boolean p_234176_, float p_234177_) -
levelFogColor
public static void levelFogColor()
-