From 876c4f25109e5b371b46fbbaee8d5dd26951a68a Mon Sep 17 00:00:00 2001 From: coolGi Date: Sun, 27 Aug 2023 01:37:16 +0930 Subject: [PATCH] Moved fabric api stuff --- fabric/build.gradle | 9 ++++----- fabric/src/main/resources/fabric.mod.json | 1 - forge/src/main/resources/META-INF/mods.toml | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/fabric/build.gradle b/fabric/build.gradle index 2e32d9759..6ee8aa419 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -54,12 +54,11 @@ dependencies { modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}" // Fabric API - addModJar(fabricApi.module("fabric-events-interaction-v0", rootProject.fabric_api_version)) - addModJar(fabricApi.module("fabric-lifecycle-events-v1", rootProject.fabric_api_version)) - addModJar(fabricApi.module("fabric-key-binding-api-v1", rootProject.fabric_api_version)) - addModJar(fabricApi.module("fabric-resource-loader-v0", rootProject.fabric_api_version)) - addModJar(fabricApi.module("fabric-rendering-v1", rootProject.fabric_api_version)) // TODO: Remove this as it is only needed in 1 line (FabricClientProxy) addModJar(fabricApi.module("fabric-api-base", rootProject.fabric_api_version)) + addModJar(fabricApi.module("fabric-lifecycle-events-v1", rootProject.fabric_api_version)) + addModJar(fabricApi.module("fabric-resource-loader-v0", rootProject.fabric_api_version)) + addModJar(fabricApi.module("fabric-events-interaction-v0", rootProject.fabric_api_version)) + addModJar(fabricApi.module("fabric-rendering-v1", rootProject.fabric_api_version)) // TODO: Remove this as it is only needed in 1 line (FabricClientProxy) addModJar(fabricApi.module("fabric-networking-api-v1", rootProject.fabric_api_version)) // Mod Menu diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index 01ab3fbf9..9a1e3fab2 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -39,7 +39,6 @@ "fabricloader": "*", "fabric-api-base": "*", "fabric-lifecycle-events-v1": "*", - "fabric-key-binding-api-v1": "*", "fabric-resource-loader-v0": "*", "minecraft": $compatible_minecraft_versions, "java": ">=${java_version}" diff --git a/forge/src/main/resources/META-INF/mods.toml b/forge/src/main/resources/META-INF/mods.toml index 30f586289..43a8eb78d 100644 --- a/forge/src/main/resources/META-INF/mods.toml +++ b/forge/src/main/resources/META-INF/mods.toml @@ -8,7 +8,7 @@ issueTrackerURL = "${issues}" modId = "distanthorizons" #//mandatory version = "${version}" #//mandatory, gets the version number from jar populated by the build.gradle script displayName = "${mod_name}" #//mandatory - authors = ["James Seibel", "Leonardo Amato", "Cola", "coolGi", "Ran", "Leetom"] + authors = ["James Seibel", "Leonardo Amato", "Cola", "coolGi", "Ran", "Leetom"] # Should be done with `$authors`, but architectury complains #//updateJSONURL="https://change.me.example.invalid/updates.json" # A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/ displayURL = "${homepage}" description = "${description}" #//mandatory. The description text for the mod