#Issue? with uploading datapack+resourcepack to modrinth.

1 messages · Page 1 of 1 (latest)

hasty citrus
#

I have uploaded my datapack with a resourcepack embedded as required but whenever I go to download the datapack it doesn't automatically download the resourcepack as well. ;/

I feel like this is kinda lame, because most people will not notice the fact that there is a resourcepack that is required in order to play with the Datapack

vague schooner
hasty citrus
#

I wish there was a better way to do this (if there isn't already one to do so that I'm unaware of ..)

vague schooner
#

I searched a bit... and the best way I found is to create two seperate projects: One for the datapack, and one for the resourcepack. Sadly

#

Even though you can set (required) dependencies for both data and resource packs, Modrinth doesn't give you a hint when downloading.
so yeah... still need a disclaimer that theres the other project.

hasty citrus
#

Yeah that really sucks ;/

#

It should at the very least give a pop-up like "There is a required embedded resourcepack with this datapack. Do you wish to download this along side it?" or something

left ridge
#

Idk, I would be happy that there even is an option for additional files

#

CurseForge doesn't even have that option

hasty citrus
#

Well CurseForge does download dependencies automatically.

#

Atleast in the launcher it does.

left ridge
#

Modrinth App does download the required dependencies.
But dependencies are not the same as additional files - which CF doesn't even have.

lean nest
#

From the wiki: "Resource packs associated with a data pack: For data packs, it is acceptable to upload a resource pack as an additional file. Just make sure you select the "Required resource pack" or "Optional resource pack" file type as appropriate." it should download it too

hasty citrus
left ridge
#

I clicked the install button for this datapack, and it DID install the resurcepack as well

hasty citrus
#

Ah, so it does it in the app, but not on the website download

left ridge
#

It doesn't download dependencies in the website. And that applies for both Modrinth and CF

lean nest
#

what the sigma

left ridge
#

Yeah, the app says that datapacks are not compatible with mod loaders even tho they are

hasty citrus
lean nest
#

Dependencies will not be installed.

#

._.

hasty citrus
#

Just the asociated projects not

left ridge
lean nest
#

Nope

hasty citrus
#

Maybe if I list it's loaders as "Fabric, Forge, NeoForge, Datapack" ?

lean nest
#

It doesn't download the resourcepack

left ridge
lean nest
#

i think I have the problem

#

In your pack.mcmeta the number is 55, but for 1.21.5 it's 71

left ridge
#

The problem with installing datapacks with the app is tht it puts them in .minecraft/datapacks/ and the game doesn't see them, even tho it should

hasty citrus
#

It is 71 for me

#

I just downloaded it from the website

lean nest
hasty citrus
lean nest
#

yes ik?

#

and you need 71

left ridge
#

55 is correct for resource packs

lean nest
#

lol

hasty citrus
#

Datapack and Resourcepack have different PackFormat values

lean nest
#

my brain is not braining

left ridge
#

pack format number is not the same for resourcepacks and datapacks

lean nest
#

ik

#

i thought it is the resourcpack section

#

then sorrryyy

hasty citrus
#

You're good lol

left ridge
#

Tested it with your datapack and it downloaded both files

lean nest
#

i think you can upload the resourcepack and datapack in two seperate projects and add the resourcepack as a dependencie. that should work

hasty citrus
left ridge
lean nest
#

for me it doesn't download the resourcepack...

#

i tired in in multiple modpacks

left ridge
#

Idk, istalling datapacks is iffy

#

But that's on Mojang's part

#

@hasty citrus Can you try editing your datapack version and pressing

#

It will convert it to the mod, that might work better on mod loaders

#

Instead of choosing the modloaders in the version settings

#

I think it might embed the resource pack to the .jar file along with datapack.
I know it will make it install properly and load on all worlds, even previously created

hasty citrus
#

Yeah

#

I think it takes a little while for the app to synchronize with the website

#

Because it isn't updated on the app yet.

left ridge
#

YEah, it takes a while

#

I downloaded it from the website and will check if that works

#

Yup

hasty citrus
#

Ah cool!

left ridge
#

This adds both packs to the jar and enables it on all worlds

hasty citrus
#

That's nice

left ridge
#

And the functionality works

#

They attract items

#

Although there is a bug

#

It doesn't knwo which magnt I turned on

#

I turned on purple one, but after switching slots, the orange one works

#

I'll send you a vid

#

It activates all of them

#

Idk if that's how you intended it to work

#

Ignore Polish language, I was testing localizations for my datapacks on this instance

hasty citrus
#

Yeah I know. It's a global toggle. I haven't implemented a per-item toggle yet