Self-Constructing Pathway Bridge

Summon a glowing builder orb that glides across gaps, automatically assembling a wooden plank bridge with stone brick borders, fences, and lanterns.

Java EditionMini-games & UtilitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A self-constructed stone and wood bridge lit by lanterns with a glowing builder orb. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard objectives add c9_step dummy
  3. /fill ~-9 ~ ~-3 ~-7 ~2 ~3 minecraft:stone_bricks
  4. /fill ~7 ~ ~-3 ~9 ~2 ~3 minecraft:stone_bricks
  5. /fill ~-8 ~3 ~-2 ~-8 ~3 ~2 minecraft:chiseled_stone_bricks
  6. /fill ~8 ~3 ~-2 ~8 ~3 ~2 minecraft:chiseled_stone_bricks
  7. /setblock ~-8 ~2 ~0 minecraft:oak_stairs[facing=east]
  8. /setblock ~8 ~2 ~0 minecraft:oak_stairs[facing=west]
  9. /summon minecraft:armor_stand ~-7 ~2 ~0 {Tags:["c9_root","c9_actor"],NoGravity:1b,Invisible:1b,Small:1b}
  10. /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]}}

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

  1. /scoreboard players add @e[tag=c9_actor] c9_timer 1
  2. /execute as @e[tag=c9_actor] run scoreboard players set @s c9_step 0
  3. /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
  4. /execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run tp @s ~1 ~ ~
  5. /execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run tp @e[tag=c9_orb,limit=1] ~ ~1.2 ~
  6. /execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run fill ~ ~ ~-1 ~ ~ ~1 minecraft:spruce_planks
  7. /execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run setblock ~ ~ ~-2 minecraft:stone_brick_stairs[facing=south,half=top]
  8. /execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run setblock ~ ~ ~2 minecraft:stone_brick_stairs[facing=north,half=top]
  9. /execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run setblock ~ ~1 ~-2 minecraft:spruce_fence
  10. /execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run setblock ~ ~1 ~2 minecraft:spruce_fence
  11. /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
  12. /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
  13. /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
  14. /execute as @e[tag=c9_actor,scores={c9_step=1}] at @s run scoreboard players set @s c9_timer 0

How it works

Frames from the test run

Self-Constructing Pathway Bridge - frame 1Self-Constructing Pathway Bridge - frame 2Self-Constructing Pathway Bridge - frame 3

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.

Build it in your world

  1. Enable cheats in your world and give yourself a command block with /give @s minecraft:command_block.
  2. Run each of the setup commands once in your chat or in impulse command blocks at the center of your clearing to build the two anchor towers and spawn the builder orb.
  3. Place 14 repeating command blocks (or 1 repeating command block leading into 13 chain command blocks) near the build area.
  4. Set all 14 blocks to Always Active and paste the loop commands into them in exact order.
  5. Watch the glowing sea lantern orb glide from the left tower to the right tower, constructing the spruce and stone bridge slice by slice.

Use it with real players

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.

Remove it again 4 commands

  1. /kill @e[tag=c9_root]
  2. /fill ~-9 ~ ~-3 ~9 ~5 ~3 minecraft:air
  3. /scoreboard objectives remove c9_timer
  4. /scoreboard objectives remove c9_step

FAQ

How do I make the bridge longer?

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

Can I change the bridge materials?

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.

Commands used

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

Similar creations

Join 9Minecraft News & Guides