aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrady <thatgravyboat@gmail.com>2024-06-25 14:53:39 -0230
committerGitHub <noreply@github.com>2024-06-25 19:23:39 +0200
commite88f416c48f9659f89b7047d7629cd9a1d1535bc (patch)
treeafcb1851e6e8d79129db7c09d397cde0b13b9fbf
parent25be3499b062b159543c615acc0a29b6ba0ab6a8 (diff)
downloadskyhanni-e88f416c48f9659f89b7047d7629cd9a1d1535bc.tar.gz
skyhanni-e88f416c48f9659f89b7047d7629cd9a1d1535bc.tar.bz2
skyhanni-e88f416c48f9659f89b7047d7629cd9a1d1535bc.zip
Fix: launchers reading mod as libninepatch (#2147)
-rw-r--r--build.gradle.kts2
-rw-r--r--src/main/resources/fabric.mod.json12
2 files changed, 13 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 2d991fcc0..b3bac5561 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -196,7 +196,7 @@ loom {
// Tasks:
tasks.processResources {
inputs.property("version", version)
- filesMatching("mcmod.info") {
+ filesMatching(listOf("mcmod.info", "fabric.mod.json")) {
expand("version" to version)
}
}
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
new file mode 100644
index 000000000..d86c9cd51
--- /dev/null
+++ b/src/main/resources/fabric.mod.json
@@ -0,0 +1,12 @@
+{
+ "schemaVersion": 1,
+ "version": "${version}",
+ "id": "skyhanni",
+ "name": "SkyHanni",
+ "description": "SkyHanni is a Minecraft Mod for Hypixel SkyBlock.",
+ "icon": "assets/skyhanni/logo.png",
+ "authors": [],
+ "depends": {
+ "minecraft": "1.8.9"
+ }
+}