Add comments to MixinFogRenderer

This commit is contained in:
James Seibel
2025-07-04 09:21:02 -05:00
parent 31fac60d34
commit 0a4a8466cf
2 changed files with 6 additions and 0 deletions
@@ -122,6 +122,9 @@ public class MixinFogRenderer
#if MC_VER < MC_1_21_6
#else
// In MC's FogRenderer they clamp the "renderDistanceEnd" fog field to the render distance,
// which prevents us from disabling the vanilla fog.
// This mixin fires after they set the "renderDistanceEnd" so we can change it.
@WrapOperation(
method = "setupFog",
at = @At(
@@ -122,6 +122,9 @@ public class MixinFogRenderer
#if MC_VER < MC_1_21_6
#else
// In MC's FogRenderer they clamp the "renderDistanceEnd" fog field to the render distance,
// which prevents us from disabling the vanilla fog.
// This mixin fires after they set the "renderDistanceEnd" so we can change it.
@WrapOperation(
method = "setupFog",
at = @At(