Tutorials/Piston uses

Since pistons were introduced in patch 1.7, players have been experimenting with their potential uses. Below are some demonstrations and guides. The interest in pistons is their ability to manipulate the position of other blocks.

Ultimate Hidden piston Stairs
The Ultimate Hidden piston stairs that can be activated using levers or pressure plates! Check Out This Awesome Example

Secret Entrances and false dead ends trick players who are unaware of a potentially expansive area. The trick in disguising these is to find a place where the switch is either hidden or thought to do something else.

To make a false dead end dig a tunnel either one or two blocks wide and two blocks high. Remove two blocks above you and two blocks below you. At the bottom and top of the now taller tunnel, place a sticky piston (make sure they face upwards on the floor and downwards on the ceiling) and cover it with stone to make it look like a regular tunnel.



Secret entrances are more difficult to set up and wire. The design to the right has one set of pistons pull the wall blocks away, and another set to pull those away again. Alternate designs have pistons pulling pistons which requires a good understanding of delay. The recent introduction of pistons means some bugs haven't yet been fixed.

Piston/Piston Secret entrance.

Another type as shown in this Video is a "scrolling display" type self-resetting sand door.

Easy To Follow Piston Door Tutorial

Simplified Redstone circuit for Piston Door

Piston Lava Door
A lava door that allows for safe entry to rooms without the player getting burnt, uses Pistons, redstone and pressure plates to accomplish this!

Simple Tutorial Below

Piston Draw Bridge
A redstone operated Sticky Piston Draw bridge that i use to cross a lava pit, it also acts as a moat as it can expand and contract to reveal or hide an secret path.

Piston Stairs
A hidden stairs that is controlled by a redstone circuit and uses sticky pistons during its operation. Follow this simple video as a guide.

Combination lock Piston Stairs Tutorial

