NeoForge icon indicating copy to clipboard operation
NeoForge copied to clipboard

Mod Menu update

Open JetVolcano opened this issue 4 months ago • 4 comments

Can you make the mod menu more concise like Prospector's Mod Menu mod but not the same. Example: I have C2ME installed and there is over a page of separate mods that all are the same but for different parts of the mod:

Image

And even then the config doesn't show up, even though the mod has a config

JetVolcano avatar Aug 16 '25 00:08 JetVolcano

So, there's a few problems here. I'm going to assume you're referring to this fabric mod when you say the mod menu: https://modrinth.com/mod/modmenu.

First, Fabric's mod json only supports one mod with multiple entrypoints defined. The way you currently have your neo mod set up is probably having multiple [[mods]] entries, each with their own unique id. Neo can also map multiple entrypoints to a single mod, you just need to add multiple @Mod annotations. Otherwise, as you see, they will all appear as different mods, as they are different mods.

Second, the config system is tied to the ModContainer, meaning that each mod has its own config. If you wanted to have groups in the config file for organizing, you can easily push and pop sections.

Finally, the last part is because the configuration screen needs to be added as an extension point.

You can find the information about these topics in https://docs.neoforged.net/docs/misc/config#configuration-screen and https://docs.neoforged.net/docs/gettingstarted/modfiles#mod-specific-properties

If this doesn't address your concerns, please provide more clarity as to what you're looking for.

ChampionAsh5357 avatar Aug 16 '25 01:08 ChampionAsh5357

Correct, this is not my mod it is https://modrinth.com/mod/c2me-neoforge, so I can't really control what the author does. I would also like to see an icon for the mods

JetVolcano avatar Aug 16 '25 02:08 JetVolcano

Ok, I understand how the mod works now. It would require a bit to decouple the screens from the mod containers, however. As for the icon, that would require an FML change.

ChampionAsh5357 avatar Aug 16 '25 16:08 ChampionAsh5357

Yeah I know this would be a huge update to the loader

JetVolcano avatar Aug 16 '25 17:08 JetVolcano