From c2ebffdc00de4a187727e774a95979711bef57ec Mon Sep 17 00:00:00 2001 From: Crystal Spider Date: Mon, 30 Sep 2024 08:44:05 +0200 Subject: [PATCH] Fixed support for 1.21.1 --- CHANGELOG.md | 6 ++++++ buildSrc/src/main/groovy/multiloader-common.gradle | 1 - fabric/src/main/resources/fabric.mod.json | 2 +- gradle.properties | 1 - neoforge/src/main/resources/META-INF/neoforge.mods.toml | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21006012..f83fd7ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,11 @@ and this project adheres to [Crystal Nest Semantic Versioning](https://crystalne - Nothing new. +## [v5.0.4] - 2024/09/30 + +- For 1.21 and above. +- Fixed support for 1.21.1. + ## [v5.0.3] - 2024/09/22 - For 1.21 and above. @@ -445,6 +450,7 @@ and this project adheres to [Crystal Nest Semantic Versioning](https://crystalne [Unreleased]: https://github.com/crystal-nest/soul-fire-d +[v5.0.4]: https://github.com/crystal-nest/soul-fire-d/releases?q=5.0.4 [v5.0.3]: https://github.com/crystal-nest/soul-fire-d/releases?q=5.0.3 [v5.0.2]: https://github.com/crystal-nest/soul-fire-d/releases?q=5.0.2 [v5.0.1]: https://github.com/crystal-nest/soul-fire-d/releases?q=5.0.1 diff --git a/buildSrc/src/main/groovy/multiloader-common.gradle b/buildSrc/src/main/groovy/multiloader-common.gradle index 52a8cd7e..2ac89858 100644 --- a/buildSrc/src/main/groovy/multiloader-common.gradle +++ b/buildSrc/src/main/groovy/multiloader-common.gradle @@ -109,7 +109,6 @@ processResources { "github_user" : github_user, "curseforge_id" : curseforge_id, "minecraft_version" : minecraft_version, - "minecraft_version_range" : minecraft_version_range, "fabric_version" : fabric_version, "fabric_loader_version" : fabric_loader_version, "neoforge_version" : neoforge_version, diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index 7b1ad31e..2458fa1f 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -31,7 +31,7 @@ "depends": { "fabricloader": ">=${fabric_loader_version}", "fabric-api": "*", - "minecraft": "${minecraft_version}", + "minecraft": "~${minecraft_version}", "java": ">=${java_version}", "cobweb": "^${cobweb_version}" } diff --git a/gradle.properties b/gradle.properties index 85155ed0..83d76b17 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,6 @@ credits = github_user = crystal-nest curseforge_id = 662413 minecraft_version = 1.21 -minecraft_version_range = [1.21,) # https://parchmentmc.org/docs/getting-started#choose-a-version parchment_version = 2024.06.23 # https://projects.neoforged.net/neoforged/neoform diff --git a/neoforge/src/main/resources/META-INF/neoforge.mods.toml b/neoforge/src/main/resources/META-INF/neoforge.mods.toml index 3e007ce8..a698847b 100644 --- a/neoforge/src/main/resources/META-INF/neoforge.mods.toml +++ b/neoforge/src/main/resources/META-INF/neoforge.mods.toml @@ -25,7 +25,7 @@ issueTrackerURL="https://github.com/${github_user}/${mod_id_kebab}/issues" #opti [[dependencies.${mod_id}]] modId = "minecraft" type = "required" - versionRange = "${minecraft_version_range}" + versionRange = "[${minecraft_version},)" ordering = "NONE" side = "BOTH" [[dependencies.${mod_id}]]