mojira.dev
MC-187360

When creating a world, the default data packs folder location defaults to an appdata/local/temp/mcworld-### folder

When creating a new world, and importing data packs into the world, the default location is not within the .minecraft folder.

The data packs folder should be within .minecraft/datapacks

Comments 5

This may be intentional to support the drag and drop.

Doubt it... Should just be a folder in the directory just like resource packs or shader packs (yes I know shader packs are for mods, but you get the idea).

In any case it definitely shouldn't be in the TEMP folder if it's the data pack directory the game looks to.

Unlike resource packs, data packs are per world and their final location is the .minecraft/saves/worldname/datapacks directory. The dilemma is that the default location cannot be that directory because it has not been created yet, because the world name is not finalized yet.

Even if the default location was changed to be .minecraft/datapacks, there would not be much benefit over the TEMP folder as the data packs will still be moved out from there upon world creation. "Available" and "Selected" is a bit of a misnomer, it's better to think of them as "disabled" and "enabled". It is desirable that adding data packs during world creation does not cause those data packs to be added to all subsequently created worlds by default; Which is why the data packs would be moved, not copied.

Personally, I would prefer the Data Packs screen to have 3 areas with 3 buttons, instead of 2. The leftmost area would be the data packs repository, which defaults to .minecraft/datapacks and has a button that opens up said directory. The middle would be the 'Disabled' data packs with a 'Open New World Pack Folder' button that opens the TEMP directory. And the rightmost area would be the 'Enabled' data packs with the 'Done' button. Moving packs between the 3 areas would graphically be the same, but data packs would never actually be removed from the repository directory (.minecraft/datapacks).

So you're saying that it's not a data pack selection screen... It's just an in game way to add data packs manually when first creating a world and have to do it every time stil anyway? That sounds almost useless... If that's the case this isn't a bug, but it really shouldn't be that way imo, especially with the official change log calling it a selection screen, not an upload menu. Temp should drop it in a permanent directory to clone it multiple times after uploading it once. Shouldn't have to upload a data pack every time you create the world.

We'll have to see what a mod/dev thinks.

I wish it checked there for datapacks you frequently add to new worlds, and then copy the datapacks you selected into the world's own datapack folder. This way, you don't need to fiddle with files every time you want to make a new world with the same datapack

 

Edit: I guess I can just make a python script which looks for new files labeled "mcworld-" in temp and automatically copy my datapacks into them. I hope this gets fixed though

user-2a4c8

(Unassigned)

Confirmed

Data Packs, UI

1.16 Pre-release 1

Retrieved