Package net.minecraft.client.render
Class BackgroundRenderer
java.lang.Object
net.minecraft.client.render.BackgroundRenderer
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/client/render/BackgroundRendererintermediary net/minecraft/class_758official gte
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static classstatic enumprivate static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate final GpuBufferprivate final class_11285private static final List<BackgroundRenderer.StatusEffectFogModifier> private static booleanprivate static longprivate static intstatic final floatprivate static final intprivate static int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyFog(Camera camera, Vector4f vector4f, float viewDistance, boolean thickenFog, float tickProgress) voidclose()static Vector4fgetFogColor(Camera camera, float tickProgress, ClientWorld world, int clampedViewDistance, float skyDarkness) private static @Nullable BackgroundRenderer.StatusEffectFogModifiergetFogModifier(Entity entity, float tickProgress) voidmethod_71109(BackgroundRenderer.FogType fogType) private voidmethod_71110(ByteBuffer byteBuffer, int int2, Vector4f vector4f, FogShape fogShape, float float2, float float3, float float4, float float5) static boolean
-
Field Details
-
field_60096
public static final int field_60096- See Also:
- Mappings:
Namespace Name Mixin selector named field_60096Lnet/minecraft/client/render/BackgroundRenderer;field_60096:Iintermediary field_60096Lnet/minecraft/class_758;field_60096:Iofficial aLgte;a:I
-
WATER_FOG_LENGTH
private static final int WATER_FOG_LENGTH- See Also:
- Mappings:
Namespace Name Mixin selector named WATER_FOG_LENGTHLnet/minecraft/client/render/BackgroundRenderer;WATER_FOG_LENGTH:Iintermediary field_32685Lnet/minecraft/class_758;field_32685:Iofficial cLgte;c:I
-
FOG_MODIFIERS
- Mappings:
Namespace Name Mixin selector named FOG_MODIFIERSLnet/minecraft/client/render/BackgroundRenderer;FOG_MODIFIERS:Ljava/util/List;intermediary field_38338Lnet/minecraft/class_758;field_38338:Ljava/util/List;official dLgte;d:Ljava/util/List;
-
WATER_FOG_CHANGE_DURATION
public static final float WATER_FOG_CHANGE_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector named WATER_FOG_CHANGE_DURATIONLnet/minecraft/client/render/BackgroundRenderer;WATER_FOG_CHANGE_DURATION:Fintermediary field_32684Lnet/minecraft/class_758;field_32684:Fofficial bLgte;b:F
-
waterFogColor
private static int waterFogColor- Mappings:
Namespace Name Mixin selector named waterFogColorLnet/minecraft/client/render/BackgroundRenderer;waterFogColor:Iintermediary field_4031Lnet/minecraft/class_758;field_4031:Iofficial eLgte;e:I
-
nextWaterFogColor
private static int nextWaterFogColor- Mappings:
Namespace Name Mixin selector named nextWaterFogColorLnet/minecraft/client/render/BackgroundRenderer;nextWaterFogColor:Iintermediary field_4041Lnet/minecraft/class_758;field_4041:Iofficial fLgte;f:I
-
lastWaterFogColorUpdateTime
private static long lastWaterFogColorUpdateTime- Mappings:
Namespace Name Mixin selector named lastWaterFogColorUpdateTimeLnet/minecraft/client/render/BackgroundRenderer;lastWaterFogColorUpdateTime:Jintermediary field_4042Lnet/minecraft/class_758;field_4042:Jofficial gLgte;g:J
-
fogEnabled
private static boolean fogEnabled- Mappings:
Namespace Name Mixin selector named fogEnabledLnet/minecraft/client/render/BackgroundRenderer;fogEnabled:Zintermediary field_54018Lnet/minecraft/class_758;field_54018:Zofficial hLgte;h:Z
-
field_60097
- Mappings:
Namespace Name Mixin selector named field_60097Lnet/minecraft/client/render/BackgroundRenderer;field_60097:Lcom/mojang/blaze3d/buffers/GpuBuffer;intermediary field_60097Lnet/minecraft/class_758;field_60097:Lcom/mojang/blaze3d/buffers/GpuBuffer;official iLgte;i:Lcom/mojang/blaze3d/buffers/GpuBuffer;
-
field_60098
- Mappings:
Namespace Name Mixin selector named field_60098Lnet/minecraft/client/render/BackgroundRenderer;field_60098:Lnet/minecraft/class_11285;intermediary field_60098Lnet/minecraft/class_758;field_60098:Lnet/minecraft/class_11285;official jLgte;j:Lgtp;
-
-
Constructor Details
-
BackgroundRenderer
public BackgroundRenderer()
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
method_71108
public void method_71108()- Mappings:
Namespace Name Mixin selector named method_71108Lnet/minecraft/client/render/BackgroundRenderer;method_71108()Vintermediary method_71108Lnet/minecraft/class_758;method_71108()Vofficial aLgte;a()V
-
method_71109
- Mappings:
Namespace Name Mixin selector named method_71109Lnet/minecraft/client/render/BackgroundRenderer;method_71109(Lnet/minecraft/client/render/BackgroundRenderer$FogType;)Lcom/mojang/blaze3d/buffers/GpuBufferSlice;intermediary method_71109Lnet/minecraft/class_758;method_71109(Lnet/minecraft/class_758$class_4596;)Lcom/mojang/blaze3d/buffers/GpuBufferSlice;official aLgte;a(Lgte$d;)Lcom/mojang/blaze3d/buffers/GpuBufferSlice;
-
getFogColor
public static Vector4f getFogColor(Camera camera, float tickProgress, ClientWorld world, int clampedViewDistance, float skyDarkness) - Mappings:
Namespace Name Mixin selector named getFogColorLnet/minecraft/client/render/BackgroundRenderer;getFogColor(Lnet/minecraft/client/render/Camera;FLnet/minecraft/client/world/ClientWorld;IF)Lorg/joml/Vector4f;intermediary method_62185Lnet/minecraft/class_758;method_62185(Lnet/minecraft/class_4184;FLnet/minecraft/class_638;IF)Lorg/joml/Vector4f;official aLgte;a(Lfqq;FLgnn;IF)Lorg/joml/Vector4f;
-
toggleFog
public static boolean toggleFog()- Mappings:
Namespace Name Mixin selector named toggleFogLnet/minecraft/client/render/BackgroundRenderer;toggleFog()Zintermediary method_63521Lnet/minecraft/class_758;method_63521()Zofficial bLgte;b()Z
-
getFogModifier
@Nullable private static @Nullable BackgroundRenderer.StatusEffectFogModifier getFogModifier(Entity entity, float tickProgress) - Mappings:
Namespace Name Mixin selector named getFogModifierLnet/minecraft/client/render/BackgroundRenderer;getFogModifier(Lnet/minecraft/entity/Entity;F)Lnet/minecraft/client/render/BackgroundRenderer$StatusEffectFogModifier;intermediary method_42588Lnet/minecraft/class_758;method_42588(Lnet/minecraft/class_1297;F)Lnet/minecraft/class_758$class_7286;official aLgte;a(Lbxn;F)Lgte$e;
-
applyFog
public void applyFog(Camera camera, Vector4f vector4f, float viewDistance, boolean thickenFog, float tickProgress) - Mappings:
Namespace Name Mixin selector named applyFogLnet/minecraft/client/render/BackgroundRenderer;applyFog(Lnet/minecraft/client/render/Camera;Lorg/joml/Vector4f;FZF)Vintermediary method_3211Lnet/minecraft/class_758;method_3211(Lnet/minecraft/class_4184;Lorg/joml/Vector4f;FZF)Vofficial aLgte;a(Lfqq;Lorg/joml/Vector4f;FZF)V
-
method_71110
private void method_71110(ByteBuffer byteBuffer, int int2, Vector4f vector4f, FogShape fogShape, float float2, float float3, float float4, float float5) - Mappings:
Namespace Name Mixin selector named method_71110Lnet/minecraft/client/render/BackgroundRenderer;method_71110(Ljava/nio/ByteBuffer;ILorg/joml/Vector4f;Lnet/minecraft/client/render/FogShape;FFFF)Vintermediary method_71110Lnet/minecraft/class_758;method_71110(Ljava/nio/ByteBuffer;ILorg/joml/Vector4f;Lnet/minecraft/class_6854;FFFF)Vofficial aLgte;a(Ljava/nio/ByteBuffer;ILorg/joml/Vector4f;Lfll;FFFF)V
-