From 8a5404249ab9cb6f95f82a7b5154f8432cc5c11a Mon Sep 17 00:00:00 2001 From: rotgruengelb Date: Sat, 4 Nov 2023 20:18:02 +0100 Subject: [PATCH] 2.0.2 for For 1.20.X --- build.gradle | 3 +-- gradle.properties | 8 ++++---- src/main/resources/fabric.mod.json | 5 +++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 94d764c..d669b0e 100644 --- a/build.gradle +++ b/build.gradle @@ -35,9 +35,8 @@ allprojects { minecraft "com.mojang:minecraft:${rootProject.minecraft_version}" mappings "net.fabricmc:yarn:${rootProject.yarn_mappings}:v2" modImplementation "net.fabricmc:fabric-loader:${rootProject.loader_version}" - include(modImplementation(fabricApi.module("fabric-api-base", project.fabric_version))) - include(modImplementation(fabricApi.module("fabric-command-api-v2", project.fabric_version))) include(modImplementation('me.lucko:fabric-permissions-api:0.2-SNAPSHOT')) + modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" } processResources { diff --git a/gradle.properties b/gradle.properties index 6b2553b..7ad2d7b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,17 +4,17 @@ org.gradle.parallel=true # Fabric Properties # check these on https://fabricmc.net/develop -minecraft_version=1.20.2 -yarn_mappings=1.20.2+build.4 +minecraft_version=1.20 +yarn_mappings=1.20+build.1 loader_version=0.14.24 # Mod Properties mod_version=2.0.2 -mod_minecraft_base_version=1.20.2 +mod_minecraft_base_version=1.20.X # Maven/Publishing maven_group=net.rotgruengelb archives_base_name=quirl # Dependencies -fabric_version=0.90.7+1.20.2 +fabric_version=0.83.0+1.20 diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 55385ab..2f979ec 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -23,7 +23,8 @@ ], "depends": { "fabricloader": ">=0.14.22", - "minecraft": "1.20.2", - "java": ">=17" + "minecraft": "1.20.X", + "java": ">=17", + "fabric": ">=0.83.0+1.20" } }