Tutorials/Airlock

Airlocks are player built structures designed for the Indev Version of Minecraft. They can be used to effectively limit water from spreading into your base if your base is in danger of frequently flooding. These airlocks are one-way, meaning they will close in the event of flooding but will not reopen unless the player breaks them.

How They Work
Airlocks rely on the current interesting properties of torches, allowing the torches to support blocks of Sand and Gravel above themselves until they are removed. In this case, when water comes into contact with the torch, the torch vanishes. This releases a large pile of sand, which in turn removes the support for the second torch. This cycle can continue for as many torches as you want and therefore works very well in most hallway sizes. This is also one of the very few reactions that can occur without a player's direct assistance.



A finished airlock.

Construction
An airlock requires only two components, Sand and torches

To place the airlock, simply choose a narrow (although it doesn't have to be) hallway or room to serve as a choke point, hopefully this room is the only entrance to the rest of your base, and directly between the water and whatever you wish to keep dry. If you have multiple entrances then you may need multiple airlocks to ensure optimal dryness.

The airlock is built directly across the hallway, and is usually one block in depth.

Now you will need an empty space directly above the hallway section equal to the number of blocks from the floor to the ceiling +1 per every block distance across the hallway (Every block more than 1).

So if you had a 3x3 hallway, you would require 9 blocks of sand. Then you would require one torch per block width of the hallway, for a total of three torches.

X= Empty Space S= Sand/Gravel T= Torches

You would take the first torch and place it on either wall at the roof's height. This is the torch that will be triggered by the water and therefore MUST be at a level at which water will contact it. It should look like this:

│Txx│ │xxx│ │xxx│

Next, you would place three blocks (more or less depending on hallway height) of Sand or Gravel above the torch (I am using sand in this example). The blocks of sand will be supported by the torch and will fall down to block the hallway the instant that water contacts the torch. (This is all you need if your hallway is only 1 block wide)

│S │S │S │Txx│ │xxx│ │xxx│ 1/3rd completed airlock

Now if your hallway is more than 1 block wide, you will need other segments to fall into place as well! Now this can be done in multiple ways, but the most effective is to have the first torch directly trigger the second column of sand to fall.

This is accomplished by directly placing a torch on one of the segments of sand that will fall. When the sand drops the torch no-longer has anything it is attached to and automatically removes itself, causing the second column to have nothing supporting it, and drop into place aswell. This requires the second pillar of sand to be one block higher then the first, otherwise the torch wouldn't be attached to the first sand pillar.

│ S   │SS │SS │ST │Txx│ │xxx│ │xxx│

Now you can continue this pattern to finish your 3x3 hallway

│ S│    │ SS│ │SSS│ │SST│ │STx│ │Txx│ │xxx│ │xxx│  Finished Airlock for a 3x3 hallway

This pattern of course can be continued for as large of a hall/room you want, as long as you have the required space above the area you wish to use. Yet sadly the airlocks do not reset themselves. When triggered you will have to break them (after the flooding is dealt with of course) and reset them to counteract another surge of water in the future. You will also lose the torches involved, although the Sand will remain and can be reused.



Metal Door Airlock
Another form of airlock can be made using a metal door by using a redstone current and the 'left handed door glitch' (see Tutorials/Mechanisms for details). This airlock is not automatic (to my current minecraft knowledge) and must be triggered by placing a Redstone Torch on a circut leading to the door henceforth closing it. There is nothing currently that makes it better than the classical airlock instead the fact that it may look better in a lair and the fact that it only takes up the space of the hallway unlike the traditional airlock.

A metal airlock is purely for looks. Even if the door is open water still will not pass through it so it is still a good way to make sure your base isn't flooded.

=Other Uses=

That is to say, they are an effective system for making Sand-Related things happen when water is introduced to an area. Making them one of the first completely environmentally reactive trap in Minecraft.

This concept could easily be adapted to other uses as well. Such as limiting the amount of water flow automatically by shutting off the water source when the water height reaches a torch, or changing the flow of water when the water reaches a certain area, thus "controlled area filling".

Example of Player triggered trap using the torch/sand conceptThe airlock works essentially the same, but faster and directly controlled by water flow, and not player interaction (Making it a completely standalone mechanism), Although this video proves that the method can be used to effectively trigger multiple walls and seal off multiple areas.

The torch system could also trigger sand falling into a room, where a hole in the ceiling then opens up and lava then pours in to cancel out the water. As long as it involves the movement of sand and water, it's quite an effective trigger system.

Uses in Creative Mode
By using flowers/mushrooms you may be able to build a less effective version of this airlock, since mushrooms/flowers are removed when in contact with a water/lava square. However the efficiency of simply using Trees to block water/lava makes sand based airlocks much less worthwhile. When multiplayer survival is released, these airlocks may prove very effective at preventing drowning/base flooding.

Trivia

 * Torches used to only work with sand since gravel used to break when placed on a torch

Video Guide
How to build an airlock