Change FMLLoader to respect access transformers located in game libraries#377
Change FMLLoader to respect access transformers located in game libraries#377robotgryphon wants to merge 1 commit intoneoforged:mainfrom
Conversation
|
|
Hmm. I'm not really sure about this -- dev-time discovery of ATs from Also as an aside, I'm not entirely against this -- after all, mixin configs are still loaded from GAMELIBRARYs for some reason? And consistent behaviour in this regard feels sensible -- but if this is implemented can we please just include the game libraries in the original loop instead of duplicating the whole thing? Feels a bit wasteful. |
Technici4n
left a comment
There was a problem hiding this comment.
If this is for Gander, it should probably just be made a mod. The only practical difference is that mods appear in the mod menu. Might be an XY fix?
We kept the mixin manifest attribute because that's what MixinExtras uses, and we didn't want to show it in the mod list as part of a "clean" NeoForge distribution. It is also fairly established in the broader mixin ecosystem.
|
As noted on discord, making gander use mods instead of GAMELIBRARYs is a ~30 line change or so, so yeah, at least in that case that seems like a cleaner solution -- ATs are a mod feature after all, this solution feels kinda like, I dunno, letting |
Currently the mod loader will reject valid Access Transformer files in game libraries, even though the locator can find the entries in their default location. This means that dev-time application of ATs from game libraries works while production has no effect, causing easily missed bugs.