Build a swinging Pendulum Axe Gauntlet Bridge in Minecraft using command blocks and display entities over a bubbling lava pit with alternating rhythm blades.
ParkourMedievalFireDarkOrangeBlackWhiteAdventure MapMini-gameMap MakingItem displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)21+ commands
The Pendulum Axe Gauntlet Bridge creates a classic dungeon obstacle course right in your world. A narrow stone path stretches across a sunken pit of bubbling lava, guarded by an overhead dark oak beam and five towering blades that swing back and forth in alternating rhythms.
Each pendulum uses an enlarged item display entity with smooth interpolation and quaternion rotations. As the glowing axes slice across the walkway, they release bursts of sweep attack arcs and sparks just above the stone bridge.
/scoreboard objectives add c9_axe dummy/fill ~-10 ~-1 ~-5 ~10 ~-1 ~5 minecraft:polished_blackstone_bricks/fill ~-9 ~-1 ~-4 ~9 ~-1 ~4 minecraft:lava/fill ~-10 ~-1 ~-1 ~10 ~-1 ~1 minecraft:chiseled_deepslate/fill ~-10 ~ ~-1 ~-10 ~8 ~1 minecraft:deepslate_tile_wall/fill ~10 ~ ~-1 ~10 ~8 ~1 minecraft:deepslate_tile_wall/fill ~-10 ~8 ~ ~10 ~8 ~ minecraft:stripped_dark_oak_log[axis=x]/summon minecraft:marker ~-6 ~8 ~ {Tags:["c9_axe","c9_piv","c9_odd"]}/summon minecraft:marker ~ ~8 ~ {Tags:["c9_axe","c9_piv","c9_odd"]}/summon minecraft:marker ~6 ~8 ~ {Tags:["c9_axe","c9_piv","c9_odd"]}/execute positioned ~-3 ~8 ~ unless entity @e[tag=c9_piv,distance=..1] run summon minecraft:marker ~ ~ ~ {Tags:["c9_axe","c9_piv","c9_even"]}/execute positioned ~3 ~8 ~ unless entity @e[tag=c9_piv,distance=..1] run summon minecraft:marker ~ ~ ~ {Tags:["c9_axe","c9_piv","c9_even"]}/execute as @e[tag=c9_piv,tag=!c9_init] at @s run summon minecraft:item_display ~ ~ ~ {Tags:["c9_axe","c9_vis"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},interpolation_duration:20,item:{id:"minecraft:iron_axe"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,-0.9239f,0.3827f],scale:[4.0f,6.5f,2.5f],translation:[0f,-3.6f,0f]}}/tag @e[tag=c9_piv,tag=!c9_init] add c9_init/scoreboard players add #t c9_axe 1/execute if score #t c9_axe matches 40.. run scoreboard players set #t c9_axe 0/execute if score #t c9_axe matches 1 as @e[tag=c9_odd] at @s run data merge entity @e[tag=c9_vis,limit=1,sort=nearest] {start_interpolation:0,transformation:{left_rotation:[0.5f,0f,0f,0.866f],right_rotation:[0f,0f,-0.9239f,0.3827f],scale:[4.0f,6.5f,2.5f],translation:[0f,-1.8f,-3.1f]}}/execute if score #t c9_axe matches 1 as @e[tag=c9_even] at @s run data merge entity @e[tag=c9_vis,limit=1,sort=nearest] {start_interpolation:0,transformation:{left_rotation:[-0.5f,0f,0f,0.866f],right_rotation:[0f,0f,-0.9239f,0.3827f],scale:[4.0f,6.5f,2.5f],translation:[0f,-1.8f,3.1f]}}/execute if score #t c9_axe matches 21 as @e[tag=c9_odd] at @s run data merge entity @e[tag=c9_vis,limit=1,sort=nearest] {start_interpolation:0,transformation:{left_rotation:[-0.5f,0f,0f,0.866f],right_rotation:[0f,0f,-0.9239f,0.3827f],scale:[4.0f,6.5f,2.5f],translation:[0f,-1.8f,3.1f]}}/execute if score #t c9_axe matches 21 as @e[tag=c9_even] at @s run data merge entity @e[tag=c9_vis,limit=1,sort=nearest] {start_interpolation:0,transformation:{left_rotation:[0.5f,0f,0f,0.866f],right_rotation:[0f,0f,-0.9239f,0.3827f],scale:[4.0f,6.5f,2.5f],translation:[0f,-1.8f,-3.1f]}}/execute if score #t c9_axe matches 9..12 at @e[tag=c9_piv] run particle minecraft:sweep_attack ~ ~-6.2 ~ 0.2 0.2 1.4 0 2 force/execute if score #t c9_axe matches 29..32 at @e[tag=c9_piv] run particle minecraft:sweep_attack ~ ~-6.2 ~ 0.2 0.2 1.4 0 2 force/execute if score #t c9_axe matches 9..12 at @e[tag=c9_piv] run particle minecraft:flame ~ ~-6.5 ~ 0.2 0.2 1.6 0.03 8 force/execute if score #t c9_axe matches 29..32 at @e[tag=c9_piv] run particle minecraft:crit ~ ~-6.5 ~ 0.2 0.2 1.6 0.2 10 forcesetup #7 Places the horizontal dark oak overhead beam along the X axis eight blocks above the bridge walkway, with open sightlines from the front and back.loop #3 Summons an enlarged iron axe <code>item_display</code> at each overhead pivot marker, rotating the diagonal item texture 135 degrees so the blade points straight down.loop #7 At tick 1, merges a 60-degree X-axis rotation and matching arc translation into the odd-numbered axes so they swing across the Z axis over 20 ticks.loop #8 Swings the even-numbered axes in the opposite direction at the same time, creating the alternating gauntlet pattern.loop #11 Triggers <code>sweep_attack</code> particles right at the bottom of the arc when the blades pass over the chiseled deepslate bridge.


Recorded on our own test server: 45 frames at about 9.0 fps. Our image check saw: Five large glowing axes swing back and forth beneath a wooden beam over a narrow stone bridge flanked by lava pits, though the axe sprites are oriented horizontally rather than vertically.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the swinging blades damage and knock back real players crossing the bridge, add one more repeating command block running: /execute if score #t c9_axe matches 9..12 at @e[tag=c9_piv] run damage @a[distance=..6.8,dy=-7] 8 minecraft:player_attack and duplicate it for ticks 29..32.
/kill @e[tag=c9_axe]/scoreboard objectives remove c9_axe/fill ~-10 ~ ~-5 ~10 ~9 ~5 minecraft:air/fill ~-10 ~-1 ~-5 ~10 ~-1 ~5 minecraft:grass_blockChange <code>interpolation_duration:20</code> in the third loop command to your desired tick duration, then adjust the cycle reset tick (40) and halfway trigger (21) to match.
Yes! Edit the third loop command and replace <code>minecraft:iron_axe</code> with <code>minecraft:netherite_axe</code> or <code>minecraft:golden_axe</code>, then remove and respawn the display entities.
▶Tessellating Escher Staircase Parkour ArenaParkourExpert24 cmds
▶Pendulum Grandfather Clock Deathmatch TimerTimers & CountdownsMedium24 cmds
▶Gothic Drawbridge & Portcullis WinchMoving StructuresMedium24 cmds
▶Newton's Cradle Momentum MinotaurBoss IntrosHard25 cmds
▶Automated Dungeon BuilderSelf-building StructuresHard26 cmds
▶Candle-Snuffer Wax-Drip Stalactite HalberdMelee WeaponsMedium19 cmds