Expose mod list through API
I'm programming a mod which needs to know which other mods are installed, but I don't want to fetch any libraries etc. Therefore, I'm asking for the API to provide a way of getting all installed mods, but unlike FabricLoader.getInstance().getAllMods(), it should be able to expose the modmenu specific metadata (like if it is a library, deprecated, which parent it belongs to etc.).
Can't you just fetch the metadata from the ModContainers returned by Fabric just like ModMenu would do it? (ModMenu metadata is just regular Fabric metadata ("Custom Values"), under the modmenu name, except for FAPI, which has a slightly more complex process)
That would of course be a solution, but imagine having multiple mods do that. That would result in quite a bit of redundancy and overhead, for a thing modmenu already scans through. And as you mentioned, manually adding exceptions for libraries like FAPI can be additionally annoying :/