Voxelum / x-minecraft-launcher

An Open Source Minecraft Launcher with Modern UX. Provide a Disk Efficient way to manage all your Mods!
https://xmcl.app/
MIT License
713 stars 106 forks source link

Let the user choose which dependencies to install or not #723

Open 66BA9Q-ME49 opened 2 months ago

66BA9Q-ME49 commented 2 months ago

Problem

For some mods, dependencies are mapped in a way that forces XMCL to install unwanted mods which I need to uninstall after. Here's an example: Embeddium++

Embeddium++ requires Embeddium and Rubidium. But these two mods are almost the same: they are forge ports of Sodium, so they are incompatible. The "required" state of the two mods just means that Embeddium++ is compatible with both. So after installing Embeddium++, I need to search for Rubidium in the list and uninstall it (because I prefer Embeddium over Rubidium). This is just an example, there are many other mods which install unwanted dependencies, and some mods make XMCL install up to ten unwanted mods! That's why I ask for this feature.

Solution

You could add checkboxes to each mods to download. All checkboxes are checked by default if the mod is "required" and the user can uncheck unwanted mods in order not to download them. This is what it could look like: Embeddium++ With Checkboxes

Peperehobbits01 commented 2 months ago

This happends whit JEI to, when trying to install Jade Addons for exemple, the first time it hapened I was very confused LOL. Had to release a new version of my modpack xD. Anyway, that's a good idea.