Giant padded sweeper arms, rotating cylinders, and spring-loaded punching walls built from display entities spin and slam in a colourful synchronized course.
Machines & MechanismsCelebrationTechnologyRainbowCyanRedMini-gameServer LobbyBlock displaysArmor standsSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
The Mechanical Obstacle Gauntlet builds a colorful wipeout-style arena right on your world floor using scaled block displays and smooth teleport interpolation. At the centre, twin red and blue padded sweeper arms spin in opposite directions at different heights, flanked by rotating gold and lime balance beams over a bright pool.
On the sides, spring-loaded magenta punching walls slam inward and retract on a scoreboard timer while an automated challenger dummy leaps through the course, dodging the moving obstacles amid bursts of colourful particles and sound effects.
/scoreboard objectives add c9_tick dummy/scoreboard players set #clock c9_tick 0/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 minecraft:cyan_concrete/fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 minecraft:yellow_concrete replace minecraft:grass_block/fill ~-2 ~-1 ~-2 ~2 ~ ~2 minecraft:polished_deepslate/summon minecraft:block_display ~ ~1.3 ~ {Tags:["c9_gauntlet","c9_sweeper1"],Glowing:1b,glow_color_override:16724787,teleport_duration:1,transformation:{translation:[-0.6f,0f,-7.5f],scale:[1.2f,0.9f,15f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:red_wool"}}/summon minecraft:block_display ~ ~2.6 ~ {Tags:["c9_gauntlet","c9_sweeper2"],Glowing:1b,glow_color_override:3381759,teleport_duration:1,transformation:{translation:[-0.6f,0f,-6f],scale:[1.2f,0.9f,12f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:blue_wool"}}/summon minecraft:block_display ~-6 ~1.2 ~ {Tags:["c9_gauntlet","c9_wall_w"],Glowing:1b,glow_color_override:16711935,interpolation_duration:6,transformation:{translation:[-0.75f,0f,-3f],scale:[1.5f,2.8f,6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:magenta_concrete"}}/summon minecraft:block_display ~6 ~1.2 ~ {Tags:["c9_gauntlet","c9_wall_e"],Glowing:1b,glow_color_override:16711935,interpolation_duration:6,transformation:{translation:[-0.75f,0f,-3f],scale:[1.5f,2.8f,6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:magenta_concrete"}}/summon minecraft:armor_stand ~ ~1 ~-5 {Tags:["c9_gauntlet","c9_actor","c9_init"],Glowing:1b,NoGravity:1b,ShowArms:1b,CustomName:'{"text":"Challenger","color":"gold"}',CustomNameVisible:1b,equipment:{head:{id:"minecraft:golden_helmet",count:1},chest:{id:"minecraft:diamond_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1}}}/execute if entity @e[tag=c9_init] run summon minecraft:block_display ~ ~1.8 ~-6 {Tags:["c9_gauntlet","c9_spinner"],Glowing:1b,glow_color_override:16766720,teleport_duration:1,transformation:{translation:[-2.5f,-0.5f,-0.5f],scale:[5f,1f,1f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:gold_block"}}/execute if entity @e[tag=c9_init] run summon minecraft:block_display ~ ~1.8 ~6 {Tags:["c9_gauntlet","c9_spinner"],Glowing:1b,glow_color_override:5635925,teleport_duration:1,transformation:{translation:[-2.5f,-0.5f,-0.5f],scale:[5f,1f,1f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:lime_concrete"}}/tag @e[tag=c9_init] remove c9_init/scoreboard players add #clock c9_tick 1/execute if score #clock c9_tick matches 60.. run scoreboard players set #clock c9_tick 0/execute as @e[tag=c9_sweeper1] at @s run tp @s ~ ~ ~ ~6 ~/execute as @e[tag=c9_sweeper2] at @s run tp @s ~ ~ ~ ~-9 ~/execute as @e[tag=c9_spinner] at @s run tp @s ~ ~ ~ ~14 ~/execute if score #clock c9_tick matches 1 as @e[tag=c9_wall_w] at @s run data merge entity @s {start_interpolation:0,interpolation_duration:5,transformation:{translation:[2.0f,0f,-3f],scale:[1.5f,2.8f,6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #clock c9_tick matches 1 as @e[tag=c9_wall_e] at @s run data merge entity @s {start_interpolation:0,interpolation_duration:5,transformation:{translation:[-3.5f,0f,-3f],scale:[1.5f,2.8f,6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #clock c9_tick matches 20 as @e[tag=c9_wall_w] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{translation:[-0.75f,0f,-3f],scale:[1.5f,2.8f,6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #clock c9_tick matches 20 as @e[tag=c9_wall_e] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{translation:[-0.75f,0f,-3f],scale:[1.5f,2.8f,6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[tag=c9_actor] at @s facing ~ ~ ~ run tp @s ^-0.45 ^ ^ ~ ~/execute at @e[tag=c9_sweeper1] run particle minecraft:dust{color:[1.0,0.8,0.1],scale:1.5} ~ ~0.5 ~ 4 0.5 4 0 8setup #6 Summons the lower red sweeper arm as a <code>block_display</code> stretched to 15 blocks long and offset by -7.5 on Z so its pivot point sits cleanly at the centre hub.setup #8 Summons the west spring-loaded wall with <code>interpolation_duration:6</code> so changes to its transformation translation smoothly slide the wall across the floor.loop #1 Uses the one-time <code>c9_init</code> tag on the challenger dummy to summon the north and south spinning balance beams on the first tick, then removes the tag.loop #6 Rotates the lower sweeper arm by 6 degrees every tick while <code>teleport_duration:1</code> smooths the rotation between ticks.loop #9 Every 60-tick cycle (3 seconds), slams the west and east magenta walls inward over 5 ticks using <code>start_interpolation:0</code>, then retracts them at tick 20.loop #13 Moves the challenger dummy in a continuous circle around the central hub using local coordinates (<code>^-0.45 ^ ^</code>) while facing the stage centre.


