code icon indicating copy to clipboard operation
code copied to clipboard

Modpack Index file "path" entry doesn't display when changed

Open RoarkCats opened this issue 1 day ago • 0 comments

Please confirm the following.

  • [x] I checked the existing issues for duplicate problems
  • [x] I have tried resolving the issue using the support portal
  • [x] I have ensured my Modrinth App installation is up to date

What version of the Modrinth App are you using?

0.10.26

What operating systems are you seeing the problem on?

Windows

Describe the bug

When I leave the path option in a modpack datapack as the default value (ex "datapacks/any_datapack.zip") the project shows up fine in the app, however, if I change it an actually useful directory such as related to a world included in the modpack (ex "saves/my_world/datapacks/any_datapack.zip") it installs fine but somehow forgets the project and doesnt list it in the Content page of the app

So you have to either a.) use the default datapacks path with a copy added as an override in the world and if people were to click update in the GUI it would only update the reference file in the datapacks path, requiring a manual copy over (confusing and not helpful to the average user) b.) use the custom world path and it installs correctly but the datapack project doesnt list in the Content section in the GUI at all, preventing the pack from being updated via GUI or even credited visually

Steps to reproduce

Attached file as example of modified modpack file, allows you to skip directly to step 5 unzip me.zip (modpack file example, zipped to comply with GitHub file types)

  1. Create a new modpack
  2. Add a datapack
  3. Export the modpack
  4. Modify modrinth.index.json changing the path in some way (ex. to saves/my_world/datapacks/any_datapack.zip)
  5. Re-import the modpack with a modified path
  6. View modpack and files (nothing listed in content, datapack still installed to the world or other custom directory)

Expected behavior

Datapack still listed in the content tab based on where it was installed with the path defined in the index file

Image Image

Additional context

Yes, I know the default datapacks directory is intended to work with a mod added to allow them to run globally, that's not the issue. Datapacks are made to be able to run in vanilla and already have this useful path feature that nearly works great for situations with a custom world, only with this drawback/issue seemingly with the Modrinth App not properly listing projects in their path directory according to the index

If this is in fact intended, I would suggest adding an option to list it regardless to expand the functionality a bit

It would also be nice to be able to modify the path option in the app GUI rather than manually

RoarkCats avatar Jan 18 '26 08:01 RoarkCats