Mechanical Obstacle Gauntlet

Giant padded sweeper arms, rotating cylinders, and spring-loaded punching walls built from display entities spin and slam in a colourful synchronized course.

Java EditionHolograms & Display EntitiesHard24 commandsTested on a real 26.2 & 26.3 server
Colorful spinning sweeper arms and moving magenta walls form a wipeout-style obstacle course in Minecraft. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /scoreboard players set #clock c9_tick 0
  3. /fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 minecraft:cyan_concrete
  4. /fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 minecraft:yellow_concrete replace minecraft:grass_block
  5. /fill ~-2 ~-1 ~-2 ~2 ~ ~2 minecraft:polished_deepslate
  6. /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"}}
  7. /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"}}
  8. /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"}}
  9. /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"}}
  10. /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}}}

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

  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"}}
  2. /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"}}
  3. /tag @e[tag=c9_init] remove c9_init
  4. /scoreboard players add #clock c9_tick 1
  5. /execute if score #clock c9_tick matches 60.. run scoreboard players set #clock c9_tick 0
  6. /execute as @e[tag=c9_sweeper1] at @s run tp @s ~ ~ ~ ~6 ~
  7. /execute as @e[tag=c9_sweeper2] at @s run tp @s ~ ~ ~ ~-9 ~
  8. /execute as @e[tag=c9_spinner] at @s run tp @s ~ ~ ~ ~14 ~
  9. /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]}}
  10. /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]}}
  11. /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]}}
  12. /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]}}
  13. /execute as @e[tag=c9_actor] at @s facing ~ ~ ~ run tp @s ^-0.45 ^ ^ ~ ~
  14. /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 8

How it works

Frames from the test run

Mechanical Obstacle Gauntlet - frame 1Mechanical Obstacle Gauntlet - frame 2Mechanical Obstacle Gauntlet - frame 3

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.

Build it in your world

  1. Stand at the centre of a flat open area at least 25x25 blocks wide.
  2. Run each command in the Setup list once in chat to build the arena floor, central hub, sweeper arms, punching walls, and challenger dummy.
  3. Place 14 Repeating Command Blocks set to Always Active near the stage.
  4. Paste one Loop command into each repeating command block. Because the commands use coordinates relative to the centre, wrap them with execute positioned X Y Z run ... pointing to your arena centre.
  5. Watch the sweeper arms, balance beams, and spring-loaded walls animate in sync.
  6. When finished, run the Remove commands to clear all display entities and reset the floor.

Use it with real players

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.

Remove it again 4 commands

  1. /kill @e[tag=c9_gauntlet]
  2. /scoreboard objectives remove c9_tick
  3. /fill ~-10 ~-1 ~-10 ~10 ~ ~10 minecraft:air
  4. /fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 minecraft:grass_block

FAQ

Why do the block displays rotate around their centre instead of one corner?

Block 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.

Can I change the speed of the sweeper arms or punching walls?

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.

Commands used

/data/execute/fill/particle/scoreboard/summon/tag/tp

Similar creations

Join 9Minecraft News & Guides