Package net.minecraft.client.render
Class BackgroundRenderer
java.lang.Object
net.minecraft.client.render.BackgroundRenderer
- Mappings:
- Namespace - Name - named - net/minecraft/client/render/BackgroundRenderer- intermediary - net/minecraft/class_758- official - glp
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static classstatic enumprivate static interface
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final List<BackgroundRenderer.StatusEffectFogModifier> private static booleanprivate static longprivate static intstatic final floatprivate static final intprivate static int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic FogapplyFog(Camera camera, BackgroundRenderer.FogType fogType, Vector4f color, float viewDistance, boolean thickenFog, float tickDelta) static Vector4fgetFogColor(Camera camera, float tickDelta, ClientWorld world, int clampedViewDistance, float skyDarkness) private static @Nullable BackgroundRenderer.StatusEffectFogModifiergetFogModifier(Entity entity, float tickDelta) static boolean
- 
Field Details- 
WATER_FOG_LENGTHprivate static final int WATER_FOG_LENGTH- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - WATER_FOG_LENGTH- Lnet/minecraft/client/render/BackgroundRenderer;WATER_FOG_LENGTH:I- intermediary - field_32685- Lnet/minecraft/class_758;field_32685:I- official - b- Lglp;b:I
 
- 
FOG_MODIFIERS- Mappings:
- Namespace - Name - Mixin selector - named - FOG_MODIFIERS- Lnet/minecraft/client/render/BackgroundRenderer;FOG_MODIFIERS:Ljava/util/List;- intermediary - field_38338- Lnet/minecraft/class_758;field_38338:Ljava/util/List;- official - c- Lglp;c:Ljava/util/List;
 
- 
WATER_FOG_CHANGE_DURATIONpublic static final float WATER_FOG_CHANGE_DURATION- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - WATER_FOG_CHANGE_DURATION- Lnet/minecraft/client/render/BackgroundRenderer;WATER_FOG_CHANGE_DURATION:F- intermediary - field_32684- Lnet/minecraft/class_758;field_32684:F- official - a- Lglp;a:F
 
- 
waterFogColorprivate static int waterFogColor- Mappings:
- Namespace - Name - Mixin selector - named - waterFogColor- Lnet/minecraft/client/render/BackgroundRenderer;waterFogColor:I- intermediary - field_4031- Lnet/minecraft/class_758;field_4031:I- official - d- Lglp;d:I
 
- 
nextWaterFogColorprivate static int nextWaterFogColor- Mappings:
- Namespace - Name - Mixin selector - named - nextWaterFogColor- Lnet/minecraft/client/render/BackgroundRenderer;nextWaterFogColor:I- intermediary - field_4041- Lnet/minecraft/class_758;field_4041:I- official - e- Lglp;e:I
 
- 
lastWaterFogColorUpdateTimeprivate static long lastWaterFogColorUpdateTime- Mappings:
- Namespace - Name - Mixin selector - named - lastWaterFogColorUpdateTime- Lnet/minecraft/client/render/BackgroundRenderer;lastWaterFogColorUpdateTime:J- intermediary - field_4042- Lnet/minecraft/class_758;field_4042:J- official - f- Lglp;f:J
 
- 
fogEnabledprivate static boolean fogEnabled- Mappings:
- Namespace - Name - Mixin selector - named - fogEnabled- Lnet/minecraft/client/render/BackgroundRenderer;fogEnabled:Z- intermediary - field_54018- Lnet/minecraft/class_758;field_54018:Z- official - g- Lglp;g:Z
 
 
- 
- 
Constructor Details- 
BackgroundRendererpublic BackgroundRenderer()
 
- 
- 
Method Details- 
getFogColorpublic static Vector4f getFogColor(Camera camera, float tickDelta, ClientWorld world, int clampedViewDistance, float skyDarkness) - Mappings:
- Namespace - Name - Mixin selector - named - getFogColor- Lnet/minecraft/client/render/BackgroundRenderer;getFogColor(Lnet/minecraft/client/render/Camera;FLnet/minecraft/client/world/ClientWorld;IF)Lorg/joml/Vector4f;- intermediary - method_62185- Lnet/minecraft/class_758;method_62185(Lnet/minecraft/class_4184;FLnet/minecraft/class_638;IF)Lorg/joml/Vector4f;- official - a- Lglp;a(Lfks;FLgga;IF)Lorg/joml/Vector4f;
 
- 
toggleFogpublic static boolean toggleFog()- Mappings:
- Namespace - Name - Mixin selector - named - toggleFog- Lnet/minecraft/client/render/BackgroundRenderer;toggleFog()Z- intermediary - method_63521- Lnet/minecraft/class_758;method_63521()Z- official - a- Lglp;a()Z
 
- 
getFogModifier@Nullable private static @Nullable BackgroundRenderer.StatusEffectFogModifier getFogModifier(Entity entity, float tickDelta) - Mappings:
- Namespace - Name - Mixin selector - named - getFogModifier- Lnet/minecraft/client/render/BackgroundRenderer;getFogModifier(Lnet/minecraft/entity/Entity;F)Lnet/minecraft/client/render/BackgroundRenderer$StatusEffectFogModifier;- intermediary - method_42588- Lnet/minecraft/class_758;method_42588(Lnet/minecraft/class_1297;F)Lnet/minecraft/class_758$class_7286;- official - a- Lglp;a(Lbum;F)Lglp$e;
 
- 
applyFogpublic static Fog applyFog(Camera camera, BackgroundRenderer.FogType fogType, Vector4f color, float viewDistance, boolean thickenFog, float tickDelta) - Mappings:
- Namespace - Name - Mixin selector - named - applyFog- Lnet/minecraft/client/render/BackgroundRenderer;applyFog(Lnet/minecraft/client/render/Camera;Lnet/minecraft/client/render/BackgroundRenderer$FogType;Lorg/joml/Vector4f;FZF)Lnet/minecraft/client/render/Fog;- intermediary - method_3211- Lnet/minecraft/class_758;method_3211(Lnet/minecraft/class_4184;Lnet/minecraft/class_758$class_4596;Lorg/joml/Vector4f;FZF)Lnet/minecraft/class_9958;- official - a- Lglp;a(Lfks;Lglp$d;Lorg/joml/Vector4f;FZF)Lglo;
 
 
-