From 9b8b1228f490f268afd107032067469bbe372401 Mon Sep 17 00:00:00 2001 From: capnkork Date: Tue, 22 Jun 2021 03:39:47 -0400 Subject: [PATCH] Re-added fabric api as a dependency --- build.gradle | 1 + gradle.properties | 2 ++ src/main/resources/fabric.mod.json | 1 + 3 files changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index 3091409..a1af45f 100644 --- a/build.gradle +++ b/build.gradle @@ -23,6 +23,7 @@ dependencies { minecraft "com.mojang:minecraft:${project.minecraft_version}" mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" + modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" modImplementation "com.terraformersmc:modmenu:${project.mod_menu_version}" modApi("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}") { diff --git a/gradle.properties b/gradle.properties index 3c7dc06..2071baf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,5 +13,7 @@ org.gradle.jvmargs=-Xmx1G archives_base_name = entity-distance # Dependencies + # currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api + fabric_version=0.35.2+1.17 mod_menu_version=2.0.2 cloth_config_version=5.0.34 diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 6e563d6..df5a4cc 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -28,6 +28,7 @@ "depends": { "fabricloader": ">=0.11.3", + "fabric": "*", "minecraft": "1.17.x", "modmenu": ">=2.0.0-beta7", "java": ">=16"