Mineshaft



Abandoned Mine Shafts are a type of structure added in Beta 1.8, along with Strongholds and NPC Villages.

Structure
The Abandoned Mine Shaft consists of: The starting point, a large room with a flat dirt floor, an arc ceiling and up to four exits (one in each direction); 3×3 block corridors featuring supports made from Fences and Wooden Planks (sometimes complementary with torches), crossings (wooden pillars), stairs, chests (containing resources such as Gold and Iron ingots, ores, food, seeds, diamonds or pickaxes), Cave Spider spawners surrounded by cobwebs. More miscellaneous cobwebs and broken minecart tracks are found throughout the mine shafts. The generator continues to add pieces on to an exit until it reaches a "depth" of 8 (eight pieces from an exit), meaning a maximum of twenty-four (24) pieces.

Abandoned Mine Shafts are generated before chunk features such as ores. Corridors carve out blocks rather than placing a border around, often resulting in floating features, such as inside a ravine. Jeb stated at MineCon that he would fix this. As of Snapshot 12w05a, floating corridors will spawn on top of bridges made of wooden planks.

Since they generate large amounts of wood and cobwebs, as well as produce more abundant ores relative to normal caves, it is easy to craft essentials such as torches, beds (from string to wool) and powerful tools.


 * Obtainable items:
 * Diamond
 * Coal
 * Lapis Lazuli
 * Redstone Dust
 * Iron Ingot
 * Gold Ingot
 * Melon Seeds
 * Pumpkin Seeds
 * Bread
 * Rails
 * Iron Pickaxe
 * Wooden Planks
 * Fences
 * String

Chest contents
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.

Exploration
Mine Shafts can be easily found in ravines or large caves, where it is likely that a mine shaft will intersect them. In Ocean biomes it is possible to find the upper part of the shaft complex exposed to water at some of the sections.

Abandoned Mine Shafts may be large and be akin to mazes, making it difficult to keep bearings. The venomous Cave Spiders are common and make exploration dangerous unless prepared. However, due to automatically placed torches, the presence of other mobs is much lower, making areas aside from the Spider spawners safer than caves. Gravel sometimes collapses into shafts, making them appear to be dead ends. Dig a few blocks past gravel walls to check if the shaft continues or not.

Using the large amount of resources found in Abandoned Mine Shafts, the player may cut down cobwebs, take out wood from the supports, and create a safe room with a bed within the shafts to work out of. This makes exploration easier, although becoming lost means losing resources within the room and possibly death from the Cave Spiders or other hazards within the elaborate structure. One should put caution before anything else when exploring these locations. If the need of food arises, melon seeds and wheat are found in loot chests and water can be found in caves around the mine. It is also likely to find bread in the chests as well.

This can also be a good source of rails, for anyone who wishes to make Minecart Tracks, it can help people who ran out of pickaxes, by crafting a Crafting Table, Sticks, and using the resources found during the mine expedition and Spider Spawners are a good place to make Mob Grinders. Mine Shafts, although dangerous due to the presence of Lava Lakes and mobs, also contain a lot of ore, diamonds and treasure.

The minecart tracks can be repaired, and the mine shaft can be utilized for mining after it is cleaned up and ridden of mob spawners.

How to explore
Abandoned mine shafts can be extremely difficult to explore, especially since some can be cut in half through ravines. The easiest ways to get the most out of an abandoned mine shaft without a ravine going through it is the following. Skip to the next part if you have found an abandoned mine shaft with a ravine cutting through it.

The first thing one should do when finding an abandoned mineshaft is to walk through the mine shaft, but make sure everywhere you go, the hall is well lit with torches. This helps locate all minerals present like iron ore, or coal, which may be embedded in the wall. Having multiple redundant sets of tools, weapons, and stacks of dirt/cobblestone (or any block not affected by gravity) is also beneficial. Valuable blocks and chests can often be found in difficult to access areas due to the mine's random generated nature. It is commonly required to build bridges or staircases to access all the areas within an abandoned mine shaft.

Because of the labyrinth-like characteristics of abandoned mine shafts, it is recommended to leave indication of where the exit routes are. (Such as a cobblestone or two adjacent torches.) Due to the repeating layouts and multiple floors, becoming lost and walking in circles is easier than that of a cave. Another way to keep track of explored areas is to harvest the fence posts, so it is obvious which areas were cleared. You can then use the fence posts to block off unexplored regions so you don't end up with mobs coming from behind you.

It is also somewhat common for mine shafts to intersect ravines, caves, and other underground structures, and therefore contact with lava is a potential hazard.

An easy way to explore these caverns is to block an explored areas of the mineshaft, this way it is easier to not get lost. Also, you could use a few signs to remind yourself where you're going.

Bugs

 * If an Abandoned Mine Shaft intersects a Dungeon, it may destroy the dungeon's chests, causing the contents to fall to the ground.
 * When the Mineshafts are being generated, there is likely to be a spot where two shafts are generated on top of each other creating a very annoying obstacle if you are attempting to traverse the top shaft.
 * Sometimes some of the randomly placed torches will not give off light, but still give off flame particles.

Trivia

 * Entrances to mine shafts can also appear underwater, causing the mine shaft to flood.
 * Sometimes lava will be found near an Abandoned Mine Shaft, which can make the Shaft's fence blocks and wood planks burn and disintegrate.
 * Torches can't be found in chests but are placed randomly around the shaft
 * Sometimes torches may not be attached to blocks but still give off light.

History

 * As of 1.2, Abandoned Mine Shafts have a layer of wooden planks to serve as flooring if the supports would be hanging in the air.
 * Originally, due to a world generation glitch, parts of an Abandoned Mine shaft could be floating in the air. This was most noticeable when an Abandoned Mine Shaft intersected an underground ravine, where the wooden supports for shafts could be found floating. Chests, spawners and mine cart tracks are also included in this. This bug was fixed in snapshot 12w05b, by adding wooden bridges in any floating part of the mineshaft
 * In the 1.8 Pre-Release 1 and 2, support beams in mines were only made of planks. Fences were added later in the 1.8 version.