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 TypeFieldDescriptionprivate final GpuBufferstatic final intprivate static final List<BackgroundRenderer.StatusEffectFogModifier> private final class_11285private static booleanprivate static longprivate static intstatic final floatprivate static final intprivate static int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidapplyFog(ByteBuffer buffer, int int2, Vector4f fogColor, FogShape fogShape, float fogStart, float fogEnd, float skyEnd, float cloudEnd) voidapplyFog(Camera camera, Vector4f fogColor, float viewDistance, boolean thickenFog, float tickProgress) voidclose()getBufferSlice(BackgroundRenderer.FogType fogType) static Vector4fgetFogColor(Camera camera, float tickProgress, ClientWorld world, int clampedViewDistance, float skyDarkness) private static @Nullable BackgroundRenderer.StatusEffectFogModifiergetFogModifier(Entity entity, float tickProgress) voidstatic 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
-
emptyBuffer
- Mappings:
Namespace Name Mixin selector named emptyBufferLnet/minecraft/client/render/BackgroundRenderer;emptyBuffer: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;
-
fogBuffer
- Mappings:
Namespace Name Mixin selector named fogBufferLnet/minecraft/client/render/BackgroundRenderer;fogBuffer: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
-
getBufferSlice
- Mappings:
Namespace Name Mixin selector named getBufferSliceLnet/minecraft/client/render/BackgroundRenderer;getBufferSlice(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 fogColor, 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
-
applyFog
private void applyFog(ByteBuffer buffer, int int2, Vector4f fogColor, FogShape fogShape, float fogStart, float fogEnd, float skyEnd, float cloudEnd) - Mappings:
Namespace Name Mixin selector named applyFogLnet/minecraft/client/render/BackgroundRenderer;applyFog(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
-