mojira.dev
MC-187904

Data packs cannot replace settings of vanilla dimensions during world creation

Data packs can now add dimensions to a world, but naming one minecraft:overworld, minecraft:the_nether or minecraft:the_end causes it to be ignored completely with no errors.
This means data packs have no way to replace vanilla dimensions upon world creation.

How to reproduce:

  1. Download the attached data pack containing settings for minecraft:overworld

  2. Add and enable it when creating a new world

  3. Notice you didn't spawn in a superflat crimson world

  4. Optional: Teleport to a dimension with identical settings using
    /execute in minecraft:expected_world run teleport ~ ~ ~
    and see that it was created just fine

Linked issues

Attachments

Comments 11

Confirmed for 20w28a, where this bug matters even more, since you need to replace the entire vanilla dimension in order to change any structure or biome generation.

I believe data pack dimensions are not supposed to replace vanilla dimensions in the first place, that is for the Import World Settings button 

The bug is confirmed already so not being able to do it is unintended.

The fix doesn't seem to have worked completely; /u/dragon3025 and I can both confirm that replacing the noise settings for the Overworld does not work: https://www.reddit.com/r/minecraft_configs/comments/i088xw/having_trouble_adjusting_default_overworld/
In addition, I tried to modify a biome, and that didn't work either.

1 more comments

Did you test mine, is everything set up right?

Should I really make a new issue? The problem currently is the same as this one, except it's "some" datapacks and not "all" datapacks, since yours worked, but mine and Michael Norton's didn't. I would probably title the new issue the same as this one, except with the word "some" before it.

@Michael Norton

Your pack changes the noise_settings file, not the dimension file. If that doesn't work then it is a separate bug, because those are two different types of configuration file.

Okay, I was able to edit the vanilla overworld by copying the noise settings .json to the settings file in the dimension json, and tweak it there.

I don't think it's really necessary to create a whole new issue for noise_settings because that's part of replacing the vanilla dimension that isn't working, but since title of this issue is technically not true anymore, I created a new issue for this: MC-196592.

MC-196592 has the same problem that this one did; the title is just as limited in scope. This issue also affects biomes from my testing, and probably other things as well. Wouldn't it make more sense to have a single issue that covers everything, instead of creating a separate one for every single type of data that isn't overridden properly?

When a bug report is partially fixed, or the scope is significantly reduced, it's always better to create a new report. This is done to maintain the bug history.

AmberW

(Unassigned)

Confirmed

Low

Custom Worlds, Data Packs

1.16 Pre-release 2, 1.16 Pre-release 3, 1.16.1, 20w28a, 20w29a, 20w30a

1.16.2 Pre-release 1

Retrieved