The bug
When creating a new world with the setting generate structures to OFF, dungeons will still generate. This does not occur with dungeons that are part of mineshafts.
How to reproduce
Generate Structures: OFF
Seed: 8923834425200727632
Coordinates: /execute in minecraft:overworld run tp @s 132.41 -23.00 71.83 -62.25 16.65
Linked issues
is duplicated by
Attachments
Comments


Yes, I just checked and this is still an issue in the latest versions.
Can confirm for MC 1.12.1. It is a Zombie Dungeon for me though. Also, this command should be added to the description to make reproducing easier.
/tp 192 61 78
Can Couldn't confirm for 1.13.1.
I can now, sorry.
Still an issue in 1.13.1
[media]
Can confirm for 19w05b

Can confirm in release 1.15.1 (the seed above doesn't work anymore but the same outcome still occurs with any seed).
Can confirm in 1.16 snapshots.
I suspect this is intentional because dungeons are not considered "proper" structures: they do not have a /locate command so the game does not use structure code but just natural/world terrain generation. In other words, they're part of the natural world.

Confirmed in 1.16.1 and 20w27a.

Confirmed in 1.16.2 Pre 1
The provided seed and coordinates no longer demonstrate the issue.

I think this may finally be fixed in 1.16.4! I updated the provided seed and coordinates. Generating the world with Generate Structures set to off did not generate the dungeon at the provided location, as (finally) expected.
Still happens at 21w03a
Affects 21w07a
-8163669871814717102
/tp @s -2630 15 -2225
My theory is, because Dungeons are such an old structure (first added in June 2010) the game may not recognize it as an actual structure, and just sees it as a world generation feature, like the ground itself. Also the fact the /locate command can't find Dungeons makes me think this might be the case.
I could be entirely wrong, so feel free to correct me about this.
Affects 1.17
Confirmed for 1.18.2
Can confirm in 1.19.
[media]Version: 1.19
Generate Structures: OFF
Seed: 8923834425200727632
Coordinates: /execute in minecraft:overworld run tp @s 132.41 -23.00 71.83 -62.25 16.65

This is likely because dungeons are technically recognized as "features" in the game, like trees, instead of a structure. Same applies to desert wells, and I think fossils to an extent, but I think they're almost like a hybrid of some sort if I'm remembering correctly.
Can confirm in 23w03a.
Dungeons are not currently considered structures
Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time.