Mineshaft

Abandoned Mineshafts are generated structures that generate in the Overworld.

Generation
Abandoned mine shafts generate naturally in the Overworld, they are usually found underground but some can be found in the ocean. They are generated before chunk features such as ores. As with other features, multiple abandoned mine shafts can generate near each other and intersect, producing larger complexes. They can also intersect with other cave systems. Corridors will often generate a floor of wooden planks if they cross over empty space.

In the Pocket Edition, they can spawn on the surface in mesa biomes. These are composed of dark oak planks and fences, rather than oak.

Structure
Abandoned mine shafts consist of:
 * A starting point - a large room with a flat dirt floor, an arched ceiling and up to four exits (one in each direction, although, sometimes it generates in a way for up to five entrances.)
 * Corridors - 3×3 block corridors featuring supports made from oak fences and wood planks (sometimes complementary with torches), broken rails, minecarts with chests (containing resources) and cave spider spawners surrounded by cobwebs.
 * Crossings - intersections with wooden pillars, sometimes two floors tall.
 * Staircases - diagonal sections of tunnel.

Loot
Each chest contains 3-6 stacks of items, chosen from the following list. Chance listed is per stack, not for the chest as a whole.

Video
Notes:
 * The video shows that enchanted golden apples and cocoa beans are generated in chests, this is false.
 * Floating mineshafts no longer occur since 1.2.1
 * Chests were replaced with minecart with chests since 1.5

Trivia

 * At bedrock layer, abandoned mine shafts will cut through the top bedrock layer(s).
 * Mine shafts can generate on top of other mine shafts. If you see two different ones intersecting each other anomalously, they are two different shafts, even if they somehow meet up perfectly elsewhere.
 * Mineshafts are less common near the origin of the world (0,0).

Publicity

 * In LEGO Minecraft Micro World- The Village, an abandoned mine shaft is beneath the village.

Odd Generation
Mine Puits de mine abandonné 廃坑 폐광 Verlaten mijnschacht Opuszczona kopalnia Заброшенная шахта 废弃矿井