From 8b4cadcb1a454e23f0cc1b17caf835fd3a0cde50 Mon Sep 17 00:00:00 2001 From: valoeghese Date: Thu, 7 May 2020 13:41:31 +1200 Subject: [PATCH] Add API --- build.gradle | 3 +++ gradle.properties | 1 + 2 files changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index 9a6f2bc..37a9f81 100644 --- a/build.gradle +++ b/build.gradle @@ -55,6 +55,9 @@ dependencies { mappings files("mcpomf-b1.7.3+build.4.jar") modImplementation "com.github.minecraft-cursed-legacy:cursed-fabric-loader:${project.loader_version}" + + // API. You technically don't need it, but it's extremely useful for not having to write the same code in every mod. + modImplementation "com.github.minecraft-cursed-legacy:Cursed-Legacy-API:${project.api_version}" } processResources { diff --git a/gradle.properties b/gradle.properties index 8c86758..aed63f3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,6 +4,7 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties minecraft_version=b1.7.3 loader_version=86e7520 + api_version=v0.1.0 # Mod Properties mod_version = 1.0.0