Build a ten-block-wide working redstone piston monument using scaled block displays, complete with smooth hydraulic extension, heavy sounds, and steam.
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.
/scoreboard objectives add c9_timer dummy/fill ~-6 ~-1 ~-6 ~6 ~-1 ~6 minecraft:polished_deepslate/fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 minecraft:smooth_stone/summon minecraft:marker ~ ~ ~ {Tags:["c9_piston","c9_ctrl"]}/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]}}/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]}}/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]}}/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]}}/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]}}/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]}}/scoreboard players add @e[tag=c9_ctrl] c9_timer 1/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 80.. run scoreboard players set @e[tag=c9_ctrl] c9_timer 0/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]}}/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]}}/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/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/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/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/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/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]}}/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]}}/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/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/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.5setup #5 Summons the main cobblestone body of the piston using a <code>block_display</code> scaled up to 10x8x10 blocks and offset by -5 on X and Z so it stays centered on the stage.setup #7 Creates the glowing redstone core sticking slightly out of the cobblestone sides, using full sky and block brightness so it looks energized.loop #3 At tick 5 of the cycle, merges a new transformation into the oak plank piston head to smoothly slide it upward by 8 blocks over 10 ticks (half a second).loop #10 At tick 45, lowers the piston head back down to its resting height over 20 ticks (1 full second) for a heavy hydraulic retraction feel.


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.
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.
/kill @e[tag=c9_piston]/scoreboard objectives remove c9_timer/fill ~-6 ~-1 ~-6 ~6 ~-1 ~6 minecraft:grass_blockBy default, block display entities do not have collision boxes, so players will pass through them unless you also summon invisible shulkers or barrier blocks.
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.
▶Steampunk Astrolabe GyroscopeMachines & MechanismsMedium24 cmds
▶Steampunk Printing Press Newspaper RollMachines & MechanismsHard24 cmds
▶Holographic Magnetic Tokamak Fusion ConfinementMachines & MechanismsExpert26 cmds
▶Kinematic Radial Aircraft Engine IgnitionMachines & MechanismsExpert24 cmds
▶Kinematic V8 Engine Piston CutawayMachines & MechanismsExpert24 cmds
▶Kinetic Moiré Pattern Interference SculptureMachines & MechanismsMedium23 cmds