Recorded on our own test server: 44 frames at about 7.2 fps. Our image check saw: A colorful obstacle arena over a cyan pool features rotating red and blue central sweeper arms, smaller spinning gold and lime beams, and magenta side walls moving inward.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To play the obstacle course yourself instead of watching the Challenger armor stand, skip the last setup command that summons c9_actor and replace loop command 13 with a knockback rule that pushes players who touch the sweepers or walls: /execute as @e[tag=c9_gauntlet,type=minecraft:block_display] at @s run effect give @a[distance=..2.2] minecraft:levitation 1 4 true.
/kill @e[tag=c9_gauntlet]/scoreboard objectives remove c9_tick/fill ~-10 ~-1 ~-10 ~10 ~ ~10 minecraft:air/fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 minecraft:grass_blockBlock displays naturally pivot around their origin corner. By offsetting the transformation translation to half of the negative scale (for example, translation -7.5 on Z for a scale of 15 on Z), the entity's origin sits right in the middle of the stretched beam.
Yes. Increase or decrease the rotation angle in the /tp commands (currently ~6 ~ and ~-9 ~) to change how fast the arms spin, or lower the scoreboard reset number from 60 to make the magenta walls slam more often.
▶Holographic Pinball Machine Autonomous JackpotMachines & MechanismsHard24 cmds
▶Automated Jackpot ReelsMachines & MechanismsMedium24 cmds
▶Autonomous Jukebox & Musical Light ShowMachines & MechanismsMedium24 cmds
▶Crystalline Capsule Prize MachineMachines & MechanismsMedium24 cmds
▶Autonomous Cascading Jackpot ReelsMachines & MechanismsMedium25 cmds
▶Colossal Self-Playing KeyboardMachines & MechanismsHard24 cmds