FancyModLoader
FancyModLoader copied to clipboard
The fancy mod loader for NeoForged
Neo allows for some optional arguments (`IEventBus`, `ModContainer`, `FMLModContainer`, `Dist`) to be passed to the constructor of a mod main class. Initializing a mod via `FMLConstructModEvent` has long been an...
Will allow running JUnits in a bootstrapped Minecraft environment.
DisplayWindow forces minecraft classes to load too early in the "updateModuleReads" method. This needs to be refactored to not classload anything prior to actual launch.
Right now I have to get the issue URL by casting `net.minecraftforge.forgespi.language.IModFileInfo` to `net.minecraftforge.fml.loading.moddiscovery.ModFileInfo` to extract the issue URL from it, because `IModFileInfo` has no getter for that. ex. ```java...
I had set an invalid version in development, something like `development+202401010000-1.20.1`, which failed to parse and then subsequently made it appear as if neoforge was missing entirely.  changing my...
Wayland is becoming more and more popular between Linux desktop users. Many desktop environments support (or plan to support) Wayland. GLFW and LWJGL supports Wayland, too.
`@EventBusSubscriber` has the capacity to be provided a `modid` argument, which will be used to lookup the mod bus for the target class. We should leverage this functionality to permit...
Mods must ship a separate Jar-file (for example via jar-in-jar) and mark it as FMLModType: LIBRARY to make it load above the GAME layer. They then must provide an implementation...
The key `services` in (neoforge.)mods.toml was introduced in MinecraftForge 37.0.0, the 1.17.1 update. It uses a new class `ModJarMetadata` to implement this by using `ModuleDescriptor.Builder.uses`. However, the `Builder` was created...
If a language provider isn't present, an errors list is created and passed to the sorter. https://github.com/neoforged/FancyModLoader/blob/9b239e3414695ee2ab49ad6cc9aa96484db456de/loader/src/main/java/net/neoforged/fml/loading/moddiscovery/ModValidator.java#L99-L104 However, `ModSorter.sort` completely ignores its second argument, leading to missing language providers (`modLoader`s)...