Class DimensionEffects.class_9615

java.lang.Object
net.minecraft.client.render.DimensionEffects
net.minecraft.client.render.DimensionEffects.class_9615
Enclosing class:
DimensionEffects

@Environment(CLIENT) public static class DimensionEffects.class_9615 extends DimensionEffects
Mappings:
Namespace Name
official gev$d
intermediary net/minecraft/class_5294$class_9615
named net/minecraft/client/render/DimensionEffects$class_9615
  • Constructor Details

    • class_9615

      public class_9615()
  • Method Details

    • adjustFogColor

      public Vec3d adjustFogColor(Vec3d color, float sunHeight)
      Transforms the given fog color based on the current height of the sun. This is used in vanilla to darken fog during night.
      Specified by:
      adjustFogColor in class DimensionEffects
      Mappings:
      Namespace Name Mixin selector
      official a Lgev;a(Lewu;F)Lewu;
      intermediary method_28112 Lnet/minecraft/class_5294;method_28112(Lnet/minecraft/class_243;F)Lnet/minecraft/class_243;
      named adjustFogColor Lnet/minecraft/client/render/DimensionEffects;adjustFogColor(Lnet/minecraft/util/math/Vec3d;F)Lnet/minecraft/util/math/Vec3d;
    • useThickFog

      public boolean useThickFog(int camX, int camY)
      Specified by:
      useThickFog in class DimensionEffects
      Mappings:
      Namespace Name Mixin selector
      official a Lgev;a(II)Z
      intermediary method_28110 Lnet/minecraft/class_5294;method_28110(II)Z
      named useThickFog Lnet/minecraft/client/render/DimensionEffects;useThickFog(II)Z
    • method_59359

      public int method_59359()
      Overrides:
      method_59359 in class DimensionEffects
      Mappings:
      Namespace Name Mixin selector
      official d Lgev;d()I
      intermediary method_59359 Lnet/minecraft/class_5294;method_59359()I
      named method_59359 Lnet/minecraft/client/render/DimensionEffects;method_59359()I
    • getFogColorOverride

      @Nullable public @org.jetbrains.annotations.Nullable float[] getFogColorOverride(float skyAngle, float tickDelta)
      Returns an RGBA fog color override based on the current sky angle, or null if fog color should not be overridden. This is used in vanilla to render sunset and sunrise fog.
      Overrides:
      getFogColorOverride in class DimensionEffects
      Returns:
      an RGBA fog color override based on the current sky angle, or null if fog color should not be overridden
      Mappings:
      Namespace Name Mixin selector
      official a Lgev;a(FF)[F
      intermediary method_28109 Lnet/minecraft/class_5294;method_28109(FF)[F
      named getFogColorOverride Lnet/minecraft/client/render/DimensionEffects;getFogColorOverride(FF)[F