From 6450b6278894254d71e7f16ad7c6f07251d41588 Mon Sep 17 00:00:00 2001 From: norbiros Date: Sun, 28 Jul 2024 09:07:26 +0200 Subject: [PATCH] fix: Improve mod compatibility (#10) --- fabric/src/main/resources/fabric.mod.json | 8 ++++---- gradle.properties | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index 0ceb865..8979f53 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -17,7 +17,7 @@ "issues": "https://github.com/Norbiros/emojitype/issues" }, - "environment": "*", + "environment": "client", "entrypoints": { "main": [ "dev.norbiros.emojitype.fabric.EmojiTypeFabric" @@ -33,11 +33,11 @@ ], "depends": { - "fabricloader": "~${fabric_loader_version}", + "fabricloader": "^${fabric_loader_version}", "minecraft": "${fabric_minecraft_version_range}" }, "suggests": { - "cloth-config2" : "~${cloth_config_version}", - "modmenu": "~${modmenu_version}" + "cloth-config2" : "^${cloth_config_version}", + "modmenu": "^${modmenu_version}" } } diff --git a/gradle.properties b/gradle.properties index a9b58fd..a8e127c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,7 +10,8 @@ minecraft_version = 1.21 # Loader specific fabric_minecraft_version_range=1.21 -fabric_loader_version=0.16.0 +# We don't have to use most recent version for compatibility reasons +fabric_loader_version=0.15.11 yarn_mappings=1.21+build.9 neo_minecraft_version_range=[21, 22)