From 973653712ca0f7573972de5dcc5ed38ff9393ff8 Mon Sep 17 00:00:00 2001 From: Tara Date: Sun, 22 Jan 2023 03:30:37 -0700 Subject: [PATCH] Update LibZontreck compatibility --- build.gradle | 6 +++--- gradle.properties | 4 ++-- src/main/resources/META-INF/mods.toml | 8 +++++++- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 68f4e8f..2655934 100644 --- a/build.gradle +++ b/build.gradle @@ -135,9 +135,9 @@ dependencies { // The userdev artifact is a special name and will get all sorts of transformations applied to it. minecraft "net.minecraftforge:forge:${mc_version}-${forge_version}" - implementation fg.deobf("dev.zontreck:libzontreck:${libz_version}:dev") - runtimeOnly fg.deobf("dev.zontreck:libzontreck:${libz_version}") - compileOnly fg.deobf("dev.zontreck:libzontreck:${libz_version}:dev") + implementation fg.deobf("dev.zontreck:libzontreck:${mc_version}-${libz_version}:dev") + runtimeOnly fg.deobf("dev.zontreck:libzontreck:${mc_version}-${libz_version}") + compileOnly fg.deobf("dev.zontreck:libzontreck:${mc_version}-${libz_version}:dev") // Real mod deobf dependency examples - these get remapped to your current mappings // compileOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}:api") // Adds JEI API as a compile dependency diff --git a/gradle.properties b/gradle.properties index aab9bba..1c9bb6e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,5 +5,5 @@ org.gradle.daemon=false mc_version=1.19.2 forge_version=43.2.3 -myversion=1.1.2.4 -libz_version=1.0.2.4 \ No newline at end of file +myversion=1.1.2.5 +libz_version=1.0.3.6 \ No newline at end of file diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 3443fd0..592385b 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -19,7 +19,7 @@ modId="watchmydurability" #mandatory # The version number of the mod - there's a few well known ${} variables useable here or just hardcode it # ${file.jarVersion} will substitute the value of the Implementation-Version as read from the mod's JAR file metadata # see the associated build.gradle script for how to populate this completely automatically during a build -version="1.1.2.4" #mandatory +version="1.1.2.5" #mandatory # A display name for the mod displayName="Watch My Durability" #mandatory # A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/ @@ -68,3 +68,9 @@ Edit the config file to customize the alerts versionRange="[1.19.2,1.20)" ordering="NONE" side="CLIENT" +[[dependencies.watchmydurability]] + modId="libzontreck" + mandatory=true + versionRange="[1.0.3.5,)" + ordering="NONE" + side="CLIENT" \ No newline at end of file