PacifistMC / Forgix

A Gradle plugin/an Architectury addon to merge mod-loaders into one jar! 𝘸𝘒𝘩𝘩 𝘡𝘦𝘀𝘩𝘯𝘰𝘭𝘰𝘨𝘺
GNU Lesser General Public License v2.1
133 stars 5 forks source link

Forge and NeoForge #21

Open KevinTheG0D opened 4 months ago

KevinTheG0D commented 4 months ago

How can i use both in my project? Both use the mods.toml file and it overrides the other.

Ran-Mewo commented 3 months ago

Pain, Neoforge is attempting to kill this project, and I've made many requests to them to attempt to add a single change, but to no avail sadly. https://github.com/neoforged/NeoForge/issues/531 (No offence Forge team, <3)

~~We're currently looking into this, but for a hacky solution at the moment you can view it here https://gitlab.com/jeseibel/distant-horizons/-/tree/removeArch~~

We're still thinking of how to add official support for it, it's still sort of a help wanted thing, but we do have some ideas that need testing

Update: NeoForge is finally adding in a neoforge.mods.toml and is targeted to release for 1.20.5 Forge & NeoForge together will be unsupported for versions below 1.20.5 as I don't want to go through the pain required to do that.

hypherionmc commented 1 month ago

Just to add to this, it's now technically possible to do this with 1.20.6 and newer, although I personally wouldn't recommend this, as specifically with mixins and service loaders, you could still have forge code running on neoforge and vice versa

There is a still a small bug with mixin configs, specified in the neoforge.mods.toml