Colossal Animated Redstone Piston

Build a ten-block-wide working redstone piston monument using scaled block displays, complete with smooth hydraulic extension, heavy sounds, and steam.

Java EditionHolograms & Display EntitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A colossal animated piston with a glowing redstone core extends upward while emitting smoke and red particles. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsTechnologyIndustrialRedBlackWhiteDecorationMap MakingServer LobbyBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Sounds21+ commands

Normal Minecraft pistons only push a single block at a time, but this command creation scales the classic component up into a massive ten-block-wide mechanical monument. Built from oversized block displays, the colossal piston rests on a deepslate foundation with a glowing redstone core visible through the sides of its stone casing.

Every few seconds, the redstone core flares with red particles and the giant wooden head shoots upward on a smooth stone shaft, venting clouds of steam and shaking the stage with heavy mechanical sound effects before retracting back into place.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-6 ~-1 ~-6 ~6 ~-1 ~6 minecraft:polished_deepslate
  3. /fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 minecraft:smooth_stone
  4. /summon minecraft:marker ~ ~ ~ {Tags:["c9_piston","c9_ctrl"]}
  5. /summon minecraft:block_display ~ ~ ~ {Tags:["c9_piston","c9_base"],block_state:{Name:"minecraft:cobblestone"},transformation:{translation:[-5.0f,0.0f,-5.0f],scale:[10.0f,8.0f,10.0f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  6. /summon minecraft:block_display ~ ~ ~ {Tags:["c9_piston","c9_band"],block_state:{Name:"minecraft:iron_block"},transformation:{translation:[-5.2f,6.5f,-5.2f],scale:[10.4f,1.5f,10.4f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  7. /summon minecraft:block_display ~ ~ ~ {Tags:["c9_piston","c9_core"],block_state:{Name:"minecraft:redstone_block"},brightness:{sky:15,block:15},transformation:{translation:[-5.3f,2.0f,-2.0f],scale:[10.6f,3.0f,4.0f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  8. /summon minecraft:block_display ~ ~ ~ {Tags:["c9_piston","c9_core2"],block_state:{Name:"minecraft:redstone_block"},brightness:{sky:15,block:15},transformation:{translation:[-2.0f,2.0f,-5.3f],scale:[4.0f,3.0f,10.6f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  9. /summon minecraft:block_display ~ ~ ~ {Tags:["c9_piston","c9_shaft"],block_state:{Name:"minecraft:smooth_stone"},interpolation_duration:15,transformation:{translation:[-2.0f,0.5f,-2.0f],scale:[4.0f,8.0f,4.0f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  10. /summon minecraft:block_display ~ ~ ~ {Tags:["c9_piston","c9_head"],block_state:{Name:"minecraft:oak_planks"},interpolation_duration:15,transformation:{translation:[-5.0f,8.0f,-5.0f],scale:[10.0f,2.5f,10.0f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add @e[tag=c9_ctrl] c9_timer 1
  2. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 80.. run scoreboard players set @e[tag=c9_ctrl] c9_timer 0
  3. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 5 as @e[tag=c9_head] run data merge entity @s {start_interpolation:0,interpolation_duration:10,transformation:{translation:[-5.0f,16.0f,-5.0f],scale:[10.0f,2.5f,10.0f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  4. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 5 as @e[tag=c9_shaft] run data merge entity @s {start_interpolation:0,interpolation_duration:10,transformation:{translation:[-2.0f,8.0f,-2.0f],scale:[4.0f,8.0f,4.0f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  5. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 5 run playsound minecraft:block.piston.extend master @a ~ ~8 ~ 2.0 0.5
  6. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 5 run playsound minecraft:entity.generic.explode master @a ~ ~8 ~ 0.6 0.6
  7. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 5..15 run particle minecraft:campfire_cosy_smoke ~ ~8.5 ~ 3.5 0.2 3.5 0.05 12 force
  8. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 5..35 run particle minecraft:dust{color:[1.0,0.1,0.1],scale:3.0} ~ ~3.5 ~ 3.5 1.5 3.5 0 15 force
  9. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 15 run particle minecraft:cloud ~ ~18.5 ~ 4.0 0.2 4.0 0.1 50 force
  10. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 45 as @e[tag=c9_head] run data merge entity @s {start_interpolation:0,interpolation_duration:20,transformation:{translation:[-5.0f,8.0f,-5.0f],scale:[10.0f,2.5f,10.0f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  11. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 45 as @e[tag=c9_shaft] run data merge entity @s {start_interpolation:0,interpolation_duration:20,transformation:{translation:[-2.0f,0.5f,-2.0f],scale:[4.0f,8.0f,4.0f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  12. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 45 run playsound minecraft:block.piston.contract master @a ~ ~8 ~ 2.0 0.5
  13. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 65 run particle minecraft:cloud ~ ~8.2 ~ 4.5 0.1 4.5 0.08 40 force
  14. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 65 run playsound minecraft:block.anvil.land master @a ~ ~8 ~ 0.6 0.5

How it works

Frames from the test run

Colossal Animated Redstone Piston - frame 1Colossal Animated Redstone Piston - frame 2Colossal Animated Redstone Piston - frame 3

Recorded on our own test server: 43 frames at about 8.5 fps. Our image check saw: A giant oversized piston with a redstone block core in the side extends and retracts upward, emitting redstone and smoke particles.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Stand at the center of a flat open area where you want the giant piston monument to appear.
  2. Run each of the 10 setup commands in chat or in impulse command blocks positioned at the center.
  3. Place a line of 14 repeating command blocks (or 1 repeating followed by 13 chain command blocks), all set to Always Active.
  4. Paste the 14 loop commands into those blocks in order, making sure their execution position is aligned with the center of the piston.
  5. Watch the colossal piston automatically cycle through extending and retracting every 4 seconds.

Use it with real players

If you want players to control the giant piston manually with a lever instead of running on an automatic loop, remove the first two timer commands and trigger commands 3 through 9 with a redstone comparator when a lever is turned on, and commands 10 through 14 when the lever is turned off.

Remove it again 3 commands

  1. /kill @e[tag=c9_piston]
  2. /scoreboard objectives remove c9_timer
  3. /fill ~-6 ~-1 ~-6 ~6 ~-1 ~6 minecraft:grass_block

FAQ

Can players walk on top of the giant piston head?

By default, block display entities do not have collision boxes, so players will pass through them unless you also summon invisible shulkers or barrier blocks.

How do I change how high the piston pushes?

Edit the Y value (the second number) inside the translation array of loop commands 3 and 4 to make the head and shaft travel higher or lower.

Commands used

/data/execute/fill/particle/playsound/scoreboard/summon

Similar creations

Join 9Minecraft News & Guides