Package net.minecraft.client.render
Class BackgroundRenderer
java.lang.Object
net.minecraft.client.render.BackgroundRenderer
- Mappings:
Namespace Name official fszintermediary net/minecraft/class_758named net/minecraft/client/render/BackgroundRenderer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static classstatic enumprivate static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static floatprivate static final List<BackgroundRenderer.StatusEffectFogModifier>private static floatprivate static longprivate static intprivate static floatstatic final floatprivate static final intprivate static int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyFog(Camera camera, BackgroundRenderer.FogType fogType, float viewDistance, boolean thickFog, float tickDelta) static voidstatic voidclearFog()private static @Nullable BackgroundRenderer.StatusEffectFogModifiergetFogModifier(Entity entity, float tickDelta) static voidrender(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 bLfsz;b:Iintermediary field_32685Lnet/minecraft/class_758;field_32685:Inamed WATER_FOG_LENGTHLnet/minecraft/client/render/BackgroundRenderer;WATER_FOG_LENGTH:I
-
FOG_MODIFIERS
- Mappings:
Namespace Name Mixin selector official cLfsz;c:Ljava/util/List;intermediary field_38338Lnet/minecraft/class_758;field_38338:Ljava/util/List;named FOG_MODIFIERSLnet/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 aLfsz;a:Fintermediary field_32684Lnet/minecraft/class_758;field_32684:Fnamed WATER_FOG_CHANGE_DURATIONLnet/minecraft/client/render/BackgroundRenderer;WATER_FOG_CHANGE_DURATION:F
-
red
private static float red- Mappings:
Namespace Name Mixin selector official dLfsz;d:Fintermediary field_4034Lnet/minecraft/class_758;field_4034:Fnamed redLnet/minecraft/client/render/BackgroundRenderer;red:F
-
green
private static float green- Mappings:
Namespace Name Mixin selector official eLfsz;e:Fintermediary field_4033Lnet/minecraft/class_758;field_4033:Fnamed greenLnet/minecraft/client/render/BackgroundRenderer;green:F
-
blue
private static float blue- Mappings:
Namespace Name Mixin selector official fLfsz;f:Fintermediary field_4032Lnet/minecraft/class_758;field_4032:Fnamed blueLnet/minecraft/client/render/BackgroundRenderer;blue:F
-
waterFogColor
private static int waterFogColor- Mappings:
Namespace Name Mixin selector official gLfsz;g:Iintermediary field_4031Lnet/minecraft/class_758;field_4031:Inamed waterFogColorLnet/minecraft/client/render/BackgroundRenderer;waterFogColor:I
-
nextWaterFogColor
private static int nextWaterFogColor- Mappings:
Namespace Name Mixin selector official hLfsz;h:Iintermediary field_4041Lnet/minecraft/class_758;field_4041:Inamed nextWaterFogColorLnet/minecraft/client/render/BackgroundRenderer;nextWaterFogColor:I
-
lastWaterFogColorUpdateTime
private static long lastWaterFogColorUpdateTime- Mappings:
Namespace Name Mixin selector official iLfsz;i:Jintermediary field_4042Lnet/minecraft/class_758;field_4042:Jnamed lastWaterFogColorUpdateTimeLnet/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 aLfsz;a(Leut;FLfns;IF)Vintermediary method_3210Lnet/minecraft/class_758;method_3210(Lnet/minecraft/class_4184;FLnet/minecraft/class_638;IF)Vnamed renderLnet/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 aLfsz;a()Vintermediary method_23792Lnet/minecraft/class_758;method_23792()Vnamed clearFogLnet/minecraft/client/render/BackgroundRenderer;clearFog()V
-
getFogModifier
@Nullable private static @Nullable BackgroundRenderer.StatusEffectFogModifier getFogModifier(Entity entity, float tickDelta) - Mappings:
Namespace Name Mixin selector official aLfsz;a(Lblv;F)Lfsz$e;intermediary method_42588Lnet/minecraft/class_758;method_42588(Lnet/minecraft/class_1297;F)Lnet/minecraft/class_758$class_7286;named getFogModifierLnet/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 aLfsz;a(Leut;Lfsz$d;FZF)Vintermediary method_3211Lnet/minecraft/class_758;method_3211(Lnet/minecraft/class_4184;Lnet/minecraft/class_758$class_4596;FZF)Vnamed applyFogLnet/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 bLfsz;b()Vintermediary method_3212Lnet/minecraft/class_758;method_3212()Vnamed applyFogColorLnet/minecraft/client/render/BackgroundRenderer;applyFogColor()V
-