Tutorials/Piston uses

Since pistons were introduced in Beta 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.

Instant wire
Instant wire is a redstone technique based on a property of pistons. When a piston head retracts, it instantly breaks the connection in no ticks. Normally, a piston takes 4 game ticks to extend the head when powered; this means that it will take 4 game ticks before the signal of redstone is changed by the head moving (and typically pushing a block into a new location). However, the key observation: If a sticky piston retracts, and pull a block back, that block instantly changes its redstone propagation. The simplest form of this has a torch under the piston head's push, and wire leading off from that. Normally the signal is on, and propagated on by the wire. However, when the wire is turned off, the off signal is sent instantly to the far end, regardless of distance (however, a fresh piston and torch is needed every 15 blocks).

Free standing self refilling anvil system Flush with floor!
This video showcases an anvil setup for easy access. It is huge but flush with the floor and easily usable. Anvil system

Modular Button Speedlock using Pistons
This video showcases a Modular Button speedlock, in which you have to press the buttons in a limited time and a very weird way in order to open the door. Button speedlock

Upgrade system for Minigames
In this video, the creator shows an easy design for an upgrade system with various uses in Minigames or adventure maps.

Tileable upwards 1 wide double extender
This video showcases a small tileable horizontal double extender in this design everything but the input is flush as well

Tileable ceiling double extender
Here we have a tileable ceiling double extender.

1 wide Double extender (downwards)
This is a Double extender. This time its directed downwards.

1 Wide Horizontal Double Piston Extender
Here we have a very small Double extender which is horizontal and directed upwards.

1 wide tileable infinitely expandable downward transmission
Of course downward transmission is rather easy, but using this design, you can place the output at any place

Lamp-BUD designs
Here we have a tutorial for different Lamp-BUDs.

JPE (Jesabel Piston Engine)
This is a machine that moves any block back and forth that runs on a repeating loop. It is started by pressing a button but can also turn sand back into item form when it is stacked between the pistons.

Easy and hidden Mini-Base
This video showcases a simple and easy to use Mini Base design. Mini-Base

Secret fireplace entrance
This is a design for a 2x2 secret fireplace entrance to a hidden base. Fireplace entrance

1 wide Piston double Extender
This is a 1 wide double piston extender.

Fully Hidden Piston Door
This design is fully hidden, no pistons or redstone visible. Also this design can be activated from both sides, and still, everything will be hidden. The design isn't too complicated and doesn't take up a whole lot of resources either. The only cons are that the ceiling must be 2 blocks high, or you'll have to make the door more complicated. Con #2 is that the bottom part of the door MUST come out from the floor, not from the sides, or as i mentioned earlier, you'll have to make the door more complicated. Not to mention that it'll slow down the process, however, this door is just a little bit slower (around 5 torch delays slower). This design is running smooth on SMP servers, and is actually pretty much the main reason to build this, more complicated version - it is easy to change the directions in tunnels, confusing people and they won't see the pistons so they won't realize that the path has been changed. This does make sound though, so make sure they get far away before you activate it if you don't want them to hear it. Video below only shows how it works, video tutorial will be made if a lot of people request it in the comments.

Improved Hidden Piston Door
The improved hidden piston door is a 'flush inset' 2x2 piston door that can be opened through the use of a redstone torch on a wall. PearSquirrel improved this by compacting it and configuring it with pressure plates on the inside. The video below includes a demonstration and a tutorial.

2x1 Completely Hidden Seamless Inside and Out In-Wall Piston Door
This is a piston door that can not be seen on the outside, and no wiring/pistons are exposed when the door is open. The video below includes a demo and how to build it.

2x2 Out of Ground Piston Door
This is a secret door with a twist: The blocks aren't being pushed from the sides, they are pushed from the ground and are pushed twice. This design uses a double extender in order to push the blocks 2 up to hide the entrance. Note that this design is space/resource unfriendly thus you'd get more benefits out of it if you used it in a custom map.

Hidden Piston Stairs
This is an example of a hidden piston stairs that can be activated using levers or pressure plates. The video below shows how to make it.

Piston Escalator
Uses pistons and different repeater timings to create a wave motion that can propel the player up a number of levels. The tutorial below shows an example of piston escalators.

Doors
A secret entrance to a base: Piston/Piston Secret entrance.

The iris spiral door is too hard!
Try this one. I find it much easier and cooler in design with much More interesting talk.

Enjoy. All credits go to CNBMinecraft, check him and the Batcave out!

3x3 Spiraling Iris door
Here's a tutorial:

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!

Tutorial:

Multiplexing Piston Door
This is a very over complex piston door that has way too many repeaters to be useful at all. It all runs off of a button that is connected to many different small piston doors.

Piston Door
You can make doors with pistons and here is the most compact way. You can add a combination to the mechanism.

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.

