mojira.dev
MC-188821

Flat world preset code: stronghold not working properly

Like decoration (MC-188569), the "stronghold" tag no longer seems to generate strongholds in superflat worlds

How to reproduce

1. Create a new superflat world with the Overworld setting and add ";stronghold"

2. After loading, use /locate stronghold
3. "Could not find that structure nearby"

Original Report

Can be verified in a superflat world with a preset such as

minecraft:bedrock,2*minecraft:dirt,minecraft:grass_block;minecraft:bamboo_jungle;stronghold

and /locate command.

This also changes positions of other strongholds, due to how the generation works.

In the source code the two bamboo biomes are missing in OverworldBiomeSource.POSSIBLE_BIOMES .

 

Attachments

Comments 10

Screenshot provided is in a "Single Biome" world, so strongholds do spawn in those biomes. However, the problem is with the "stronghold" superflat tag, which similarly to the "decoration" tag, seems to have stopped working. I have adjusted the report accordingly.

I think there's actually two issues then. What I was referring to has to do with bamboo biomes specifically.

 

To give a non superflat example, in seed "3" there used to be a stronghold in a bamboo jungle @ 16964/31/5604, which is now gone. And in general, many stronghold positions are changed as a result of the change to the list of biomes that strongholds spawn in.

In 20w21a, structure options were removed from superflat presets. If you write 'stronghold', click OK and then click Customize again, you will see the 'stronghold' word having been removed.

Also, bamboo jungles don't seem to generate anymore, I found that way back on April 1st, in 20w14~, where I used the /debugdim command, and it generated all biome files except for bamboo jungles and bamboo jungle hills.

They still generate, there's one at the coords I mentioned above. Perhaps the command is based on the same biome list that's missing bamboo?

Related to strongholds and not bamboo: Superflat structure tags seem to be removed hopefully only temporarily. There is still ways to edit them using import world settings and JSON files, but the JSON files for some reason only allow strongholds to generate if "features" (I think the same as decorations) is set to true in the JSON file. Also, strongholds don't even generate in superflat presets that used to automatically generate them such as overworld and tunneler's dream.

Can confirm in 20w51a.

Can confirm in 1.17-pre5.

Can confirm in 1.17.1

Solved as duplicate MC-188569, because it contains more information.

Alexander Gundermann

(Unassigned)

Confirmed

Normal

Structures

1.16 Pre-release 4, 1.16.1, 20w29a, 1.16.2, 1.16.4, ..., 1.16.5, 1.17 Pre-release 5, 1.17.1 Pre-release 1, 1.17.1, 1.18 Pre-release 6

Retrieved