Package net.minecraft.client.render
Class BackgroundRenderer
java.lang.Object
net.minecraft.client.render.BackgroundRenderer
@Environment(CLIENT) public class BackgroundRenderer extends Object
- Mappings:
Namespace Name official ehi
intermediary net/minecraft/class_758
named net/minecraft/client/render/BackgroundRenderer
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BackgroundRenderer.FogType
-
Field Summary
Fields Modifier and Type Field Description private static float
blue
private static float
green
private static long
lastWaterFogColorUpdateTime
private static int
nextWaterFogColor
private static float
red
private static int
waterFogColor
-
Constructor Summary
Constructors Constructor Description BackgroundRenderer()
-
Method Summary
Modifier and Type Method Description static void
applyFog(Camera camera, BackgroundRenderer.FogType fogType, float viewDistance, boolean thickFog)
static void
method_23792()
static void
render(Camera camera, float tickDelta, ClientWorld world, int int2, float float2)
static void
setFogBlack()
-
Field Details
-
red
private static float red- Mappings:
Namespace Name Mixin selector official a
Lehi;a:F
intermediary field_4034
Lnet/minecraft/class_758;field_4034:F
named red
Lnet/minecraft/client/render/BackgroundRenderer;red:F
-
green
private static float green- Mappings:
Namespace Name Mixin selector official b
Lehi;b:F
intermediary field_4033
Lnet/minecraft/class_758;field_4033:F
named green
Lnet/minecraft/client/render/BackgroundRenderer;green:F
-
blue
private static float blue- Mappings:
Namespace Name Mixin selector official c
Lehi;c:F
intermediary field_4032
Lnet/minecraft/class_758;field_4032:F
named blue
Lnet/minecraft/client/render/BackgroundRenderer;blue:F
-
waterFogColor
private static int waterFogColor- Mappings:
Namespace Name Mixin selector official d
Lehi;d:I
intermediary field_4031
Lnet/minecraft/class_758;field_4031:I
named waterFogColor
Lnet/minecraft/client/render/BackgroundRenderer;waterFogColor:I
-
nextWaterFogColor
private static int nextWaterFogColor- Mappings:
Namespace Name Mixin selector official e
Lehi;e:I
intermediary field_4041
Lnet/minecraft/class_758;field_4041:I
named nextWaterFogColor
Lnet/minecraft/client/render/BackgroundRenderer;nextWaterFogColor:I
-
lastWaterFogColorUpdateTime
private static long lastWaterFogColorUpdateTime- Mappings:
Namespace Name Mixin selector official f
Lehi;f:J
intermediary field_4042
Lnet/minecraft/class_758;field_4042:J
named lastWaterFogColorUpdateTime
Lnet/minecraft/client/render/BackgroundRenderer;lastWaterFogColorUpdateTime:J
-
-
Constructor Details
-
BackgroundRenderer
public BackgroundRenderer()
-
-
Method Details
-
render
public static void render(Camera camera, float tickDelta, ClientWorld world, int int2, float float2)- Mappings:
Namespace Name Mixin selector official a
Lehi;a(Ldpv;FLedy;IF)V
intermediary method_3210
Lnet/minecraft/class_758;method_3210(Lnet/minecraft/class_4184;FLnet/minecraft/class_638;IF)V
named render
Lnet/minecraft/client/render/BackgroundRenderer;render(Lnet/minecraft/client/render/Camera;FLnet/minecraft/client/world/ClientWorld;IF)V
-
method_23792
public static void method_23792()- Mappings:
Namespace Name Mixin selector official a
Lehi;a()V
intermediary method_23792
Lnet/minecraft/class_758;method_23792()V
named method_23792
Lnet/minecraft/client/render/BackgroundRenderer;method_23792()V
-
applyFog
public static void applyFog(Camera camera, BackgroundRenderer.FogType fogType, float viewDistance, boolean thickFog)- Mappings:
Namespace Name Mixin selector official a
Lehi;a(Ldpv;Lehi$a;FZ)V
intermediary method_3211
Lnet/minecraft/class_758;method_3211(Lnet/minecraft/class_4184;Lnet/minecraft/class_758$class_4596;FZ)V
named applyFog
Lnet/minecraft/client/render/BackgroundRenderer;applyFog(Lnet/minecraft/client/render/Camera;Lnet/minecraft/client/render/BackgroundRenderer$FogType;FZ)V
-
setFogBlack
public static void setFogBlack()- Mappings:
Namespace Name Mixin selector official b
Lehi;b()V
intermediary method_3212
Lnet/minecraft/class_758;method_3212()V
named setFogBlack
Lnet/minecraft/client/render/BackgroundRenderer;setFogBlack()V
-