Package net.minecraft.client.render
Class SkyProperties.End
java.lang.Object
net.minecraft.client.render.SkyProperties
net.minecraft.client.render.SkyProperties.End
- Enclosing class:
- SkyProperties
- Mappings:
Namespace Name official emw$a
intermediary net/minecraft/class_5294$class_5295
named net/minecraft/client/render/SkyProperties$End
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.render.SkyProperties
SkyProperties.End, SkyProperties.Nether, SkyProperties.Overworld, SkyProperties.SkyType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadjustFogColor(Vec3d color, float sunHeight)
Transforms the given fog color based on the current height of the sun.@org.jetbrains.annotations.Nullable float[]
getFogColorOverride(float skyAngle, float tickDelta)
Returns a fog color override based on the current sky angle.boolean
useThickFog(int camX, int camY)
Methods inherited from class net.minecraft.client.render.SkyProperties
byDimensionType, getCloudsHeight, getSkyType, isAlternateSkyColor, isDarkened, shouldBrightenLighting
-
Constructor Details
-
End
public End()
-
-
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:
adjustFogColor
in classSkyProperties
- 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 classSkyProperties
- 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
-
getFogColorOverride
@Nullable public @org.jetbrains.annotations.Nullable float[] getFogColorOverride(float skyAngle, float tickDelta)Returns a fog color override based on the current sky angle. This is used in vanilla to render sunset and sunrise fog.- Overrides:
getFogColorOverride
in classSkyProperties
- Returns:
- an RGBA array of four floats, or
null
if fog color should not be overridden - Mappings:
Namespace Name Mixin selector official a
Lemw;a(FF)[F
intermediary method_28109
Lnet/minecraft/class_5294;method_28109(FF)[F
named getFogColorOverride
Lnet/minecraft/client/render/SkyProperties;getFogColorOverride(FF)[F
-