From 44d5b07f2c8e0a3f11d40d65b45c35aad50a3c2c Mon Sep 17 00:00:00 2001 From: micle Date: Wed, 29 Sep 2021 18:33:59 +0100 Subject: [PATCH] Updated forge version to 1.16.5-36.2.6. Changed version and jar file name. Fixed issue where version number didn't show up correctly in-game. --- build.gradle | 6 +++--- src/main/resources/META-INF/mods.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index edc11c3..b9d7032 100755 --- a/build.gradle +++ b/build.gradle @@ -12,9 +12,9 @@ apply plugin: 'net.minecraftforge.gradle' apply plugin: 'eclipse' apply plugin: 'maven-publish' -version = '1.0.0' +version = '1.17.1-1.0.0' group = 'com.micle.loginprotection' // http://maven.apache.org/guides/mini/guide-naming-conventions.html -archivesBaseName = 'loginprotection' +archivesBaseName = 'LoginProtection-Forge' java.toolchain.languageVersion = JavaLanguageVersion.of(8) // Mojang ships Java 8 to end users, so your mod should target Java 8. @@ -120,7 +120,7 @@ dependencies { // Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed // that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied. // The userdev artifact is a special name and will get all sorts of transformations applied to it. - minecraft 'net.minecraftforge:forge:1.16.5-36.1.4' + minecraft 'net.minecraftforge:forge:1.16.5-36.2.6' // You may put jars on which you depend on in ./libs or you may define them like so.. // compile "some.group:artifact:version:classifier" diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 23e21f9..968a64b 100755 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -19,7 +19,7 @@ modId="loginprotection" #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="${file.jarVersion}" #mandatory +version="1.0.0" #mandatory # A display name for the mod displayName="Micle's Login Protection" #mandatory # A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/