Contents (5)
Data values
Read from reports/blocks.json of Minecraft 26.3.
| Identifier | minecraft:piston |
|---|---|
| Numeric default state ID | 2379 |
| Block states | 12 |
| State properties | 2 |
| Item form | Yes |
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.
| When | Sound | Closed caption | Identifier | Translation key | Volume | Pitch | Attenuation |
|---|---|---|---|---|---|---|---|
| Retracts | Piston moves | block.piston.contract | subtitles.block.piston.move | 1 | 1 | 8 | |
| Extends | Piston moves | block.piston.extend | subtitles.block.piston.move | 1 | 1 | 8 |
Block states
2 properties combine into 12 distinct states.
| Property | Default | Allowed values | Meaning |
|---|---|---|---|
extended | false | true false | Whether the piston is extended. |
facing | north | north east south west up down | Which way the block faces. |
History
Worked out by reading the registry of every Minecraft build Mojang has published, in release order.
| Version | Date | What 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. |