architectury / architectury-loom

A Gradle plugin to setup environments for Fabric, Forge, NeoForge and Quilt modding.
https://docs.architectury.dev/loom/introduction
MIT License
114 stars 38 forks source link

Forge 49.x.x ResolutionException (MC 1.20.3 and 1.20.4) #205

Open JasonTheKitten opened 5 months ago

JasonTheKitten commented 5 months ago

Hello,

It seems that Architectury-Loom is crashing with Forge versions 49.x.x (affecting Minecraft 1.20.4 and 1.20.3 on Forge)

I've tried stripping away as much extraneous stuff as possible to make sure it wasn't my code causing it or anything. I also referenced the Architectury templates to see if maybe I missed something important.

The crash does not occur on Forge 48.x.x, so MC 1.20.2 and lower are unaffected.

The following exception occurs (I've replaced the mod name with [mod] and package name with [package]) Caused by: java.lang.module.ResolutionException: Modules [mod] and [mod].snapshot export package [package] to module minecraft

This occurs on both Architectury Loom 1.4 and Architectury Loom 1.6.

Thank you.

qyl27 commented 5 months ago

Same issue, only happens on Forge 1.20.3 and later,
it occurs on Architectury Loom 1.5 also,
NeoForge or Fabric were not affected.

ThatPreston commented 3 months ago

I'm having the same issue in 1.20.4, with arch loom 1.6

natanfudge commented 1 day ago

Having this issue with Forge 50.1.20, mc 1.20.6