File tree Expand file tree Collapse file tree
src/client/java/dev/isxander/debugify/client/mixins/basic/mc298225 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package dev .isxander .debugify .client .mixins .basic .mc298225 ;
22
33import com .llamalad7 .mixinextras .expression .Definition ;import com .llamalad7 .mixinextras .expression .Expression ;import com .llamalad7 .mixinextras .injector .ModifyExpressionValue ;
4- import com .llamalad7 .mixinextras .injector .ModifyReturnValue ;
54import dev .isxander .debugify .fixes .BugFix ;
65import dev .isxander .debugify .fixes .FixCategory ;
76import net .minecraft .client .Camera ;
@@ -15,6 +14,6 @@ public class CameraMixin {
1514 @ Expression ("this.depthFar = @(?)" )
1615 @ ModifyExpressionValue (method = "update" , at = @ At ("MIXINEXTRAS:EXPRESSION" ))
1716 private float fixSkyboxFarplaneClipping (float f ) {
18- return Math .max (f , 11 * 16F ); // 11 chunks * 16, the minimum cloud render distance for no clipping issues
17+ return Math .max (f , 2048.0F ); // same fix Mojang used in 25w16a
1918 }
2019}
You can’t perform that action at this time.
0 commit comments