Sticky Piston

The Sticky Piston is a block similar to the Piston; the difference is that it can pull blocks as well as push them.

When extending, sticky pistons act exactly as regular pistons, pushing up to 12 blocks. When retracting, sticky pistons will pull along the block immediately in front of it. Obsidian, bedrock, Note Blocks, tile entities, Enchantment Table, and extended pistons cannot be pulled, just as they cannot be pushed.

It is possible for the block “stuck” to a sticky piston to be pushed aside by another piston, and sticky pistons do not hold up sand and gravel against gravity; the stickiness is only in effect during the retraction of the piston.

The sticky piston will also be used for pushing spike blocks instead of having a spiky piston.

Crafting
Sticky pistons can be crafted in the 2×2 Crafting grid, because they only require two spaces.

History
The Sticky Pistons was added along with regular Pistons in Beta 1.7.

As of 1.7_01, Sticky pistons do not stick when they aren't retracting.

As of the 1.7.3 Beta update, it is impossible to place a Jack-o-Lantern onto a sticky piston.

Controlling Water

 * Sticky pistons provide the much needed method for controlling water, without the previous method's needs for manually resetting the mechanism.

A simple water control example (from top looking down perspective) is:


 * Note: The piston in the schematic is a sticky piston

Toggling power on the sticky piston will open/close the air space below the water block, while hiding the sticky piston from player view. Water will flow out below. Anything can be used in place of the cobblestone, additionally the same model can be scaled length, width, or even up/down (to control water release on floors/levels).

Piston Elevators
Sticky Pistons can also be used to make fast piston elevators.

Synchronized Stacked Pistons
Sticky pistons do not stick when they aren't retracting. This prevents them from being used as self-resetting fast elevators without difficulty.

Here is an example of 13 vertically stacked sticky pistons that could expand as one gigantic sticky piston, that make a big piston the size of 13 blocks, expand to 26 blocks with only one input and only one on/off instruction signal.

Bugs

 * When attempting to pull beds or doors with a sticky piston, only half of the bed/door will be pulled by the piston, and the other half will disappear. If you activate or break the sticky piston, you'll also break the bed/door and be able to collect it.
 * When a piston or a sticky piston is placed upwards (with the redstone input being located 1 block below) and a rapid pulse signal is applied to the redstone, if the player tries to break the piston or sticky piston with any item, block, tool, or hand, the piston or sticky piston will break, dropping an item, but leaving a breakable piston head in mid-air.
 * When placing cake on a piston that isn't activated, then activate the piston, the cake disappears.
 * While standing next to a block that can be affected by a piston and activate the piston, pushing the block into you, occasionally a block will spawn next to the block affected. This usually happens with piston doors using two pistons stacked on top of each other.
 * When a sticky piston is extended and retracted very quickly (with a 1-tick pulse), it will not pull a block back, i.e. the block it is attached to will not be moved back with the piston. However, on the next extend/retract-cycle it will pull the block back, this can be used as a simple T-flip-flop.
 * Sticky pistons break Jack-o-lanterns if retracted.
 * Sticky piston transparency for redstone wire is affected by the extension of the pusher.
 * If a sticky piston is retracted with an extended piston above it, the activated sticky piston above will not go down with the sticky piston below.
 * Light can pass through sticky pistons.