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- 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
- Pickaxe is the recorded preferred tool for Piston; other tools may be slower or affect what is collected.
- Its recorded hardness is 1.5. Compare this with the blast resistance value when deciding whether the concern is mining time or explosion survival.
- Craft or process Piston using Crafting Table.
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.
- Ingredient for Sticky Piston.
- Piston has 1 recorded output recipe; open the linked recipe to compare edition, station, layout and yield before crafting a batch.
- Piston is used by 1 recorded recipe, including Sticky Piston.
- One full inventory stack holds 64 Piston blocks; 27 full stacks fill a single chest or shulker-box-sized inventory with 1728 blocks.
- Piston Recipe has 16 current variants.
- Sticky Piston Recipe has 2 current variants.
Build and technical notes
- 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.
- The recorded collision shape is “block”. Collision is a gameplay property, so do not infer it only from the block's visible model.
- Java data contains 12 block-state combinations for Piston. Commands that need one exact orientation or state must specify properties separately from the base ID.
- Its recorded blast resistance is 1.5; this is separate from hardness and should be used for explosion-risk comparisons.
Java and Bedrock differences
- Piston exists in both tracked editions. Java uses minecraft:piston; Bedrock uses minecraft:piston.
- The available hardness, blast-resistance and preferred-tool records do not show a cross-edition conflict for this block.
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.