Package net.minecraft.client.render
Class BackgroundRenderer
java.lang.Object
net.minecraft.client.render.BackgroundRenderer
- Mappings:
Namespace Name official fnw
intermediary net/minecraft/class_758
named net/minecraft/client/render/BackgroundRenderer
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
private static class
static enum
private static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate static float
private static final List<BackgroundRenderer.StatusEffectFogModifier>
private static float
private static long
private static int
private static float
static final float
private static final int
private static int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
applyFog
(Camera camera, BackgroundRenderer.FogType fogType, float viewDistance, boolean thickFog, float tickDelta) static void
static void
clearFog()
private static @Nullable BackgroundRenderer.StatusEffectFogModifier
getFogModifier
(Entity entity, float tickDelta) static void
render
(Camera camera, float tickDelta, ClientWorld world, int viewDistance, float skyDarkness)
-
Field Details
-
WATER_FOG_LENGTH
private static final int WATER_FOG_LENGTH- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lfnw;b:I
intermediary field_32685
Lnet/minecraft/class_758;field_32685:I
named WATER_FOG_LENGTH
Lnet/minecraft/client/render/BackgroundRenderer;WATER_FOG_LENGTH:I
-
FOG_MODIFIERS
- Mappings:
Namespace Name Mixin selector official c
Lfnw;c:Ljava/util/List;
intermediary field_38338
Lnet/minecraft/class_758;field_38338:Ljava/util/List;
named FOG_MODIFIERS
Lnet/minecraft/client/render/BackgroundRenderer;FOG_MODIFIERS:Ljava/util/List;
-
WATER_FOG_CHANGE_DURATION
public static final float WATER_FOG_CHANGE_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfnw;a:F
intermediary field_32684
Lnet/minecraft/class_758;field_32684:F
named WATER_FOG_CHANGE_DURATION
Lnet/minecraft/client/render/BackgroundRenderer;WATER_FOG_CHANGE_DURATION:F
-
red
private static float red- Mappings:
Namespace Name Mixin selector official d
Lfnw;d: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 e
Lfnw;e: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 f
Lfnw;f: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 g
Lfnw;g: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 h
Lfnw;h: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 i
Lfnw;i: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 viewDistance, float skyDarkness) - Mappings:
Namespace Name Mixin selector official a
Lfnw;a(Leqg;FLfix;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
-
clearFog
public static void clearFog()- Mappings:
Namespace Name Mixin selector official a
Lfnw;a()V
intermediary method_23792
Lnet/minecraft/class_758;method_23792()V
named clearFog
Lnet/minecraft/client/render/BackgroundRenderer;clearFog()V
-
getFogModifier
@Nullable private static @Nullable BackgroundRenderer.StatusEffectFogModifier getFogModifier(Entity entity, float tickDelta) - Mappings:
Namespace Name Mixin selector official a
Lfnw;a(Lbiq;F)Lfnw$e;
intermediary method_42588
Lnet/minecraft/class_758;method_42588(Lnet/minecraft/class_1297;F)Lnet/minecraft/class_758$class_7286;
named getFogModifier
Lnet/minecraft/client/render/BackgroundRenderer;getFogModifier(Lnet/minecraft/entity/Entity;F)Lnet/minecraft/client/render/BackgroundRenderer$StatusEffectFogModifier;
-
applyFog
public static void applyFog(Camera camera, BackgroundRenderer.FogType fogType, float viewDistance, boolean thickFog, float tickDelta) - Mappings:
Namespace Name Mixin selector official a
Lfnw;a(Leqg;Lfnw$d;FZF)V
intermediary method_3211
Lnet/minecraft/class_758;method_3211(Lnet/minecraft/class_4184;Lnet/minecraft/class_758$class_4596;FZF)V
named applyFog
Lnet/minecraft/client/render/BackgroundRenderer;applyFog(Lnet/minecraft/client/render/Camera;Lnet/minecraft/client/render/BackgroundRenderer$FogType;FZF)V
-
applyFogColor
public static void applyFogColor()- Mappings:
Namespace Name Mixin selector official b
Lfnw;b()V
intermediary method_3212
Lnet/minecraft/class_758;method_3212()V
named applyFogColor
Lnet/minecraft/client/render/BackgroundRenderer;applyFogColor()V
-