Skip to content

Commit

Permalink
Set up Forge tweaker & Mixin config file with Forge.
Browse files Browse the repository at this point in the history
  • Loading branch information
Deftu committed Jun 27, 2024
1 parent 7ac194b commit 1906b10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 1906b10

Please sign in to comment.