-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate Forge and NeoForge #128
Conversation
Since I couldn't get the testmod to load I decided to try with my own mod, and yeah, it crashes, and im fairly sure its an access widener issue. I'll see if I can fix it, but I don't really know what I'm doing when it comes to loom and gradle nonsense, if that wasn't obvious already lol. |
5f0ba80
to
2af72c5
Compare
Seems to work now |
2af72c5
to
3b89519
Compare
Would it not be better to drop Forge support and just support NeoForge for 1.20.2+, I don't see why anyone would bother supporting Forge anymore? |
For now I think it best to continue to support MinecraftForge, purely because I'm not really privy to the state of the forge community at the moment. If it is clear that old MinecraftForge is dead, it's trivial to remove it. |
Can't get this to run in a clone. Can't merge until it launches lol. |
Ignoring NeoForge for a moment, I tried to run the MinecraftForge testmod, but couldn't get that to launch, even in a fresh clone. This feels like user error, and I don't really know what to do at this point. Recorded a bunch of logs, maybe you can tell what's going on here? test-forge on
|
I found it. |
For context, I'm trying to port a mod that uses YACL to NeoForge, but it's incompatible, since NeoForge made breaking changes.
Loosely following this migration guide I tried to add NeoForge to YACL. I'm not even sure if you're interested in supporting NeoForge or want the maintenance burden, but I had some free time so I figured I might as well give it a shot, rather than just opening a feature request issue.
Some Questions/Concerns/Notes/Stuff
1.4
beta for NeoForge support. I don't know if it broke anything.1
. However, judging by the rest of the project, having hardcoded values (like that1
) in places like that is discouraged. Not really sure what to do about it.minVersion
so I added it. Was this intentional? Is there a reason not to specify it?Might have broken the access wideners. Not sure. I've never tried to use them before.(edit: works now)test-forge
ortest-neoforge
seem to work. Running the dev environment fails to load (here's a log fragment, the full log is too long to upload due to ModelBakery warnings). I didn't really touch much of the existing Forge stuff, so I'm not sure why it isn't working. Maybe I'm just doing the wrong thing? I'm very new to Architectury and haven't really touched Forge before, so it might just be user error.remapJar
on bothtest-forge
andtest-neoforge
seems to output jars that don't includetest-common
and therefore won't run. Since I couldn't get either of them to run using gradle, I wasn't able to actually get the NeoForge version to load, and I have no idea if it actually, um, works.So yeah, this is definitely not ready but I figured I should open a PR to see if I'm at least heading in the right direction, before sinking any more time into it.