diff --git a/src/main/java/net/coderbot/iris/compat/sodium/SodiumVersionCheck.java b/src/main/java/net/coderbot/iris/compat/sodium/SodiumVersionCheck.java index b7cf83d6bf..4a45ea4870 100644 --- a/src/main/java/net/coderbot/iris/compat/sodium/SodiumVersionCheck.java +++ b/src/main/java/net/coderbot/iris/compat/sodium/SodiumVersionCheck.java @@ -13,8 +13,8 @@ public class SodiumVersionCheck { // of pain. So don't forget! private static final ImmutableList ALLOWED_SODIUM_VERSIONS = ImmutableList.of( // Dev version - AllowedSodiumVersion.exact("0.4.10+build.27", - "https://modrinth.com/mod/sodium/version/mc1.20-0.4.10") + AllowedSodiumVersion.exact("0.5.0-rc1", + "https://modrinth.com/mod/sodium/version/mc1.20.1-0.5.0") ); public static String getDownloadLink() { @@ -29,6 +29,6 @@ public static boolean isAllowedVersion(String sodiumVersion) { } } - return true; + return false; } } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 3ec7b8deae..fe6d6e8545 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,7 +1,7 @@ { "schemaVersion": 1, "id": "iris", - "version": "1.6.4-development-environment", + "version": "1.6.5-beta.1-development-environment", "name": "Iris", "description": "A modern shaders mod for Minecraft intended to be compatible with existing OptiFine shader packs", diff --git a/src/sodiumCompatibility/java/net/coderbot/iris/compat/sodium/mixin/shadow_map/frustum/MixinBoxCullingFrustum.java b/src/sodiumCompatibility/java/net/coderbot/iris/compat/sodium/mixin/shadow_map/frustum/MixinBoxCullingFrustum.java index 8da548541d..fbc1b0bee0 100644 --- a/src/sodiumCompatibility/java/net/coderbot/iris/compat/sodium/mixin/shadow_map/frustum/MixinBoxCullingFrustum.java +++ b/src/sodiumCompatibility/java/net/coderbot/iris/compat/sodium/mixin/shadow_map/frustum/MixinBoxCullingFrustum.java @@ -26,6 +26,6 @@ public class MixinBoxCullingFrustum implements IrisFrustum, ViewportProvider { @Override public boolean apply(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) { - return boxCuller.isCulled(minX, minY, minZ, maxX, maxY, maxZ); + return !boxCuller.isCulled(minX, minY, minZ, maxX, maxY, maxZ); } }