From 2e089450544b70d17ac159a58386000f57915941 Mon Sep 17 00:00:00 2001 From: "ansgar [Hajen]" Date: Thu, 22 Sep 2022 13:00:01 +0200 Subject: [PATCH] BUMP Version in config, update build.gradle from template --- build.gradle | 8 +------- src/main/resources/fabric.mod.json | 8 ++++---- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/build.gradle b/build.gradle index 4507922..5870209 100644 --- a/build.gradle +++ b/build.gradle @@ -52,13 +52,7 @@ tasks.withType(JavaCompile).configureEach { // If Javadoc is generated, this must be specified in that task too. it.options.encoding = "UTF-8" - // The Minecraft launcher currently installs Java 8 for users, so your mod probably wants to target Java 8 too - // JDK 9 introduced a new way of specifying this that will make sure no newer classes or methods are used. - // We'll use that if it's available, but otherwise we'll use the older option. - //def targetVersion = 8 - //if (JavaVersion.current().isJava9Compatible()) { - // it.options.release = targetVersion - //} + // Minecraft 1.18 (1.18-pre2) upwards uses Java 17. it.options.release = 17 } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index fe18652..fbedc0c 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -4,14 +4,14 @@ "version": "${version}", "name": "EAA Mod", - "description": "This is an example description! Tell everyone what your mod is about!", + "description": "Mod for keeping track of Players encountered in Minecraft servers. Especially hackers. Shows Hint in Playeroverview (Tab)", "authors": [ "MPK1", "Hiajen" ], "contact": { - "homepage": "https://fabricmc.net/", - "sources": "https://github.com/FabricMC/fabric-example-mod" + "homepage": "https://git.hiajen.de/hiajen/EAA_MOD", + "sources": "https://git.hiajen.de/hiajen/EAA_MOD" }, "license": "CC0-1.0", @@ -30,7 +30,7 @@ "depends": { "fabricloader": ">=0.7.4", "fabric": "*", - "minecraft": "1.16.x" + "minecraft": "1.19.x" }, "suggests": { "another-mod": "*"