Closed trainb0y closed 6 months ago
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.
Seems to work now
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?
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.
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?
1.20.x/dev
branch, with no changesNo idea why this one doesn't work.
1.20.x/dev
branch with loom 1.4I don't have the beginning of the log for this one because the modelbakery errors are so long, I can go and grab it if its helpful, but I'm lazy.
Almost identical to the loom 1.4, which makes sense since I didn't touch much of the MinecraftForge stuff. By these I assume the issue is loom 1.4 and not my pr specifically?
Seems to be the same issue, just minus the modelbakery spam?
I really don't know at this point, I'm kind of stumped. Some of this just feels like user error. Like I said, I haven't really touched Forge or Architectury before so maybe this is obvious to someone more experienced. I'm basically out of ideas though.
I don't have the beginning of the log for this one because the modelbakery errors are so long, I can go and grab it if its helpful, but I'm lazy.
I found it.
Says something like "failed to find mod metadata for mod ids specified in @Mod
entrypoint"
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.