Structure

This page lists generated structures in Minecraft. A generated structure is defined as any structure that is disabled when the "Generate structures" world creation option is turned off. Some structures such as dungeons and desert wells do still generate with this option turned off but are listed on this page due to them having the appearance of a artificial structure as opposed to a natural formation.

The Overworld
The Overworld contains numerous generated structures, at a wide variety of scales.

Buildings
Buildings are naturally generating structures that form above ground. They can contain valuable treasure, but may contain traps, puzzles, and hidden areas as well.

Miscellaneous structures
These structures generate even when the "Generate structures" world option is disabled, and also cannot be located with the command.

The Nether
The Nether, though equally vast, contains far fewer types of generated structures than the Overworld.

The End
The End is the final and most barren dimension, with no generated structures on its main island. After defeating the ender dragon, gateways to the outer islands are created.

Technical details
Structures are generated for a given chunk after the terrain has been formed. The chunk format includes a tag called that indicates whether structures whose point of origin is in that chunk have been generated. If it is false or missing, it will generate again. Structure generation is based on what is already in the chunk, so (for example) flagging a chunk that has already been populated for repopulation approximately doubles the amount of ore in it. When structures are generated, they can spill over into neighboring chunks that have been previously generated.