Package net.minecraft.client.render
Class DimensionEffects.Overworld
java.lang.Object
net.minecraft.client.render.DimensionEffects
net.minecraft.client.render.DimensionEffects.Overworld
- Enclosing class:
DimensionEffects
- Mappings:
Namespace Name official fdk$c
intermediary net/minecraft/class_5294$class_5297
named net/minecraft/client/render/DimensionEffects$Overworld
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.render.DimensionEffects
DimensionEffects.End, DimensionEffects.Nether, DimensionEffects.Overworld, DimensionEffects.SkyType
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadjustFogColor
(Vec3d color, float sunHeight) Transforms the given fog color based on the current height of the sun.boolean
useThickFog
(int camX, int camY) Methods inherited from class net.minecraft.client.render.DimensionEffects
byDimensionType, getCloudsHeight, getFogColorOverride, getSkyType, isAlternateSkyColor, isDarkened, shouldBrightenLighting
-
Field Details
-
CLOUDS_HEIGHT
public static final int CLOUDS_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfdk$c;a:I
intermediary field_32681
Lnet/minecraft/class_5294$class_5297;field_32681:I
named CLOUDS_HEIGHT
Lnet/minecraft/client/render/DimensionEffects$Overworld;CLOUDS_HEIGHT:I
-
-
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:
adjustFogColor
in classDimensionEffects
- Mappings:
Namespace Name Mixin selector official a
Lfdk;a(Leae;F)Leae;
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 classDimensionEffects
- Mappings:
Namespace Name Mixin selector official a
Lfdk;a(II)Z
intermediary method_28110
Lnet/minecraft/class_5294;method_28110(II)Z
named useThickFog
Lnet/minecraft/client/render/DimensionEffects;useThickFog(II)Z
-