Summon a glowing builder orb that glides across gaps, automatically assembling a wooden plank bridge with stone brick borders, fences, and lanterns.
Doors & ElevatorsMedievalMysticYellowOrangeGoldAdventure MapBuilding ToolMap MakingBlock displaysArmor standsSummoned mobsBlock building (fill/setblock/clone)21+ commands
Crossing wide ravines or castle moats is much easier when the bridge builds itself in front of you. This command creation summons a magical builder orb that glides between two stone towers, assembling a detailed wooden bridge with stone brick borders, fences, and glowing lanterns step by step.
As each section snaps into place, golden sparkles and construction sounds play around the floating sea lantern core, creating an automated pathway across any gap in seconds.
/scoreboard objectives add c9_timer dummy/scoreboard objectives add c9_step dummy/fill ~-9 ~ ~-3 ~-7 ~2 ~3 minecraft:stone_bricks/fill ~7 ~ ~-3 ~9 ~2 ~3 minecraft:stone_bricks/fill ~-8 ~3 ~-2 ~-8 ~3 ~2 minecraft:chiseled_stone_bricks/fill ~8 ~3 ~-2 ~8 ~3 ~2 minecraft:chiseled_stone_bricks/setblock ~-8 ~2 ~0 minecraft:oak_stairs[facing=east]/setblock ~8 ~2 ~0 minecraft:oak_stairs[facing=west]/summon minecraft:armor_stand ~-7 ~2 ~0 {Tags:["c9_root","c9_actor"],NoGravity:1b,Invisible:1b,Small:1b}/summon minecraft:block_display ~-7 ~3.2 ~0 {Tags:["c9_root","c9_orb"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.6f,0.6f,0.6f],translation:[-0.3f,-0.3f,-0.3f]}}/scoreboard players add @e[tag=c9_actor] c9_timer 1/execute as @e[tag=c9_actor] run scoreboard players set @s c9_step 0/execute as @e[tag=c9_actor,scores={c9_timer=8..}] at @s if block ~1 ~ ~ minecraft:air run scoreboard players set @s c9_step 1/execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run tp @s ~1 ~ ~/execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run tp @e[tag=c9_orb,limit=1] ~ ~1.2 ~/execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run fill ~ ~ ~-1 ~ ~ ~1 minecraft:spruce_planks/execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run setblock ~ ~ ~-2 minecraft:stone_brick_stairs[facing=south,half=top]/execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run setblock ~ ~ ~2 minecraft:stone_brick_stairs[facing=north,half=top]/execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run setblock ~ ~1 ~-2 minecraft:spruce_fence/execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run setblock ~ ~1 ~2 minecraft:spruce_fence/execute as @e[tag=c9_actor,scores={c9_step=1}] at @s if block ~-1 ~2 ~-2 minecraft:air run setblock ~ ~2 ~-2 minecraft:lantern/execute as @e[tag=c9_actor,scores={c9_step=1}] at @s if block ~-1 ~2 ~2 minecraft:air run setblock ~ ~2 ~2 minecraft:lantern/execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run particle minecraft:dust{color:[1.0,0.75,0.2],scale:1.5} ~ ~0.8 ~ 0.6 0.4 1.5 0 30/execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run scoreboard players set @s c9_timer 0setup #9 Summons an invisible <code>c9_actor</code> armor stand at the edge of the western stone tower to guide the bridge construction across the gap.loop #3 Every 8 ticks, checks if the block ahead is <code>minecraft:air</code>. If it is, sets <code>c9_step</code> to 1 so the builder advances by one slice; once it reaches the opposite stone tower, it stops automatically.loop #6 Places a 3-block wide walkway of <code>minecraft:spruce_planks</code> beneath the actor, while the following commands add upside-down stone brick stair trims and spruce fences along both sides.loop #11 Checks if the previous fence post does not have a lantern on top before placing a <code>minecraft:lantern</code>, neatly spacing the lights along every other post.


Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A completed bridge made of stone bricks, wooden fences, and lanterns connects two stone pillars at night, with a glowing yellow-outlined builder orb at the right end.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let a player build a bridge behind them as they walk instead of using the automated orb, remove the tp commands in loop commands 4 and 5 and replace @e[tag=c9_actor,scores={c9_step=1}] with @a[tag=bridge_walker] executing at ~ ~-1 ~ while holding a specific item.
/kill @e[tag=c9_root]/fill ~-9 ~ ~-3 ~9 ~5 ~3 minecraft:air/scoreboard objectives remove c9_timer/scoreboard objectives remove c9_stepSimply move the eastern tower in setup commands 4, 6, and 8 further along the +X axis. The builder orb keeps advancing until it hits a non-air block.
Yes, replace minecraft:spruce_planks, minecraft:stone_brick_stairs, and minecraft:spruce_fence in the loop commands with any wood or stone variants you prefer.
▶Automated Castle PortcullisDoors & ElevatorsMedium24 cmds
▶Crystal Prism Beam Redirection PuzzleDoors & ElevatorsHard24 cmds
▶Parting Waterfall GateDoors & ElevatorsMedium24 cmds
▶Seamless Levitating PlatformDoors & ElevatorsMedium16 cmds
▶Sundial Shadow-Sweep Fast-Forward TimerTimers & CountdownsMedium24 cmds
▶Tessellating Escher Staircase Parkour ArenaParkourExpert24 cmds