neoforged / ModDevGradle

A Gradle plugin for developing Minecraft mods using NeoForge
https://projects.neoforged.net/neoforged/moddevgradle
GNU Lesser General Public License v2.1
30 stars 5 forks source link

Add an easy toggle for mixin/mixinextras in vanilla mode #115

Open Tslat opened 1 month ago

Tslat commented 1 month ago

Vanilla mode being the obvious use-case for ML projects in the common branch - it makes sense that MDG doesn't supply mixin/mixinextras in that mode due to it being intended for use as a no-frills deployment

However with it being the use-case of choice for ML projects, it is pretty annoying having to manually add mixin/mixinextras when in vanilla mode, given that both fabric and neoforge have it already in their respective modules

Is it possible to add some kind of easy toggle/method call to tell MDG in vanilla mode to include mixins?

shartte commented 1 month ago

Which version would it include?

MDG itself doesn't even know directly about Mixin/MixinExtras in the NeoForge-mode :-P

Tslat commented 1 month ago

Which version would it include?

MDG itself doesn't even know directly about Mixin/MixinExtras in the NeoForge-mode :-P

What's it do when in neoforge mode? Possible to just use whatever version neoforge is currently using?

shartte commented 1 month ago

Which version would it include? MDG itself doesn't even know directly about Mixin/MixinExtras in the NeoForge-mode :-P

What's it do when in neoforge mode? Possible to just use whatever version neoforge is currently using?

The dependency on net.neoforged:neoforge brings in mixin + mixin-extras transitively