From 1906b1045c7d72d6310118c71fddc665b4ce4668 Mon Sep 17 00:00:00 2001 From: Deftu Date: Thu, 27 Jun 2024 07:30:21 +0200 Subject: [PATCH] Set up Forge tweaker & Mixin config file with Forge. --- build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index b67c3e9..b171eef 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -16,6 +16,11 @@ toolkitLoomHelper { useMixinRefMap(modData.id) } + if (mcData.isForge) { + useTweaker("org.spongepowered.asm.launch.MixinTweaker") + useForgeMixin(modData.id) + } + if (mcData.isForgeLike && mcData.version >= MinecraftVersion.VERSION_1_16_5) { useKotlinForForge() }