Redstone & mechanisms

Piston

Piston is a redstone or mechanism block. Placement state, neighbouring blocks and power conditions can change its behaviour, so test the final arrangement in the edition used by the world.

Piston — representative authorized Minecraft assetPiston
Image source: Minecraft Wiki
Edition
Java & Bedrock
Java ID
minecraft:piston
Bedrock ID
minecraft:piston
Java numeric ID
138
Bedrock numeric ID
138
State combinations
12
Stack size
64

Obtaining and breaking Piston

What to use Piston for

2 current recipe relationships are recorded for Piston. These links include recipes that produce the block and recipes that consume it as an ingredient.

Build and technical notes

Java and Bedrock differences

Command and version data

/give @p minecraft:piston 64
/give
Gives a block item to the selected target.
@p
The nearest player to where the command runs.
minecraft:piston
The namespaced identifier for Piston.
64
The number of block items to give.

Numeric IDs and states can differ between versions and editions. The related links preserve each available current source record.

Related content