mojira.dev
MC-241438

Structures do not spawn below Y=0 in Superflat worlds (Except ruined portals)

Mineshafts, Amethyst Geodes, Lava/Water Lakes, etc. do not spawn below Y=0 in Superflat worlds, except Ruined Portals.

 

Steps to Reproduce:

1. Create a Superflat world with Cheats on and use this preset: bedrock,123*stone,3*dirt,grass_block;plains

2. Be in the world

3. Execute /gamemode spectator @p

4. Execute /tp @p 0 0 0 0 0

5. Done. You may see a view similar to the attached screenshots.

Linked issues

Attachments

Comments 8

Mind including a preset? I tried with tunneler's dream

[Mod] markderickson

I can confirm with the Overworld preset, but with the stone layer size doubled.

There are different reasons for different features.

Structures in UNDERGROUND_STRUCTURES and SURFACE_STRUCTURES steps are not generate in superflat. For Plains they are monster rooms.

Water Lakes are generated by carver, and there's no carver in superflat.

The most important bug is the function FlatLevelSource::getMinY always returns 0. So the vertical anchor in hight provider calculates from Y-level 0.

 

Do you have any actual Mojang source for your claims that those are intended? Reading the code isn't a valid WAI reason, as all issues are programmed in. You need an actual statement from Mojang confirming it for WAI claims to have merit. ESPECIALLY since a priority is already assigned by Mojang, indicating the exact opposite.

Dhranios, Sorry. I removed my wrong claims now

can confirm in 1.20.6 and 1.21 pre-release 1.

what i expected:
that trial chambers generate around y=0 as in default worlds

what happened:
no trial chambers, or other structures generate despite there being the correct y-levels available to generate in

i was very interested in finding the trial chambers, playing superflat with some friends, and didn't find any structures, only to realize that it's not just trial chambers that do not generate, but generally no structures generate below y=0 regardless.

superflat settings:
minecraft:bedrock,63*minecraft:deepslate,59*minecraft:stone,3*minecraft:dirt,minecraft:grass_block;minecraft:plains

[media][media]
Minecraft386882

Confirmed in 1.21.3

Confirmed in 1.21.4
Newer structures such as trail ruins and trial chambers can be added to this list.

Also, in the “Overworld” preset, mineshafts can be “located” using /locate structure, but the structure itself doesn’t generate

Artiom Polugrudov

(Unassigned)

Confirmed

Platform

Normal

World generation

structure-generation, superflat

1.18 Pre-release 1, 1.18 Pre-release 4, 1.18 Pre-release 5, 1.18 Pre-release 6, 1.18 Pre-release 7, ..., 1.20.2, 1.20.6, 1.21 Pre-Release 1, 1.21.3, 1.21.4

Retrieved