Structure

This page lists structures (aka. generated structures, structure features) in Minecraft. A structure is defined as what is disabled when the "Generate structures" world creation option is turned off. Features, such as dungeons and desert wells, do still generate with this option turned off; however, they are listed on this page in due to them having the appearance of an artificial structure as opposed to a natural formation.

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

Underground structures
These structures can only generate underground in vanilla default overworlds.

Aboveground structures
These structures only generate aboveground.

Aboveground and Underground structures
These structures generate both aboveground and underground.

Underwater structures
Note that ocean ruins and shipwrecks sometimes generate above water on shores, and icebergs are partially above and below water.

The Nether
The Nether, though equally vast, contains far fewer 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.

Structure-like Features
These worldgen features have similarities to structures but they are not true structures. Instead, they are coded and generated the same way as trees or ores. This is why they generate even when the "Generate structures" world option is disabled, and also cannot be located with the command.

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 generates 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. Technical structure related blocks(structure_block, jigsaw, structure_void) allow you to add your own structures and modify existing structures and include features to not fill a block in the structures boundary(structure_void), connecting 2 related structures together(jigsaw), changing, updating, defining and spawning structures(structure_block). Structures are made of a NBT file located in the game directory(see here). Procedural structures are special structures that consist of smaller structures grouped into one structure

ID
The following table lists configured structure features' IDs $$ and structure features' IDs $$. These IDs can be used in command.

Tags
$$, there are some structure tags in vanilla game.