Package net.minecraft.client.render
Class DimensionEffects.End
java.lang.Object
net.minecraft.client.render.DimensionEffects
net.minecraft.client.render.DimensionEffects.End
- Enclosing class:
DimensionEffects
- Mappings:
Namespace Name named net/minecraft/client/render/DimensionEffects$End
intermediary net/minecraft/class_5294$class_5295
official gei$a
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.render.DimensionEffects
DimensionEffects.End, DimensionEffects.Nether, DimensionEffects.Overworld, DimensionEffects.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 an RGBA fog color override based on the current sky angle, ornull
if fog color should not be overridden.boolean
useThickFog
(int camX, int camY) Methods inherited from class net.minecraft.client.render.DimensionEffects
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 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
Lgei;a(Leww;F)Leww;
-
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
Lgei;a(II)Z
-
getFogColorOverride
@Nullable public @org.jetbrains.annotations.Nullable float[] getFogColorOverride(float skyAngle, float tickDelta) Returns an RGBA fog color override based on the current sky angle, ornull
if fog color should not be overridden. This is used in vanilla to render sunset and sunrise fog.- Overrides:
getFogColorOverride
in classDimensionEffects
- Returns:
- an RGBA fog color override based on the current sky angle, or
null
if fog color should not be overridden - Mappings:
Namespace Name Mixin selector named getFogColorOverride
Lnet/minecraft/client/render/DimensionEffects;getFogColorOverride(FF)[F
intermediary method_28109
Lnet/minecraft/class_5294;method_28109(FF)[F
official a
Lgei;a(FF)[F
-