Class SkyProperties.Overworld

java.lang.Object
net.minecraft.client.render.SkyProperties
net.minecraft.client.render.SkyProperties.Overworld
Enclosing class:
SkyProperties

@Environment(CLIENT) public static class SkyProperties.Overworld extends SkyProperties
Mappings:
Namespace Name
official emw$c
intermediary net/minecraft/class_5294$class_5297
named net/minecraft/client/render/SkyProperties$Overworld
  • Field Details

    • field_32681

      public static final int field_32681
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lemw$c;a:I
      intermediary field_32681 Lnet/minecraft/class_5294$class_5297;field_32681:I
      named field_32681 Lnet/minecraft/client/render/SkyProperties$Overworld;field_32681:I
  • Constructor Details

    • Overworld

      public Overworld()
  • 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 SkyProperties
      Mappings:
      Namespace Name Mixin selector
      official a Lemw;a(Ldna;F)Ldna;
      intermediary method_28112 Lnet/minecraft/class_5294;method_28112(Lnet/minecraft/class_243;F)Lnet/minecraft/class_243;
      named adjustFogColor Lnet/minecraft/client/render/SkyProperties;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 SkyProperties
      Mappings:
      Namespace Name Mixin selector
      official a Lemw;a(II)Z
      intermediary method_28110 Lnet/minecraft/class_5294;method_28110(II)Z
      named useThickFog Lnet/minecraft/client/render/SkyProperties;useThickFog(II)Z