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$Overworldintermediary net/minecraft/class_5294$class_5297official gqz$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
FieldsModifier and TypeFieldDescriptionstatic final intprivate static final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadjustFogColor(Vec3d color, float sunHeight) Transforms the given fog color based on the current height of the sun.intgetSkyColor(float skyAngle) booleanisSunRisingOrSetting(float skyAngle) booleanuseThickFog(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_HEIGHTLnet/minecraft/client/render/DimensionEffects$Overworld;CLOUDS_HEIGHT:Iintermediary field_32681Lnet/minecraft/class_5294$class_5297;field_32681:Iofficial aLgqz$c;a:I
-
field_53064
private static final float field_53064- See Also:
- Mappings:
Namespace Name Mixin selector named field_53064Lnet/minecraft/client/render/DimensionEffects$Overworld;field_53064:Fintermediary field_53064Lnet/minecraft/class_5294$class_5297;field_53064:Fofficial bLgqz$c;b:F
-
-
Constructor Details
-
Overworld
public Overworld()
-
-
Method Details
-
isSunRisingOrSetting
public boolean isSunRisingOrSetting(float skyAngle) - Overrides:
isSunRisingOrSettingin classDimensionEffects- Mappings:
Namespace Name Mixin selector named isSunRisingOrSettingLnet/minecraft/client/render/DimensionEffects;isSunRisingOrSetting(F)Zintermediary method_62183Lnet/minecraft/class_5294;method_62183(F)Zofficial aLgqz;a(F)Z
-
getSkyColor
public int getSkyColor(float skyAngle) - Overrides:
getSkyColorin classDimensionEffects- Mappings:
Namespace Name Mixin selector named getSkyColorLnet/minecraft/client/render/DimensionEffects;getSkyColor(F)Iintermediary method_62184Lnet/minecraft/class_5294;method_62184(F)Iofficial bLgqz;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:
adjustFogColorin classDimensionEffects- Mappings:
Namespace Name Mixin selector named adjustFogColorLnet/minecraft/client/render/DimensionEffects;adjustFogColor(Lnet/minecraft/util/math/Vec3d;F)Lnet/minecraft/util/math/Vec3d;intermediary method_28112Lnet/minecraft/class_5294;method_28112(Lnet/minecraft/class_243;F)Lnet/minecraft/class_243;official aLgqz;a(Lfgc;F)Lfgc;
-
useThickFog
public boolean useThickFog(int camX, int camY) - Specified by:
useThickFogin classDimensionEffects- Mappings:
Namespace Name Mixin selector named useThickFogLnet/minecraft/client/render/DimensionEffects;useThickFog(II)Zintermediary method_28110Lnet/minecraft/class_5294;method_28110(II)Zofficial aLgqz;a(II)Z
-