Wiki 9Minecraft Wiki 9Minecraft

Piston

12Block states
2Properties
YesItem form

The Piston is a block that players craft from any planks, Cobblestone, an Iron Ingot, and Redstone Dust.

Players mine it with a pickaxe, and it drops itself when broken. It can be placed facing different directions, and it also serves as an ingredient in one other crafting recipe.

Contents (5)
  1. Data values
  2. Sounds
  3. Block states
  4. History
  5. See also

Data values

Read from reports/blocks.json of Minecraft 26.3.

Identifierminecraft:piston
Numeric default state ID2379
Block states12
State properties2
Item formYes

Sounds

Sound events named after this block. Blocks that share a generic sound group are not listed, because the game keeps those groupings in code rather than in its data files.

WhenSoundClosed captionIdentifierTranslation keyVolumePitchAttenuation
RetractsPiston movesblock.piston.contractsubtitles.block.piston.move118
ExtendsPiston movesblock.piston.extendsubtitles.block.piston.move118

Block states

2 properties combine into 12 distinct states.

PropertyDefaultAllowed valuesMeaning
extendedfalsetrue falseWhether the piston is extended.
facingnorthnorth east south west up downWhich way the block faces.

History

Worked out by reading the registry of every Minecraft build Mojang has published, in release order.

VersionDateWhat the files show
before 18w01a—Already in the game when Mojang’s data generator first shipped, in 18w01a (3 January 2018). The files do not say which earlier version added it.

See also