diff --git a/build.gradle b/build.gradle index 383af641..3298efa8 100644 --- a/build.gradle +++ b/build.gradle @@ -54,6 +54,6 @@ dependencies { //modImplementation "maven.modrinth:c2me-fabric:0.2.0+alpha.10.49+1.19.4" //modImplementation "maven.modrinth:chunks-fade-in:v1.0.3-1.19.4" //modImplementation "maven.modrinth:immersiveportals:v2.7.3-mc1.19.4" - modCompileOnly "maven.modrinth:iris:1.6.9+1.20.1" + modCompileOnly "maven.modrinth:iris:1.6.9+1.20.2" } diff --git a/gradle.properties b/gradle.properties index db6f3e16..3d7a9a59 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,8 +3,8 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://modmuss50.me/fabric.html -minecraft_version=1.20.2-rc2 -yarn_mappings=1.20.2-rc2+build.1 +minecraft_version=1.20.2 +yarn_mappings=1.20.2+build.1 loader_version=0.14.21 #Fabric api diff --git a/src/main/java/me/cortex/nvidium/mixin/minecraft/MixinGameRenderer.java b/src/main/java/me/cortex/nvidium/mixin/minecraft/MixinGameRenderer.java index ca547425..5858f06e 100644 --- a/src/main/java/me/cortex/nvidium/mixin/minecraft/MixinGameRenderer.java +++ b/src/main/java/me/cortex/nvidium/mixin/minecraft/MixinGameRenderer.java @@ -9,7 +9,7 @@ @Mixin(GameRenderer.class) public class MixinGameRenderer { - @Inject(method = "method_32796", at = @At("HEAD"), cancellable = true) + @Inject(method = "getFarPlaneDistance", at = @At("HEAD"), cancellable = true) public void method_32796(CallbackInfoReturnable cir) { if (Nvidium.IS_ENABLED) { cir.setReturnValue(16 * 512f);