Skip to content

Commit

Permalink
Update MixinBackgroundRenderer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Jun 12, 2024
1 parent 0f686d6 commit 2a3fc03
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ private static float overrideFogStart(float original)
{
return Math.max(512, MinecraftClient.getInstance().gameRenderer.getViewDistance()) * 1.6f;
}
return original;
}
@ModifyVariable(
method = "applyFog(Lnet/minecraft/client/render/Camera;Lnet/minecraft/client/render/BackgroundRenderer$FogType;FZ)V",
slice = @Slice(
Expand All @@ -80,6 +82,7 @@ private static float overrideFogEnd(float original)
{
return Math.max(512, MinecraftClient.getInstance().gameRenderer.getViewDistance()) * 2.0f;
}
return original;
}
*/
Expand Down

0 comments on commit 2a3fc03

Please sign in to comment.