Merge pull request #1541 from Trial97/neoforge_search
feat:neoforge can download forge mods
This commit is contained in:
commit
ebbc8838a8
@ -47,9 +47,10 @@ class FlameAPI : public NetworkResourceAPI {
|
|||||||
return 4;
|
return 4;
|
||||||
// TODO: remove this once Quilt drops official Fabric support
|
// TODO: remove this once Quilt drops official Fabric support
|
||||||
if (loaders & Quilt) // NOTE: Most if not all Fabric mods should work *currently*
|
if (loaders & Quilt) // NOTE: Most if not all Fabric mods should work *currently*
|
||||||
return 4; // FIXME: implement multiple loaders filter
|
return 4; // FIXME: implement multiple loaders filter (this should be 5)
|
||||||
if (loaders & NeoForge)
|
// TODO: remove this once NeoForge drops official Forge support
|
||||||
return 6;
|
if (loaders & NeoForge) // NOTE: Most if not all Forge mods should work *currently*
|
||||||
|
return 1; // FIXME: implement multiple loaders filter (this should be 6)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,6 +43,8 @@ class ModrinthAPI : public NetworkResourceAPI {
|
|||||||
l << getModLoaderString(loader);
|
l << getModLoaderString(loader);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ((types & NeoForge) && (~types & Forge)) // Add Forge if NeoForge is in use, if Forge isn't already there
|
||||||
|
l << getModLoaderString(Forge);
|
||||||
if ((types & Quilt) && (~types & Fabric)) // Add Fabric if Quilt is in use, if Fabric isn't already there
|
if ((types & Quilt) && (~types & Fabric)) // Add Fabric if Quilt is in use, if Fabric isn't already there
|
||||||
l << getModLoaderString(Fabric);
|
l << getModLoaderString(Fabric);
|
||||||
return l;
|
return l;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user