enjarai / recursive-resources

Minecraft mod that enhances the Resource Pack menu with folder support.
Mozilla Public License 2.0
19 stars 10 forks source link

[Feature Request(?)] Possible to use paths to utilize Resource Packs outside of the resourcepacks folder? #45

Open KxttyKxt opened 3 months ago

KxttyKxt commented 3 months ago
Feature Version
Minecraft 1.21
Recursive Resources 2.5.3+1.21
Fabric 0.16.0
Fabric API 0.102.0+1.21
Cicada 0.8.3+1.21-and-above

All I could find in the Readme was a relative path used like symlink to make one pack show up in two folders. But is it possible to "symlink" resource packs not in this folder at all?

I have an empty folder that I wish to add mods' built-in resources to. For example, the mod support for Eating Animations is a resourcepack inside the mod.jar. I attempted to do so using the following reference: "../mods/eating-animation-1.21+1.9.72.jar/resourcepacks/supporteatinganimation". (The .. is often used to navigate to a parent folder. The resourcepack in question is inside the mod jar as a resourcepack.

Using an absolute path (C:/Users/<user>/AppData/Roaming/com.modrinth.theseus/profiles/<modpack>/mods/eating-animation-1.21+1.9.72.jar/resourcepacks/supporteatinganimation) also doesn't seem to work. [I am using a custom instance in the Modrinth desktop app.]

image image

enjarai commented 3 months ago

There's currently no way to organise built-in packs I'm afraid. I'm still looking into ways to do that nicely. Loading packs from entirely outside the usual packs folder isn't something I've considered before, but could definitely be an interesting feature. I'll have to see if its feasible.

enjarai commented 3 months ago

See #13 for tracking the built-in resource pack support.