Hidden Door
For a door that is completely hidden except the lever/Pressure Plate/Button to power it, you can use a Piston door. A very simple version is one that just moves 2 blocks to the side with 2 Sticky Pistons, which are hidden inside a wall and are powered by Redstone. To make some more complicated and fancy ones, you can get the blocks to move first away from the Player, and then sideways, allowing for 2 wide doors and it also allows you to build it so that the door appears at the middle of a wall, instead of it only being possible to make it either in a corner or in a tunnel of the desired width of the door, because now all the pistons are behind it. You have to do some redstone wiring, though, and if you want to make the door 2 wide it will need at least 12 sticky pistons, 4 to move the blocks into the wall, 4 to move them sideways, and 4 to move the four pistons that moved the blocks sideways sideways. You have to make the delay from the input to the first four pistons, the ones that move the blocks into the wall, 2 ticks. Then split the redstone wires that go to the other 8 pistons; one way has a delay of 1 tick, the other one a delay of 4 ticks. Then after the delays you can join the wires again and bring them to the pistons. To make it more hidden, replace the blocks with bookcases. An example of this can be found below.

If you really want it to be invisible, remove the button or lever, and instead carry a Redstone torch. Place it where the button was when you are ready to enter. It will stay open until you exit but hey, who carries those things around randomly anyway?

You can also completely hide your button/lever by putting it underground in a specific place only you know of and once your in it can't be open from the outside. An example of that is below.

Piston Draw Bridge
A redstone operated Sticky Piston Draw bridge that can be used to cross a lava pit, it also acts as a moat as it can expand and contract to reveal or hide a 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.

You could also use sand or gravel to make a refillable trap as well. Make sure to hide the refilling station for secrecy!

If you think this is bad, feel free to revert to the previous "version". 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, done by placing redstone repeaters and setting the second redstone torch to any four positions (Right clicking it.) Adding multiple repeaters can make a longer delay if necessary.

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 its 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

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

Mob Grinder Optimization
Pistons are useful for work in conventional Mob Item Generators. They can be used for the selective filtering out of spiders with out having to drastically alter the spawning floors or feeder channels, by blocking off parts of the Generator such that spiders won't fit through either the feeder channels and/or the collection pit. In gravity kill M.I.G.'s, pistons are indispensable for clearing generated items off the kill pad. Pistons can also be used to sort out log jams in Water Conveyor M.I.G.'s. This situation usually occurs at the bottom of the collection pit if more than a few Mobs fall in at once, and can clog up the opening to the final kill channel- especially if the M.I.G. is also collecting Slimes. 2 Pistons set on a Redstone Repeater Clock can remedy this problem by "shoving" the mobs out into the final kill channel at fixed intervals allowing for smoother and more consistent item generation. Indeed, such a system can even use these "clogs" to the players' benefit as the floor of the collection pit can be set with weighted pressure pads: when enough Mobs are present in the pit, they trigger the pistons, and are all sent to be processed at once.

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.

Sugarcane Farm


Sugarcane farms can be enhanced with pistons. Simply align a row of pistons alongside the sugarcane one block higher than the lowest sugarcane and run a redstone wire round the back. Connect a button to the wire. When activated, the pistons will push the sugarcane into an illegal position, causing them to turn into the item. The water the sugarcane needs can be used to collect the sugarcane 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.

{{vt|EXYBlDMNRFM|Reed farm on a 5-minute clock]

Conventional 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.

Full-Auto Wheat Farm
With the use of bonemeal, wheat grows to its full size and is ready to harvest immediately. By utilizing this and dispensers, one can make a very efficient, automatic wheat farm. The concept for this particular farm was created by GenerikB, and soon after improved by PearSquirrel. Here is the tutorial video.

Mushroom Farm


As of Beta 1.8: these types of farms do not work nearly as well, as mushrooms reach a spawn limit.

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!

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.

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.However, you may want to consider using a Redstone Lamp, as it tends to be more resource friendly.

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

Light Switch Tutorial!

Another Light Switch Example and Tutorial

Caution: ''This video uses the piston mod, which was released before it was implemented in the game. They function identically though.''

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.

The following video shows a bigger, selfgenerating floor. By removing some blocks the same machine can also generate a wall as shown in the video

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, Obsidian, Bedrock, Mob Spawners, 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.

A variation can be used in a 1x2 passage, is a video of it in action. 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.

There is also another kind of piston cave finding technique. In 1.8.1 (not tested in 1.9 prereleases) dig a two block deep pit, and place sticky pistons and TNT like this:

Side view where 0 is any block, _ is air, S is a sticky piston and T is TNT:

0_TX 0_TX 0000

Wire the pistons up to push the TNT into the pit (as if it were a suffocation trap) without setting off the TNT. When a player drops into this hole and activates the pistons, instead of being suffocated, most of the time they will have an x-ray view of all the caves anywhere nearby. It is not advised to build this on an SMP server, since admins may disable it or ban you for cheating.

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 (by default), 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. While it does demonstrate concepts of using pistons, and looks cool, this device is not as practical as most other incinerators/garbage disposals, which are much simpler. For example, you could make a small pit of lava and drop items in it manually. After adding a trapdoor, it is a safe efficient way to dispose of unused items. You could also clear out a plus 2 blocks down. Put a sand in the center place a cactus and trapdoor and one that if you fall in you can save yourself.

Simple Garbage Disposal Tutorial

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 block  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:

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

Variable Enchantment Room
This design has three settings - low-level, medium-level, high-level. You can choose a level range depending on how much levels you have. This design is optimized for 1.3.

Применение поршней