Disappearing Floor Trap
When triggered, the section of the floor will be withdrawn from below the target. This design is best used inside to hide the pistons and circuitry. This can easily be added to a tunnel. Under the floor, dig out a 2-block deep pit for each of the trap blocks you want to move. Mine out two blocks horizontally from each space where the trap floor will go and put a sticky piston at the back of each hole. In front of the sticky piston, replace the floor blocks (make sure that the trap block is the same as the regular floor blocks so as not to cause suspicion. In the space beneath the floor can be a long drop, lava, dispensers filled with arrows. For simplicity, we chose lava.



Triggering this is best done with a pressure plate, however, this can be difficult to hide from other players. You will need to wire the pressure plate to the input of a NOT-gate and the pistons to the output. A delay can be helpful to ensure the player is over the right blocks when the trap triggers, which can be accomplished by putting in redstone repeaters. Stone pressure plates will only trigger when players or mobs walk over, whereas wooden pressure plates trigger also for dropped items. This trap will be reset once the signal from the pressure plates is disabled.

Alternatively, the pistons could be connected to a lever. This requires input from the player, but can be activated when the target is above the trap, which removes the need for a delay.

Simple Floor Trap Tutorial!

Hidden Bridges
Like disappearing floors but in reverse, hidden bridges show an impassible obstacle (usually lava or a long fall) to hinder other players or kill mobs. These bridges can be activated by lever to allow a player to cross then deactivated on the other side or by a set delay.

Suffocation Trap
When a piston moves a block into the same space as the head of a mob or player, the entity takes damage from suffocation. Tunnels work well for this type of trap because the area is small and can hide the parts.

In a tunnel, mine out the ceiling an additional two blocks high. At the top of every part of the tunnel, place a sticky piston then replace the ceiling with the same material used in the tunnel. This trap can be triggered in a number of ways, the most simple being pressure plate or lever. If you choose to use a lever, this trap can also act as a door, since aggressive mobs won't be able to enter. For this example we'll use pressure plate.

Since players are pushed into the nearest air pocket to avoid suffocation, the trigger should be in the middle of a series. To ensure the trap doesn't reset too early, add an RS-NOR latch that is either reset manually or by an automatic delay.

Floodgate
One of the piston's most important uses is it's ability to stop fluids. A floodgate is a device that does just that. Fluids don't destroy pressure plates, which makes them ideal for triggering this trap. In a tunnel, have a pressure plate activate an RS-NOR latch that blocks the player into that tunnel, which will also minimize other damage caused by the fluid. From the same output, have the floodgates open, dropping lava on the target.

Piston Table
By placing an upward-facing Piston on top of a Redstone Torch, one can easily and effectively create a 1x1 table.

An example of a piston table with chairs below!

Hidden Piston Pool
A sticky piston redstone operated hidden pool that will hide all water when closed but when opened will completely fill the desired area

Simple Tutorial!

Hidden Chest/store Room
A redstone operated sticky piston hidden Room that is ideally big enough to hold a large chest, furnace and a crafting table, easily hidden but very bulky, remove lever to leave just a bare wall!

Easy To Follow Tutorial

Fence Gate
Gates can be constructed in fences by lowering the target fence, thus allowing the player to walk over. Place a sticky piston below a line of fences. When powered, the fence will be uniform. When unpowered, the fence will be retracted, allowing access.

Example of a fence gate *This video is no longer avaliable*

Reed Farm


Reed farms can be enhanced with pistons. Simply align a row of pistons alongside the reeds one block higher than the lowest reed and run a redstone wire round the back. Connect a button to the wire. When activated, the pistons will push the reeds into an illegal position, causing them to turn into the item. The water the reeds need can be used to collect the reed items at the end of the farm. This design does not have a 100% efficiency rate. When the reed is 3 blocks tall or higher, the reeds above the piston level will become items but not be pushed into the stream. This can be fixed with an extra row of pistons, although the material for pistons is arguably more valuable than the renewable reeds.

Reed farm on a 5-minute clock

Wheat Farm
Wheat can be harvested by water that runs into it horizontally (water that runs in vertically destroys the items). Using this property, you can create a floodgate by putting a piston in the way of a source block. Place a lever that toggles the piston so that when the piston extends, the water source is closed up, but when the piston contracts, the water can flow.

Floodgate from Jeb's 1.7 preview

Mushroom Farm


Similar to the wheat farm, water is used to collect the items. However since mushrooms only grow near other mushrooms you usually want the water only to remove some of the mushrooms. One method to achieve this is to have fixed rows of mushrooms on a raised level which can't be hit by water. After a while, mushrooms will grow in the lower rows which can then get flooded by toggling the piston. The water will push then the mushrooms from the lower rows to their destination point.

Mushroom Farm Tutorials!

Fast
Fast piston elevators are quicker than more traditional ways of gaining height, like ladders and powered minecarts. They are designed to be practical.

Zipper
Zipper elevators feature pairs of pistons stacked vertically. The stair version can be open on two opposite sides, and is useful for giving views above ground. The no-stair version can only be open on one side.

Spiral
Spiral elevators feature a vertically stacked spiral of pistons. Because the pistons and wiring surround the player while they ascend, this type is no good for giving a clear view.

Slow
These piston elevators are slower than more traditional ways of gaining height, like ladders and powered minecarts. While not practical, they are designed with style in mind.

Single column elevator
Single column elevators made to reach the top quicker are usually short due to their need for complex redstone wiring methods. It can be simplified by using sand or gravel as a floor and pistons to push sand. However, this elevator is much slower.

Redstone Circuits
Players have been creating circuitry that uses almost entirely pistons and redstone repeaters. There are three benefits of Piston circuitry:
 * Neither repeaters nor pistons 'burn out', unlike redstone torches.
 * Piston circuits tend to be smaller than their redstone counterpart
 * The resources used are much easier to find and mine.



Clocks are a common use for pistons. If two pistons are connected to the opposite sides of a 4-phase clock, each piston has enough time (because of the two unused phases) to retract their plate before the other piston is triggered. This can become necessary for large complicated piston mechanisms.

Locking Chests
A chest with an opaque block above it can not be opened. A sticky piston can be used to replace or remove that block, effectively locking the chest and it's contents. Note that chests themselves can not be moved by pistons. This can be combined with a combination lock for added security.

Example of a locking chest.

Tutorial For a locking chest below!

Light Switches
Pistons can be used to cover and uncover holes with light sources. This can be triggered by a lever or a button on a T-Flip Flop.

Players tend to use glowstone for lighting, however, lava is another viable method. A lava light uses an opaque block to hold the source block of lava from the area it will flow into (generally a glass tube). Since lava can flow, it can be a very space efficient light source. However, lava takes a long time to dissipate. If you need to flip a switch for immediate darkness, flowing lava lamps are not recommended.

Since light levels affect mob spawning, light switches can activate and deactivate a mob farm.

Light Switch Tutorial

Light Switch Tutorial!

Self Repairing Structures
Self repairing structures use a piston cobblestone generator to endlessly create blocks that get pushed into place by pistons. The following video shows how to create a cobblestone generator, a simple clock and connect it all together to push cobblestone. Self repairing bridge

Self repairing structures are not limited to cobblestone, however, it is by far the easiest material to manipulate as its generation can be fully automated.

Pistons can only push 12 blocks which limits the scale of the structure. Pistons can not push chests, noteblocks, or furnaces, so these can be used to stop a line of blocks before the 12 block limit is reached.

Mining
Pistons can be used to locate caves through solid rock. In order to do so, one places the piston on the ground facing the ground, on the ceiling facing the ceiling, or facing straight into any wall. The piston is then powered. If the piston extends, it indicates an opening within 12 blocks. If it does not extend, then there are at least 12 blocks in that direction. This allows a player to find caves from nothing more than a 2x2 tunnel.

The effectiveness of this technique is limited. Close caves will have sounds (either mobs or ambient sounds) to indicate whether or not a cave is nearby. The limit of 12 blocks can also hinder this method.

available here is a video of it in action in a 1x2 passage. The basic idea is the same except the torches are placed on the wall above the pistons, and you use a piston facing to each side not just one. there are only 2 positions you place torches in, above the side-facing piston which is touching the sticky piston, and above the forward facing piston. As they are wall mounted, placing the torch above the side-facing piston powers both side-facing pistons as well as the sticky piston, saving time.

Scrolling Display
This will make a columns of blocks move in sync. Make two rows of a movable material (it can only be 13 blocks long because the piston can only move it that far, can be as tall as you want) and make your image/ message built into it. Use pistons to move the blocks across, then back, the across the other way, back to the front/ beginning.

Garbage Disposal
By placing a row of three cobble, then on top of it, a cobble on the left one, and piston (facing right) on the middle one, nothing on the third one and a hole in the ground at the end, one could create a Lava garbage disposal. After following those steps, put a bucketful of lava in the 2 block deep hole at the end, and place a button on the top left block. Unwanted blocks can be 'dropped', using the Q button onto the top middle block, then, after pushing the button the little blocks will be pushed into the lava. CAUTION! This device does not destroy placed blocks, only dropped icons of blocks.

Simple Garbage Disposal Tutorial

One Way Piston Door
This mechanism is designed to keep out passive or aggressive mobs, this door is a one way piston device. The left side of the diagram is meant to be the outside of the wall(fig 1.), with the right side meant to be the inside. Once the door has been built, with the player standing outside the door, the lever is pulled twice to open, then the inside one is pulled twice to close it behind you.

Dry Docks
A dry dock can be made by reversing a floodgate: instead of controlling the liquid, the player is controlling a solid. Place a piston facing upwards in a 1-deep pool of water and wire this piston to a lever. When a boat comes over the piston, flip the lever to raise the boat out of the water. This will stop the boat from being influenced by currents or being bumped.

A dry dock with an water powered launcher feature:

Simple Dock Tutorial:

As an upgrade, using Soul Sand for the parts that come in direct contact with the boat will help conserve it's durability.