DimensionalDevelopment / Rift

A lightweight mod loader and API for Minecraft 1.13
MIT License
122 stars 52 forks source link

Load mods from its own version folder like Forge #56

Open k-jiang opened 6 years ago

k-jiang commented 6 years ago

I have multiple versions of Minecraft installed on my client. They all have their own Forge installed. I usually keep my mods in separate folders (mods/1.1x/ for example) so no crush happen when launching different versions of Minecraft.

But it seems that Rift does not support loading mods from sub-folder under mods, e.g. mods/1.13/. If I put my 1.13 mods directly under mods/ then my other version like 1.12 or 1.11 will crash while launching.

I like the idea that Forge allows having different versions of mods to be stored under different folders. Could you implement the same functionality with Rift please? It would be wonderful. Thank you!

SilverminkenNet commented 6 years ago

I too have discovered this, I would love to have the mods in a version sub-directory

k-jiang commented 6 years ago

65 I just created a pull request for this. Please take a look :)

This PR will let Rift try to load mods from mods/1.13-Rift/ folder first. If empty, it will then load mods directly from mods/ just like the old days.