Add "Babric" and "Babric (BTA)" as shown on Modrinth. Add "Show More" button to allow for space efficiency and readiness to add all other Modrinth modloader types.
Signed-off-by: matthewperiut <matthewperiut@gmail.com>
This commit is contained in:
parent
af73cfa20f
commit
20a833e1b9
8 changed files with 85 additions and 10 deletions
|
@ -43,7 +43,7 @@ class ModrinthAPI : public NetworkResourceAPI {
|
|||
{
|
||||
QStringList l;
|
||||
for (auto loader : { ModPlatform::NeoForge, ModPlatform::Forge, ModPlatform::Fabric, ModPlatform::Quilt, ModPlatform::LiteLoader,
|
||||
ModPlatform::DataPack }) {
|
||||
ModPlatform::DataPack, ModPlatform::Babric, ModPlatform::BTA }) {
|
||||
if (types & loader) {
|
||||
l << getModLoaderAsString(loader);
|
||||
}
|
||||
|
@ -202,7 +202,7 @@ class ModrinthAPI : public NetworkResourceAPI {
|
|||
static inline auto validateModLoaders(ModPlatform::ModLoaderTypes loaders) -> bool
|
||||
{
|
||||
return loaders & (ModPlatform::NeoForge | ModPlatform::Forge | ModPlatform::Fabric | ModPlatform::Quilt | ModPlatform::LiteLoader |
|
||||
ModPlatform::DataPack);
|
||||
ModPlatform::DataPack | ModPlatform::Babric | ModPlatform::BTA);
|
||||
}
|
||||
|
||||
[[nodiscard]] std::optional<QString> getDependencyURL(DependencySearchArgs const& args) const override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue