Class FogRenderer

java.lang.Object
net.minecraft.client.renderer.FogRenderer

public class FogRenderer extends Object
  • Field Details

    • WATER_FOG_DISTANCE

      private static final int WATER_FOG_DISTANCE
      See Also:
    • MOB_EFFECT_FOG

      private static final List<FogRenderer.MobEffectFogFunction> 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()