From 40acd715462f912146effc236b90ebae506ec155 Mon Sep 17 00:00:00 2001 From: embeddedt <42941056+embeddedt@users.noreply.github.com> Date: Tue, 2 May 2023 08:15:39 -0400 Subject: [PATCH] Fix JiJ --- fabric/build.gradle | 1 + fabric/src/main/resources/fabric.mod.json | 2 ++ 2 files changed, 3 insertions(+) diff --git a/fabric/build.gradle b/fabric/build.gradle index a4784f91..e09df301 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -29,6 +29,7 @@ configurations { dependencies { modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}" + modIncludeImplementation(fabricApi.module("fabric-api-base", rootProject.fabric_api_version)) { exclude group: 'net.fabricmc', module: 'fabric-loader' } modIncludeImplementation(fabricApi.module("fabric-lifecycle-events-v1", rootProject.fabric_api_version)) { exclude group: 'net.fabricmc', module: 'fabric-loader' } modIncludeImplementation(fabricApi.module("fabric-screen-api-v1", rootProject.fabric_api_version)) { exclude group: 'net.fabricmc', module: 'fabric-loader' } // Remove the next line if you don't want to depend on the API diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index 79f1703f..e3f622da 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -25,6 +25,8 @@ "modernfix-common.mixins.json" ], "depends": { + "fabric-lifecycle-events-v1": "*", + "fabric-screen-api-v1": "*", "minecraft": ">=1.16.5" } } \ No newline at end of file