Pistons push and pull blocks in Minecraft, and you craft them from wood planks, cobblestone, iron ingots, and redstone
A piston is a block that moves other blocks when powered by redstone. It has a shaft that extends and retracts, pushing blocks away or pulling them back depending on the piston type. Sticky pistons pull blocks; regular pistons push only. You'll use pistons to build doors, elevators, traps, and sorting machines on your server or single-player world.
Pistons require redstone power to work. You can power them with a redstone wire, a lever, a button, a pressure plate, or a repeater. The moment power reaches the piston, the shaft extends one block in the direction the piston faces. When power cuts off, the shaft retracts. Sticky pistons retract with a block attached; regular pistons leave the block behind.
Key Takeaways
- Craft a regular piston from three wood planks, four cobblestone blocks, one iron ingot, and one redstone dust arranged in a specific pattern on the crafting table.
- Craft a sticky piston by placing a slimeball on top of a regular piston in the crafting table.
- Pistons push blocks away when powered and pull blocks back only if they are sticky pistons.
- Redstone power from wires, levers, buttons, or repeaters activates pistons, and power must be continuous for the piston to stay extended.
Crafting a Regular Piston
Open your crafting table and arrange the materials in this pattern: place three wood planks across the top row, four cobblestone blocks in the middle and bottom rows (leaving the center empty), one iron ingot in the middle of the middle row, and one redstone dust in the center of the bottom row. The exact type of wood plank does not matter—oak, spruce, birch, jungle, acacia, dark oak, mangrove, and cherry all work.
The crafting grid looks like this: top row has plank, plank, plank; middle row has cobblestone, iron ingot, cobblestone; bottom row has cobblestone, redstone, cobblestone. Drag the piston into your inventory. You now have a regular piston that pushes blocks.
Crafting a Sticky Piston
A sticky piston pulls blocks back when it retracts. To make one, place a regular piston in the center of your crafting table and put a slimeball directly above it. The slimeball comes from killing slimes in swamps or slime chunks underground. You can also find slimeballs in the Nether inside magma cubes.
One slimeball and one regular piston make one sticky piston. If you need multiple sticky pistons, you must craft them one at a time or gather more slimeballs and regular pistons. Sticky pistons cost more resources than regular pistons because slimeballs are harder to farm early in the game.
Powering Pistons with Redstone
Pistons set up when redstone power reaches them. The simplest power source is a redstone lever—place it on the piston itself or on a block next to it, then flip the lever to extend the piston. A redstone button gives a short pulse that extends the piston briefly, then retracts it when the pulse ends. A pressure plate powers the piston when you stand on it.
Redstone wire (redstone dust) carries power from a distance. Place redstone dust in a line from a power source like a lever to the piston. The wire glows red and dims as it travels farther; power reaches up to 15 blocks away before it stops. A redstone repeater boosts the signal and can add a delay, useful for timing multiple pistons in sequence.
Building a straightforward Piston Door
A basic piston door uses two sticky pistons side by side to slide blocks into place. Place two sticky pistons facing each other with a one-block gap between them. Put solid blocks (like stone or wood) on the front of each piston. Connect both pistons to the same redstone wire or lever. When you power the lever, both pistons extend at the same time, pushing the blocks together to close the door. When you turn off the lever, both pistons retract and pull the blocks back, opening the gap.
For a more complex door, add a second layer of blocks and pistons above or below the first pair. You can also use regular pistons to push blocks into a frame, then sticky pistons to pull them out. Experiment with different block types and piston arrangements to create doors that fit your base's style.
Piston Limitations and What They Cannot Do
Pistons cannot push or pull certain blocks. Obsidian, bedrock, end portal frames, and other immovable blocks will not budge. Pistons also cannot push more than 12 blocks in a row—if a piston tries to push a chain of blocks longer than 12, nothing moves. Liquids (water and lava) flow around pistons and are not pushed or pulled.
Pistons cannot push blocks into the space they occupy. If a piston extends into a block that is already there, the piston breaks and drops as an item. Always leave space in front of your piston for it to extend. Also, if a sticky piston tries to pull a block that has another block attached to it (like a torch on a wall), the sticky piston pulls only the first block and leaves the rest behind.
Common Piston Builds and Uses
Piston elevators move players up and down using stacked pistons and slime blocks. Piston sorting machines use pistons to direct items into different chutes based on their type. Piston traps push mobs into lava or off cliffs. Piston bridges extend across gaps when powered. Piston farms use pistons to harvest crops automatically by pushing them into water streams.
Each build requires different redstone timing. Some use repeaters to delay power so pistons fire in sequence. Others use comparators to detect when containers are full and trigger pistons to move items elsewhere. Start with a straightforward door or bridge to learn how pistons respond to power, then move to more complex machines as you get comfortable with redstone timing.
Frequently Asked Questions
What is the difference between a regular piston and a sticky piston?
A regular piston pushes blocks away when it extends and leaves them behind when it retracts. A sticky piston pushes blocks away when it extends and pulls them back when it retracts. Sticky pistons are useful for moving blocks in both directions, while regular pistons work best for one-way pushes.
Can I use a piston to move a player or mob?
Pistons push mobs and players, but they do not pull them. A sticky piston will not pull a mob or player back. You can use pistons to move mobs into traps or off platforms, but you cannot use them to drag a player toward you.
How far can a piston push blocks?
A piston can push up to 12 blocks in a single line. If you try to push more than 12 blocks, the piston will not move any of them. You can work around this limit by using multiple pistons or by breaking the chain of blocks into smaller groups.
Do pistons work underwater?
Yes, pistons work underwater. Water does not interfere with piston movement. However, water will flow around the piston and the blocks it moves, so you may need to use waterlogged blocks or other techniques to keep water where you want it in your build.
Can I power a piston from above or below?
Yes. Redstone power can reach a piston from any direction—above, below, or to the side. The piston will extend in the direction it is facing, regardless of where the power comes from. This gives you flexibility in how you route redstone wire around your builds.