From 8c4a97ee17469fa333dc0b55e38393fcc96b2247 Mon Sep 17 00:00:00 2001 From: MarcusSlover Date: Sun, 27 Jun 2021 18:59:23 +0200 Subject: [PATCH 1/3] + 1.17 support --- build.gradle | 6 ++++-- gradle.properties | 4 ++-- src/main/resources/databreaker.mixins.json | 2 +- src/main/resources/fabric.mod.json | 6 +++--- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 136c6d2..ffc345b 100644 --- a/build.gradle +++ b/build.gradle @@ -3,8 +3,10 @@ plugins { id 'maven-publish' } -sourceCompatibility = JavaVersion.VERSION_1_8 -targetCompatibility = JavaVersion.VERSION_1_8 +apply plugin: 'idea' + +sourceCompatibility = JavaVersion.VERSION_16 +targetCompatibility = JavaVersion.VERSION_16 archivesBaseName = project.archives_base_name version = project.mod_version diff --git a/gradle.properties b/gradle.properties index 1f17e99..23d4427 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,8 +2,8 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/use -minecraft_version=21w20a -yarn_mappings=21w20a+build.19 +minecraft_version=1.17 +yarn_mappings=1.17+build.6 loader_version=0.11.3 # Mod Properties mod_version=0.2.7 diff --git a/src/main/resources/databreaker.mixins.json b/src/main/resources/databreaker.mixins.json index 320a800..72a2d36 100644 --- a/src/main/resources/databreaker.mixins.json +++ b/src/main/resources/databreaker.mixins.json @@ -1,7 +1,7 @@ { "required": true, "package": "supercoder79.databreaker.mixin", - "compatibilityLevel": "JAVA_8", + "compatibilityLevel": "JAVA_16", "mixins": [ "MixinBlockEntityType", "MixinDFU", diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index fd0175b..becc749 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -8,7 +8,6 @@ "SuperCoder79" ], "license": "LGPLv3", - "icon": "assets/databreaker/icon.png", "environment": "*", "entrypoints": { "main": [ @@ -19,7 +18,8 @@ "databreaker.mixins.json" ], "depends": { - "fabricloader": ">=0.7.8+build.189", - "minecraft": ">=1.14-" + "fabricloader": ">=0.8.9", + "fabric": "*", + "fabric-key-binding-api-v1": "*" } } From 0ddb55c54f20b38cc2c0be618ffda85e6d4a99b9 Mon Sep 17 00:00:00 2001 From: MarcusSlover Date: Sun, 27 Jun 2021 19:11:07 +0200 Subject: [PATCH 2/3] + Oopsie, added the icon back --- src/main/resources/fabric.mod.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index becc749..c75cc2d 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -8,6 +8,7 @@ "SuperCoder79" ], "license": "LGPLv3", + "icon": "assets/databreaker/icon.png", "environment": "*", "entrypoints": { "main": [ From 4e6214bb82aa0b24e6630ab07f4ba9a692a26cc1 Mon Sep 17 00:00:00 2001 From: MarcusSlover <38810661+MarcusSlover@users.noreply.github.com> Date: Mon, 25 Oct 2021 21:51:31 +0200 Subject: [PATCH 3/3] Update fabric.mod.json --- src/main/resources/fabric.mod.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index c75cc2d..5e0274a 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -19,8 +19,6 @@ "databreaker.mixins.json" ], "depends": { - "fabricloader": ">=0.8.9", - "fabric": "*", - "fabric-key-binding-api-v1": "*" + "fabricloader": ">=0.8.9" } }