modCodePaths
Where every loaded mod's code lives (including jar-in-jar / nested modules), for the REPL compile classpath. Fabric via FabricLoader.getAllMods(); Forge and NeoForge via ModList ->IModFile.
Return the most direct path the loader can name — a real jar or directory, not a virtual root derived from one. ModJarCollector falls back to URI recovery and to repacking, both lossy.
Return
The code roots of all loaded mods, or an empty list if the platform can't enumerate them. With a remap bundle in force, the minecraft mod is excluded where the host can identify it — best-effort; the mojmap symbol jar replaces it as the compile reference either way.