diff --git a/gradle.properties b/gradle.properties index d18ff1a2..1c9b65c2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ org.gradle.jvmargs = -Xmx3G # Mod Properties mod_version = 3.5.0 -minecraft_version_min = 1.21.0 +minecraft_version_min = 1.20.5 maven_group = juliand665 archives_base_name = dynamic-fps diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 0e8b24d0..ed583b78 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,14 +1,14 @@ [versions] -minecraft = "1.21" +minecraft = "1.20.5" # Platform libraries fabric_loader = "0.15.10" -fabric_api = "0.100.1+1.21" +fabric_api = "0.97.4+1.20.5" forge = "1.20.4-49.0.30" -neoforge = "21.0.0-beta" +neoforge = "20.5.21-beta" quilt_loader = "0.25.0" quilt_standard_libraries = "8.0.0-alpha.12+1.20.4" diff --git a/platforms/common/src/main/java/dynamic_fps/impl/util/ResourceLocations.java b/platforms/common/src/main/java/dynamic_fps/impl/util/ResourceLocations.java index 45e40b8d..c9f0ab50 100644 --- a/platforms/common/src/main/java/dynamic_fps/impl/util/ResourceLocations.java +++ b/platforms/common/src/main/java/dynamic_fps/impl/util/ResourceLocations.java @@ -4,6 +4,6 @@ public class ResourceLocations { public static ResourceLocation of(String namespace, String path) { - return ResourceLocation.fromNamespaceAndPath(namespace, path); + return new ResourceLocation(namespace, path); } } diff --git a/platforms/fabric/src/main/resources/fabric.mod.json b/platforms/fabric/src/main/resources/fabric.mod.json index 0b60d317..1f1c2f20 100644 --- a/platforms/fabric/src/main/resources/fabric.mod.json +++ b/platforms/fabric/src/main/resources/fabric.mod.json @@ -69,7 +69,10 @@ }, "depends": { "fabricloader": ">=0.15.10", - "minecraft": ">=1.21.0-alpha.24.20.a", + "minecraft": [ + "1.20.5", + "1.20.6" + ], "mixinextras": ">=0.3.2", "fabric-resource-loader-v0": "*", "fabric-lifecycle-events-v1": "*" diff --git a/platforms/neoforge/src/main/resources/META-INF/neoforge.mods.toml b/platforms/neoforge/src/main/resources/META-INF/neoforge.mods.toml index 61b1a97e..9aa4e481 100644 --- a/platforms/neoforge/src/main/resources/META-INF/neoforge.mods.toml +++ b/platforms/neoforge/src/main/resources/META-INF/neoforge.mods.toml @@ -84,7 +84,7 @@ file="META-INF/accesstransformer.cfg" [[dependencies.dynamic_fps]] modId = "minecraft" mandatory = true -versionRange = "[1.21.0,)" +versionRange = "[1.20.5,1.20.6]" ordering = "NONE" side = "CLIENT"