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 named net/minecraft/client/render/DimensionEffects$Overworld
intermediary net/minecraft/class_5294$class_5297
official gkw$c
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.render.DimensionEffects
DimensionEffects.End, DimensionEffects.Nether, DimensionEffects.Overworld, DimensionEffects.SkyType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private static final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadjustFogColor
(Vec3d color, float sunHeight) Transforms the given fog color based on the current height of the sun.int
getSkyColor
(float skyAngle) boolean
isSunRisingOrSetting
(float skyAngle) boolean
useThickFog
(int camX, int camY) Methods inherited from class net.minecraft.client.render.DimensionEffects
byDimensionType, getCloudsHeight, getSkyType, isAlternateSkyColor, isDarkened, shouldBrightenLighting
-
Field Details
-
CLOUDS_HEIGHT
public static final int CLOUDS_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named CLOUDS_HEIGHT
Lnet/minecraft/client/render/DimensionEffects$Overworld;CLOUDS_HEIGHT:I
intermediary field_32681
Lnet/minecraft/class_5294$class_5297;field_32681:I
official a
Lgkw$c;a:I
-
field_53064
private static final float field_53064- See Also:
- Mappings:
Namespace Name Mixin selector named field_53064
Lnet/minecraft/client/render/DimensionEffects$Overworld;field_53064:F
intermediary field_53064
Lnet/minecraft/class_5294$class_5297;field_53064:F
official b
Lgkw$c;b:F
-
-
Constructor Details
-
Overworld
public Overworld()
-
-
Method Details
-
isSunRisingOrSetting
public boolean isSunRisingOrSetting(float skyAngle) - Overrides:
isSunRisingOrSetting
in classDimensionEffects
- Mappings:
Namespace Name Mixin selector named isSunRisingOrSetting
Lnet/minecraft/client/render/DimensionEffects;isSunRisingOrSetting(F)Z
intermediary method_62183
Lnet/minecraft/class_5294;method_62183(F)Z
official a
Lgkw;a(F)Z
-
getSkyColor
public int getSkyColor(float skyAngle) - Overrides:
getSkyColor
in classDimensionEffects
- Mappings:
Namespace Name Mixin selector named getSkyColor
Lnet/minecraft/client/render/DimensionEffects;getSkyColor(F)I
intermediary method_62184
Lnet/minecraft/class_5294;method_62184(F)I
official b
Lgkw;b(F)I
-
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 named adjustFogColor
Lnet/minecraft/client/render/DimensionEffects;adjustFogColor(Lnet/minecraft/util/math/Vec3d;F)Lnet/minecraft/util/math/Vec3d;
intermediary method_28112
Lnet/minecraft/class_5294;method_28112(Lnet/minecraft/class_243;F)Lnet/minecraft/class_243;
official a
Lgkw;a(Lfbx;F)Lfbx;
-
useThickFog
public boolean useThickFog(int camX, int camY) - Specified by:
useThickFog
in classDimensionEffects
- Mappings:
Namespace Name Mixin selector named useThickFog
Lnet/minecraft/client/render/DimensionEffects;useThickFog(II)Z
intermediary method_28110
Lnet/minecraft/class_5294;method_28110(II)Z
official a
Lgkw;a(II)Z
-