Skip to content

[Enhancement] Support loading mods inside folders to help organize large modpacks #1053

@FlyingMyLife

Description

@FlyingMyLife

This would make it easier to organize large modpacks into categorized folders (e.g., mods/performance/, mods/optional/, etc).

Currently, Fabric Loader only loads .jar files from the top level mods/ directory. For large modpacks, this can become hard to maintain. Many modpack developers and users would benefit from being able to group mods. Like that:

mods/
├── main/
│   ├── create.jar
│   └── (...)
├── optimization/
│   └── sodium.jar
│   └── (...)
└── visuals/
    └── iris.jar
    └── (...)

Suggested solution

Use Depth-First Search (DFS) to recursively scan the mods/ folder for .jar files, allowing mods to be organized in subfolders. Optionally, include a depth limit to prevent excessive traversal.

Its not that hard to implement, but it would be a great update for modpack creators

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions