How to Make a Piston in Minecraft

Cobblestone Generator

From monster traps to automated farms, pistons can be used in all manner of weird and wonderful ways.

A piston works by extending and pushing up to 12 blocks. If you want pulling power, you can modify a piston to create a sticky piston. These sticky machines will pull up to 12 blocks towards the piston block. 

There are plenty of tutorials out there that can show you how to make amazing machines using pistons. Once we’ve taught you how to make them you should have a look.

Pistons are also GREAT for making a Cobblestone Generator, an excellent Redstone machine to constantly create Cobblestone when you need it.

Be sure to check out our other guides that give step-by-step instructions on how to do anything Minecraft.

 

Platform Information

Pistons are supported on all platforms. 

PlatformVersion AddedSupported?
Java (PC/Mac)1.7Yes
Pocket Edition0.15.0Yes
Xbox 360TU3Yes
Xbox OneCU1Yes
PS31.0Yes
PS41.0Yes
Wii UPatch 1Yes
Nintendo Switch1.01Yes
Windows 101.0Yes
Education Edition1.0Yes

Finding a Piston in Creative Mode

To get a piston in creative mode, you just need to know which menu to use.

The menu names and categories have changed between versions and across consoles. 

PlatformVersionMenu
Java (PC/Mac)1.8 -1.16.2Redstone
Pocket Edition0.15.0 – 1.1.3

1.2 – 1.16.20

Tools

Items

Xbox 360TU35 – TU69Redstone and transportation
Xbox OneCU23 -CU43

1.2.5 – 1.16.20

Redstone and transportation

Items

PS31.26 -1.76Redstone and transportation
PS41.26-1.91

1.14.0 – 1.16.20

Redstone and transportation

Items

Wii UPatch 3- Patch 38Redstone and transportation
Nintendo Switch1.04 -1.11

1.5.0 – 1.16.20

Redstone and transportation

Items

Windows 100.15.0 – 1.1.3

1.2 – 1.16.20

Redstone and transportation

Items

Education Edition1.0 – 1.0.18

1.0.21 – 1.14.31

Tools

Items

Crafting a Piston in Survival Mode

Required Materials

You will need 3 planks of wood, 1 iron ingot, 1 redstone dust, and 4 cobblestones.

It doesn’t matter what wooden planks you use as long as you have 3 of a kind. The type of wood won’t change the appearance of the piston or its function.

Iron ingots can be acquired by smelting iron ore in a furnace. 

Redstone dust is crafted by placing redstone blocks into the crafting grid. You will need an iron or diamond pickaxe to mine redstone.

Cobblestones are collected when you break up stones with any pickaxe.

How to Craft a Piston

1. Open the crafting menu

You will need to use a crafting table to make a piston.

When you approach a crafting table, press the appropriate button to open up the crafting menu. 

PlatformControl
Java (PC/Mac)Right-click
Pocket EditionTap 
Xbox 360LT button
Xbox OneLT button
PS3R2 button
PS4R2 button
Wii UZL button
Nintendo SwitchZL button
Windows 10Right-click
Education EditionRight-click

2. Place the materials

When the crafting menu opens, you will see a 3×3 grid and your inventory. The grid is where the crafting happens! 

You will need to place your materials in a specific arrangement. Just throwing them into the grid as you like will only create a mess! 

For a piston you need to place the wooden planks in the first row. The second row should be cobblestone, then iron ingot, then cobblestone. The third row should be cobblestone, redstone dust, cobblestone. 

If you prefer a visual representation, take a look at the following diagram.

WWW

C I C

C R C

W= wooden planks, C= cobblestone, R= redstone dust, and I= iron ingot.

3. Collect your piston

When you place the last material in the correct place, a piston will appear in the box to the right of the grid. 

You must select this piston and move it to your inventory to complete the crafting process. 

If you exit the crafting menu without collecting your piston, all the materials will drop to the floor around the crafting table. 

You’ll have to pick them all up and start the crafting process again. This is annoying. So remember to collect your crafted items! 

Item ID and Name

PlatformID NameMinecraft IDData ValueVersion
Java (PC/Mac)minecraft:piston

minecraft:piston

33

33

01.8-1.12

1.13 -1.16.3

Pocket Editionminecraft:piston3300.16.0 – 1.16.50
Xbox 360N/AN/AN/AN/A
Xbox Oneminecraft:piston3301.6.0 – 1.16.40
PS3N/AN/AN/AN/A
PS4minecraft:piston3301.14.0 – 1.16.40
Wii UN/AN/AN/AN/A
Nintendo Switchminecraft:piston3301.6.0 – 1.16.40
Windows 10minecraft:piston3300.16.0 – 1.16.40
Education Editionminecraft:piston3301.0 – 1.14.31

Give Command 

PlatformGive command
Java (PC/Mac)

Java (versions 1.8 onwards)

/give @p piston 1

/give @p piston 1 0

Pocket Edition/give @p piston 1 0
Xbox 360N/A
Xbox One/give @p piston 1 0
PS3N/A
PS4/give @p piston 1 0
Wii UN/A
Nintendo Switch/give @p piston 1 0
Windows 10/give @p piston 1 0
Education Edition/give @p piston 1 0

Using a Piston

There are so many different machines you can make using a piston. However, the first thing you are going to need to know is how to make a sticky piston. 

After all, most machines and automations need a pulling action to oppose the pushing action. 

Sticky pistons are crafted using a piston and a slimeball. It really is as simple as that! 

Whatever machine or trap or process you decide to use your piston in, you will need to power it. 

Redstone torches are used to power pistons while switches, pressure plates and tripwires can be used to activate the power. 

You really should search up some automated machine you can build using pistons. It will save you so much time on repetitive tasks like farming and wood chopping!