Package net.minecraft.client.render
Class DimensionEffects.class_9615
java.lang.Object
net.minecraft.client.render.DimensionEffects
net.minecraft.client.render.DimensionEffects.class_9615
- Enclosing class:
DimensionEffects
- Mappings:
Namespace Name official gev$dintermediary net/minecraft/class_5294$class_9615named net/minecraft/client/render/DimensionEffects$class_9615
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.render.DimensionEffects
DimensionEffects.class_9615, DimensionEffects.End, DimensionEffects.Nether, DimensionEffects.Overworld, DimensionEffects.SkyType -
Field Summary
Fields inherited from class net.minecraft.client.render.DimensionEffects
rgba -
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.@org.jetbrains.annotations.Nullable float[]getFogColorOverride(float skyAngle, float tickDelta) Returns an RGBA fog color override based on the current sky angle, ornullif fog color should not be overridden.intbooleanuseThickFog(int camX, int camY) Methods inherited from class net.minecraft.client.render.DimensionEffects
byDimensionType, getCloudsHeight, getSkyType, isAlternateSkyColor, isDarkened, shouldBrightenLighting
-
Constructor Details
-
class_9615
public class_9615()
-
-
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:
adjustFogColorin classDimensionEffects- Mappings:
Namespace Name Mixin selector official aLgev;a(Lewu;F)Lewu;intermediary method_28112Lnet/minecraft/class_5294;method_28112(Lnet/minecraft/class_243;F)Lnet/minecraft/class_243;named adjustFogColorLnet/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:
useThickFogin classDimensionEffects- Mappings:
Namespace Name Mixin selector official aLgev;a(II)Zintermediary method_28110Lnet/minecraft/class_5294;method_28110(II)Znamed useThickFogLnet/minecraft/client/render/DimensionEffects;useThickFog(II)Z
-
method_59359
public int method_59359()- Overrides:
method_59359in classDimensionEffects- Mappings:
Namespace Name Mixin selector official dLgev;d()Iintermediary method_59359Lnet/minecraft/class_5294;method_59359()Inamed method_59359Lnet/minecraft/client/render/DimensionEffects;method_59359()I
-
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, ornullif fog color should not be overridden. This is used in vanilla to render sunset and sunrise fog.- Overrides:
getFogColorOverridein classDimensionEffects- Returns:
- an RGBA fog color override based on the current sky angle, or
nullif fog color should not be overridden - Mappings:
Namespace Name Mixin selector official aLgev;a(FF)[Fintermediary method_28109Lnet/minecraft/class_5294;method_28109(FF)[Fnamed getFogColorOverrideLnet/minecraft/client/render/DimensionEffects;getFogColorOverride(FF)[F
-