Spinning Obstacle Course

A floating parkour arena rotates in mid-air using automated structure block placements, while a robotic runner leaps over the glowing laser arms.

Java EditionComplex Contraptions & CinematicsMedium24 commandsTested on a real 26.2 & 26.3 server
An obstacle course arena with emerald and magma beams surrounded by flame particles. Download the GIF Video & GIF © www.9minecraft.net

Moving StructuresFireTechnologyGreenOrangeWhiteMini-gameServer LobbyArmor standsSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands

The Spinning Obstacle Course turns a floating glass arena into an automated Wipeout-style challenge. An central beacon axle spins two contrasting beams—a fiery magma hazard bar and a raised emerald stepping bridge—by saving the build into a structure block and reloading it at 90-degree rotations on a clock.

On top of the solid structure rotation, smooth block displays and particle lasers sweep continuously around the floor while an automated parkour actor jumps in place to clear the incoming obstacles.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_spin dummy
  2. /fill ~-9 ~2 ~-9 ~9 ~2 ~9 minecraft:tinted_glass
  3. /fill ~-7 ~2 ~-7 ~7 ~2 ~7 minecraft:cyan_terracotta
  4. /fill ~-1 ~2 ~-1 ~1 ~5 ~1 minecraft:quartz_pillar
  5. /setblock ~ ~6 ~ minecraft:sea_lantern
  6. /fill ~2 ~3 ~ ~6 ~3 ~ minecraft:magma_block
  7. /fill ~-6 ~4 ~ ~-2 ~4 ~ minecraft:emerald_block
  8. /setblock ~ ~ ~ minecraft:structure_block[mode=save]{name:"minecraft:c9_course",posX:-7,posY:3,posZ:-7,sizeX:15,sizeY:3,sizeZ:15,ignoreEntities:1b}
  9. /setblock ~ ~1 ~ minecraft:redstone_block
  10. /summon minecraft:armor_stand ~ ~3 ~4 {Tags:["c9_actor","c9_cleanup"],NoGravity:1b,Glowing:1b,ShowArms:1b,ArmorItems:[{id:"minecraft:golden_boots",count:1},{id:"minecraft:golden_leggings",count:1},{id:"minecraft:golden_chestplate",count:1},{id:"minecraft:player_head",count:1}],Pose:{RightArm:[-45f,0f,15f],LeftArm:[45f,0f,-15f]}}

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

  1. /scoreboard players add #tick c9_spin 1
  2. /scoreboard players add #rot c9_spin 1
  3. /execute if score #rot c9_spin matches 80.. run scoreboard players set #rot c9_spin 0
  4. /execute if score #rot c9_spin matches 1 run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"minecraft:c9_course",posX:-7,posY:3,posZ:-7,rotation:"NONE",ignoreEntities:1b}
  5. /execute if score #rot c9_spin matches 21 run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"minecraft:c9_course",posX:7,posY:3,posZ:-7,rotation:"CLOCKWISE_90",ignoreEntities:1b}
  6. /execute if score #rot c9_spin matches 41 run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"minecraft:c9_course",posX:7,posY:3,posZ:7,rotation:"CLOCKWISE_180",ignoreEntities:1b}
  7. /execute if score #rot c9_spin matches 61 run setblock ~ ~ ~ minecraft:structure_block[mode=load]{name:"minecraft:c9_course",posX:-7,posY:3,posZ:7,rotation:"COUNTERCLOCKWISE_90",ignoreEntities:1b}
  8. /execute if score #rot c9_spin matches 1..61 run setblock ~ ~1 ~ minecraft:air
  9. /execute if score #rot c9_spin matches 1..61 run setblock ~ ~1 ~ minecraft:redstone_block
  10. /execute as @e[tag=c9_actor] at @s run tp @s ~ ~ ~ ~6 ~
  11. /execute if score #rot c9_spin matches 18..26 as @e[tag=c9_actor] run tp @s ~ ~4.6 ~4
  12. /execute if score #rot c9_spin matches 27..35 as @e[tag=c9_actor] run tp @s ~ ~3 ~4
  13. /execute at @e[tag=c9_actor] run particle minecraft:totem_of_undying ~ ~0.5 ~ 0.2 0.2 0.2 0.05 3
  14. /particle minecraft:flame ~ ~3.5 ~ 4 0.2 4 0.01 8 force

How it works

Frames from the test run

Spinning Obstacle Course - frame 1Spinning Obstacle Course - frame 2Spinning Obstacle Course - frame 3

Recorded on our own test server: 48 frames at about 9.6 fps. Our image check saw: A central white pillar with a beacon on top has an emerald beam and a magma beam extending from opposite sides across a dark glass arena covered in flame 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 middle of your flat area and run the 10 setup commands in order to build the arena, save the obstacle structure into memory, and spawn the demo jumper.
  2. Place a chain of 14 command blocks (1 Repeating Always Active followed by 13 Chain Always Active) underneath or to the side of the stage.
  3. If your command blocks are not at the exact centre, wrap each loop command with execute positioned X Y Z run ... using the coordinates where you stood during setup.
  4. Paste the 14 loop commands into the chain in order.
  5. Watch the structure block automatically rotate the magma and emerald arms every second while the golden runner leaps over the sweeper.

Use it with real players

To play on the course yourself instead of watching the armor stand, remove /summon minecraft:armor_stand from setup and replace the two actor teleport commands in the loop with /execute as @a[distance=..9] at @s if block ~ ~-0.5 ~ minecraft:magma_block run effect give @s minecraft:instant_damage 1 0 true so players must time their jumps over the rotating magma bar or climb onto the rotating emerald blocks.

Remove it again 3 commands

  1. /kill @e[tag=c9_cleanup]
  2. /fill ~-9 ~ ~-9 ~9 ~7 ~9 minecraft:air
  3. /scoreboard objectives remove c9_spin

FAQ

Why do the offset coordinates (posX and posZ) change for every 90-degree structure rotation?

Structure blocks rotate around their own origin corner rather than the centre of the structure. Changing posX and posZ between -7 and 7 shifts the origin corner to each of the four corners of the 15x15 area so the central pillar stays in the exact same block.

Does the saved structure disappear when I close the world?

Because the setup uses a structure block triggered by a redstone block in-world, Minecraft writes the c9_course.nbt file into your world's generated/minecraft/structures folder, so it stays saved across restarts.

Commands used

/execute/fill/particle/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides