When creating a new superflat world in 1.19.2, mineshaft structures are not generated. Using the /locate command gives coordinates but no mineshaft can be found at the coordinates or anywhere else in the world. This is true for Overworld and Desert presets.
Notes: Villages, desert temples, strongholds, and other structures all spawn perfectly fine, it's only mineshafts that aren't appearing. Mineshafts spawn as expected in the Tunneler's Dream preset.
Linked issues
duplicates 1
Comments 4
That is entirely wrong; mineshafts spawn in pretty much any biome, but underground. Not just lush/dripstone caves/deep dark.
Definitely related to MC-254670.
This is tracked in MC-241438. If you add enough layers so that the surface is well above y=0, you'll notice that Mineshafts now generate. That's the reason you were able to find them in Tunnelers' Dream — it has enough layers by default.
This thing happens due to the fact that they spawn only in cave biomes,also they haven't been added to superflat