diff --git a/CHANGELOG.md b/CHANGELOG.md index 25b08ff..056dd72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Forge Recommended Versioning](https://mcforge.readthedocs.io/en/latest/conventions/versioning/). +## [1.20.4-3.1.2.1] - 2024-06-04 +### Fixed +- fixed version checking at mod loader startup for Roughly Enough Items (all loaders) + ## [1.20.4-3.1.2.0] - 2024-06-04 ### Added - added Roughly Enough Items (REI) support (version 14.1.727) (all loaders) diff --git a/fabric/build.gradle b/fabric/build.gradle index 9760d92..a42ef1b 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -31,7 +31,7 @@ dependencies { modCompileOnlyApi("me.shedaniel:RoughlyEnoughItems-api-fabric:$rei_version") modRuntimeOnly "me.shedaniel:RoughlyEnoughItems-fabric:$rei_version" - modImplementation "dev.architectury:architectury-forge:$architectury_version" + modImplementation "dev.architectury:architectury-fabric:$architectury_version" implementation group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.1' compileOnly project(":common") diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index 862e590..9d3c9d0 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -41,6 +41,7 @@ }, "recommends": { "modmenu": ">=${mod_menu_version}", - "jei": ">=${jei_version}" + "jei": ">=${jei_version}", + "roughlyenoughitems": ">=${rei_version}" } } diff --git a/forge/src/main/resources/META-INF/mods.toml b/forge/src/main/resources/META-INF/mods.toml index c41d43d..1b175d4 100644 --- a/forge/src/main/resources/META-INF/mods.toml +++ b/forge/src/main/resources/META-INF/mods.toml @@ -28,4 +28,11 @@ mandatory=false versionRange="${jei_version_range}" referralUrl="https://github.com/mezz/JustEnoughItems" ordering="NONE" +side="BOTH" +[[dependencies.${mod_id}]] +modId="roughlyenoughitems" +mandatory=false +versionRange="${rei_version_range}" +referralUrl="https://github.com/shedaniel/RoughlyEnoughItems" +ordering="NONE" side="BOTH" \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 691a2fc..5c7b5bd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ # Project group=de.cech12.solarcooker -mod_version=3.1.2.0 +mod_version=3.1.2.1 mod_id=solarcooker mod_name=Solar Cooker mod_author=Cech12 diff --git a/neoforge/src/main/resources/META-INF/mods.toml b/neoforge/src/main/resources/META-INF/mods.toml index f10c2e9..05e6da5 100644 --- a/neoforge/src/main/resources/META-INF/mods.toml +++ b/neoforge/src/main/resources/META-INF/mods.toml @@ -30,6 +30,13 @@ referralUrl="https://github.com/mezz/JustEnoughItems" ordering="NONE" side="BOTH" [[dependencies.${mod_id}]] +modId="roughlyenoughitems" +type="optional" +versionRange="${rei_version_range}" +referralUrl="https://github.com/shedaniel/RoughlyEnoughItems" +ordering="NONE" +side="BOTH" +[[dependencies.${mod_id}]] modId="theoneprobe" type="optional" versionRange="${top_version_range}"