-
Notifications
You must be signed in to change notification settings - Fork 31
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
Migrate forge -> neoforge #139
Conversation
loom { | ||
forge { | ||
convertAccessWideners = true | ||
extraAccessWideners.add loom.accessWidenerPath.get().asFile.name | ||
|
||
mixinConfig "freecam-common.mixins.json" | ||
mixinConfig "freecam-forge.mixins.json" | ||
} | ||
} | ||
|
||
afterEvaluate { | ||
// FIXME: arch-loom only does this for tasks.remapJarTask, | ||
// meaning our variant tasks don't get AccessTransformers. | ||
tasks.withType(RemapJarTask).each { | ||
Aw2At.setup(project, it) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad all this is gone.
Some of this can be backported. See #141.
7566ed1
to
f03414d
Compare
Neoforge have deprecated `requires = true` in favor of `type = "required"`.
It doesn't support Neofore.
I was able to get past the dev-run issue by removing the deprecated 'mandatory' field (used Looks like it was just Neoforge strictly enforcing the deprecation when in the dev environment: neoforged/FancyModLoader#60. I also ran this gradle command for good measure: ./gradlew -Dloom.refresh=true tasks Devlogin turned out to be an issue too, I've disabled it for now. See PlanetTeamSpeakk/DevLogin#16. |
This isn't needed on Neoforge. This reverts commit 977d6e8
Reverting the LexForge 'Show Player' fix was enough to fix that issue. I guess Neoforge doesn't have that quirk. |
Much appreciated! |
This PR migrates the forge project to neoforge.
I've noticed a couple issues so far (both fixed now):
Failed to find system mod: minecraft
".Fixes #133
Fixes #135