类 SkyProperties.End
- java.lang.Object
-
- net.minecraft.client.render.SkyProperties
-
- net.minecraft.client.render.SkyProperties.End
-
- 封闭类:
- SkyProperties
@Environment(CLIENT) public static class SkyProperties.End extends SkyProperties
- Mappings:
Namespace Name official elp$aintermediary net/minecraft/class_5294$class_5295named net/minecraft/client/render/SkyProperties$End
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.client.render.SkyProperties
SkyProperties.End, SkyProperties.Nether, SkyProperties.Overworld, SkyProperties.SkyType
-
-
构造器概要
构造器 构造器 说明 End()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Vec3dadjustFogColor(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 a fog color override based on the current sky angle.booleanuseThickFog(int camX, int camY)-
从类继承的方法 net.minecraft.client.render.SkyProperties
byDimensionType, getCloudsHeight, getSkyType, isAlternateSkyColor, isDarkened, shouldBrightenLighting
-
-
-
-
方法详细资料
-
adjustFogColor
public Vec3d adjustFogColor(Vec3d color, float sunHeight)
Transforms the given fog color based on the current height of the sun. This is used in vanilla to darken fog during night.- 指定者:
adjustFogColor在类中SkyProperties- Mappings:
Namespace Name Mixin selector official aLelp;a(Ldma;F)Ldma;intermediary method_28112Lnet/minecraft/class_5294;method_28112(Lnet/minecraft/class_243;F)Lnet/minecraft/class_243;named adjustFogColorLnet/minecraft/client/render/SkyProperties;adjustFogColor(Lnet/minecraft/util/math/Vec3d;F)Lnet/minecraft/util/math/Vec3d;
-
useThickFog
public boolean useThickFog(int camX, int camY)- 指定者:
useThickFog在类中SkyProperties- Mappings:
Namespace Name Mixin selector official aLelp;a(II)Zintermediary method_28110Lnet/minecraft/class_5294;method_28110(II)Znamed useThickFogLnet/minecraft/client/render/SkyProperties;useThickFog(II)Z
-
getFogColorOverride
@Nullable public @org.jetbrains.annotations.Nullable float[] getFogColorOverride(float skyAngle, float tickDelta)
Returns a fog color override based on the current sky angle. This is used in vanilla to render sunset and sunrise fog.- 覆盖:
getFogColorOverride在类中SkyProperties- 返回:
- an RGBA array of four floats, or
nullif fog color should not be overridden - Mappings:
Namespace Name Mixin selector official aLelp;a(FF)[Fintermediary method_28109Lnet/minecraft/class_5294;method_28109(FF)[Fnamed getFogColorOverrideLnet/minecraft/client/render/SkyProperties;getFogColorOverride(FF)[F
-
-