Skip to content

Dependencies by groups #6561

Description

@JosephG1thub

Please confirm the following.

What parts of Modrinth is your feature request related too?

Modrinth.com website

Is your suggested feature related to a problem? Please describe.

The section on required dependencies needs improvement, in order to create groups, such as alternative dependencies, that are not compatible with each other.

For example, I'm the creator of Bare Skies (resourcepack), and the Skyboxify mod is a required dependency. However, there's also Nuit Interop and the regular Nuit mod as alternatives. These two versions of Nuit aren't compatible with Skyboxify because they're designed to perform the same function. So, if I list Skyboxify, Nuit Interop, and the regular Nuit mod in the same dependency list, someone new to this would download all three, causing the pack to malfunction or even crash Minecraft.

Describe the solution you'd like

Allow the creation of separate dependency groups when adding dependencies to a project. If feasible, allow for a title and short description for each group. Regarding optional dependencies, these should be included for each required dependency group, but also globally for when they function across both required dependency groups.

Describe alternatives you've considered

An extra section, called something like "Also compatible with". But I prefer the first solution I gave.

Additional context

In the description of my pack, Bare Skies, I have included:

Works with: Optifine (any version), Skyboxify (currently used in Fabulously Optimized) and Nuit with Nuit Interop

But in the list of required dependencies, I've only included Skyboxify.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions