diff --git a/src/main/java/com/plusls/MasaGadget/game/Configs.java b/src/main/java/com/plusls/MasaGadget/game/Configs.java index 3f6a0bc..081dbc3 100644 --- a/src/main/java/com/plusls/MasaGadget/game/Configs.java +++ b/src/main/java/com/plusls/MasaGadget/game/Configs.java @@ -138,7 +138,7 @@ public class Configs { public static MagicConfigDouble showOriginalConfigNameScale = Configs.cf.newConfigDouble("showOriginalConfigNameScale", 0.65, 0, 2); // MiniHUD - @Dependencies(require = @Dependency(ModId.minihud)) + @Dependencies(require = @Dependency(value = ModId.minihud, versionPredicates = "<0.31.999-sakura.21")) @Config(category = ConfigCategory.MINIHUD) public static MagicConfigBoolean minihudI18n = Configs.cf.newConfigBoolean("minihudI18n", false); diff --git a/src/main/java/com/plusls/MasaGadget/mixin/mod_tweak/minihud/minihudI18n/MixinRenderHandler.java b/src/main/java/com/plusls/MasaGadget/mixin/mod_tweak/minihud/minihudI18n/MixinRenderHandler.java index e926c85..ae12556 100644 --- a/src/main/java/com/plusls/MasaGadget/mixin/mod_tweak/minihud/minihudI18n/MixinRenderHandler.java +++ b/src/main/java/com/plusls/MasaGadget/mixin/mod_tweak/minihud/minihudI18n/MixinRenderHandler.java @@ -17,7 +17,7 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; -@Dependencies(require = @Dependency(ModId.minihud)) +@Dependencies(require = @Dependency(value = ModId.minihud, versionPredicates = "<0.31.999-sakura.21")) @Mixin(value = RenderHandler.class, remap = false) public class MixinRenderHandler { @Unique diff --git a/versions/1.21.0-fabric/gradle.properties b/versions/1.21.0-fabric/gradle.properties index ef20fee..c46bf3a 100644 --- a/versions/1.21.0-fabric/gradle.properties +++ b/versions/1.21.0-fabric/gradle.properties @@ -4,9 +4,9 @@ dependencies.minecraft_version=1.21 # Compatible Libraries dependencies.api.itemscroller_version=1.21-sakura.7 -dependencies.api.litematica_version=1.21-0.19.0 -dependencies.api.minihud_version=1.21-sakura.16 -dependencies.api.tweakeroo_version=1.21-sakura.23 +dependencies.api.litematica_version=1.21-0.19.2-alpha.1 +dependencies.api.minihud_version=1.21-sakura.23 +dependencies.api.tweakeroo_version=1.21-sakura.24 # Publish properties publish.game_version=1.21