Package net.minecraft.client.render
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 ehf$cintermediary net/minecraft/class_5294$class_5297named net/minecraft/client/render/SkyProperties$Overworld
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.render.SkyProperties
SkyProperties.End, SkyProperties.Nether, SkyProperties.Overworld, SkyProperties.SkyType -
Constructor Summary
Constructors Constructor Description Overworld() -
Method Summary
Modifier and Type Method Description Vec3dadjustFogColor(Vec3d color, float sunHeight)Transforms the given fog color based on the current height of the sun.booleanuseThickFog(int camX, int camY)Methods inherited from class net.minecraft.client.render.SkyProperties
byDimensionType, getCloudsHeight, getFogColorOverride, getSkyType, isAlternateSkyColor, isDarkened, shouldBrightenLighting
-
Constructor Details
-
Overworld
public Overworld()
-
-
Method Details
-
adjustFogColor
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:
adjustFogColorin classSkyProperties- Mappings:
Namespace Name Mixin selector official aLehf;a(Ldiu;F)Ldiu;intermediary method_28112Lnet/minecraft/class_5294;method_28112(Lnet/minecraft/class_243;F)Lnet/minecraft/class_243;named adjustFogColorLnet/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:
useThickFogin classSkyProperties- Mappings:
Namespace Name Mixin selector official aLehf;a(II)Zintermediary method_28110Lnet/minecraft/class_5294;method_28110(II)Znamed useThickFogLnet/minecraft/client/render/SkyProperties;useThickFog(II)Z
-