[NeoForge] Deprecated mod file
Edouard127 opened this issue ยท 11 comments
Information
Operating system: WIndows
Java version: 17.0.8
Minecraft version: 1.20.4
Baritone version: 1.10.2
Exception, error or logs
[09:47:28] [main/ERROR] (ModInfo) Mod 'baritoe' uses deprecated 'mandatory' field in the dependency declaration for 'minecraft'. Use the 'type' field and 'required'/'optional' instead
[09:47:28] [main/ERROR] (ModInfo) Mod 'baritoe' uses deprecated 'mandatory' field in the dependency declaration for 'minecraft'. Use the 'type' field and 'required'/'optional' instead
Aditionnal info
The deprecated field warning can be ignored in 1.20.4, but not in 1.20.5
NeoForge 20.5 introduced a neoforge.mods.toml
metadata file that replaces the old mods.toml
@Edouard127 you reported this as a problem with 1.20.4 but as far as I can tell this is a 1.20.5+ change. Is 1.20.4 really affected?
I don't think it will cause problems with previous versions
You cannot launch 1.20.4 with NeoForge 20.5
This is only a warning message for future versions
Maybe I launched with 1.20.5 and wrongly tagged the issue, I don't remember since It's been over a month
Edit: I launched the game in 1.20.4 neo 20.4.234 and I get the warning
"Fixing" this for 1.20.4 shouldn't be required but might just as well do it anyway.
I tried just now and neoforge 20.4.234 as well as 20.4.237 did not emit a warning.
I have the warning in a developer environment at least, the issue can be closed then because the file was updated in the 1.20.5 release
in a developer environment
That might be the reason. Baritones runClient
fails for (neo)forge so I used a production environment to test. I'll try again with a fresh dev environment.