
MaFgLib-0.1.6-mc1.20.1.jar throws error when trying to play game. There are no other mods loaded..
Aahzhotep opened this issue ยท 3 comments
Throwing error... edited for where I think the issue is. Suggestions?
[22Jan2024 17:00:05.565] [Render thread/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: File C:\Users\wpfis\AppData\Roaming.minecraft\mods\MaFgLib-0.1.6-mc1.20.1.jar constructed 1 mods: [mafglib], but had 2 mods specified: [mafglib, malilib]
[22Jan2024 17:00:05.565] [Render thread/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: The following classes are missing, but are reported in the mods.toml: [malilib]
[22Jan2024 17:00:05.565] [Render thread/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: The following mods are missing, but have classes in the jar: []
[22Jan2024 17:00:05.565] [Render thread/FATAL] [net.minecraftforge.fml.ModLoader/CORE]: Failed to initialize mod containers
net.minecraftforge.fml.ModLoadingException: The Mod File C:\Users\wpfis\AppData\Roaming.minecraft\mods\MaFgLib-0.1.6-mc1.20.1.jar has mods that were not found
at net.minecraftforge.fml.ModLoader.buildMods(ModLoader.java:278) ~[fmlcore-1.20.1-47.2.18.jar%23161!/:?]
but had 2 mods specified: [mafglib, malilib]
Open mod file using WinRAR. After that, in META-INF open mods.toml file and remove section named [[malilib]]. After that, save it and launch minecraft, it should work. Idk why it works, maybe latest versions of forge don't like compatibility stuff in this section
go here #38 i upload the jar with the fixed mods.toml inside it