Autonomous Bridge Builder

Watch a complete bridge construct itself block-by-block across a lava gap in real-time using a glowing hologram scanner and smooth particle waves.

Java EditionMini-games & UtilitiesMedium23 commandsTested on a real 26.2 & 26.3 server
A glowing cyan scanner builds a wooden bridge with stone walls across a pool of lava. Download the GIF Video & GIF © www.9minecraft.net

Spawners & GeneratorsTechnologyFireCyanOrangeWhiteBuilding ToolAdventure MapMap MakingBlock displaysArmor standsSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)21+ commands

Need to cross a dangerous ravine without crouching over the edge? The Autonomous Bridge Builder deploys a hovering cyan scanner that glides across an open lava gap, materializing a sturdy stone brick and oak bridge behind it slice by slice.

As each section locks into place with a wave of magical sparks and end rod trails, the builder automatically places glowing lanterns at regular intervals and resets itself to demonstrate the seamless construction loop again.

1. Setup - type these once 9 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /fill ~-5 ~-3 ~-8 ~5 ~-1 ~8 minecraft:stone_bricks
  3. /fill ~-4 ~-2 ~-7 ~4 ~-1 ~7 minecraft:air
  4. /fill ~-4 ~-2 ~-7 ~4 ~-2 ~7 minecraft:lava
  5. /fill ~-9 ~-1 ~-3 ~-5 ~-1 ~3 minecraft:polished_andesite
  6. /fill ~5 ~-1 ~-3 ~9 ~-1 ~3 minecraft:polished_andesite
  7. /summon minecraft:armor_stand ~-8 ~ ~ {Tags:["c9_root","c9_actor"],NoGravity:1b,Invisible:1b,ArmorItems:[{},{},{},{id:"minecraft:Observer",count:1}]}
  8. /summon minecraft:block_display ~-5.1 ~-1.1 ~-2.6 {Tags:["c9_root","c9_beam"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,2.2f,5.2f],translation:[0f,0f,0f]},teleport_duration:4}
  9. /scoreboard players set #c9_t c9_tick 0

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

  1. /scoreboard players add #c9_t c9_tick 1
  2. /execute if score #c9_t c9_tick matches 1 run tp @e[tag=c9_beam] ~-5.1 ~-1.1 ~-2.6
  3. /execute if score #c9_t c9_tick matches 1..44 as @e[tag=c9_beam] at @s run tp @s ~0.227 ~ ~
  4. /execute if score #c9_t c9_tick matches 1..44 at @e[tag=c9_beam] run particle minecraft:dust{color:[0.1,0.9,1.0],scale:1.4} ~0.6 ~1.1 ~2.6 0.2 0.8 2.2 0 12
  5. /execute if score #c9_t c9_tick matches 1..44 at @e[tag=c9_beam] run particle minecraft:end_rod ~0.6 ~1.1 ~2.6 0.1 0.5 2.0 0.03 4
  6. /execute if score #c9_t c9_tick matches 1..44 at @e[tag=c9_beam] if block ~0.5 ~0.1 ~2.6 minecraft:air run fill ~0.5 ~0.1 ~0.6 ~0.5 ~0.1 ~4.6 minecraft:dark_oak_slab[type=top]
  7. /execute if score #c9_t c9_tick matches 1..44 at @e[tag=c9_beam] if block ~0.5 ~0.1 ~0.6 minecraft:air run setblock ~0.5 ~0.1 ~0.6 minecraft:stone_bricks
  8. /execute if score #c9_t c9_tick matches 1..44 at @e[tag=c9_beam] if block ~0.5 ~0.1 ~4.6 minecraft:air run setblock ~0.5 ~0.1 ~4.6 minecraft:stone_bricks
  9. /execute if score #c9_t c9_tick matches 1..44 at @e[tag=c9_beam] if block ~0.5 ~1.1 ~0.6 minecraft:air run fill ~0.5 ~1.1 ~0.6 ~0.5 ~1.1 ~4.6 minecraft:cobblestone_wall
  10. /execute if score #c9_t c9_tick matches 1..44 at @e[tag=c9_beam] if block ~0.5 ~1.1 ~1.6 minecraft:cobblestone_wall run fill ~0.5 ~1.1 ~1.6 ~0.5 ~1.1 ~3.6 minecraft:air
  11. /execute if score #c9_t c9_tick matches 4..44 at @e[tag=c9_beam] positioned ~0.5 ~ ~ if block ~ ~-2 ~0.6 minecraft:stone_bricks run fill ~ ~2.1 ~0.6 ~ ~2.1 ~4.6 minecraft:lantern replace minecraft:air
  12. /execute if score #c9_t c9_tick matches 4..44 at @e[tag=c9_beam] positioned ~0.5 ~ ~ if block ~ ~2.1 ~1.6 minecraft:lantern run fill ~ ~2.1 ~1.6 ~ ~2.1 ~3.6 minecraft:air
  13. /execute if score #c9_t c9_tick matches 95 run fill ~-4 ~-1 ~-2 ~4 ~2 ~2 minecraft:air
  14. /execute if score #c9_t c9_tick matches 100 run scoreboard players set #c9_t c9_tick 0

How it works

Frames from the test run

Autonomous Bridge Builder - frame 1Autonomous Bridge Builder - frame 2Autonomous Bridge Builder - frame 3

Recorded on our own test server: 50 frames at about 9.9 fps. Our image check saw: A glowing cyan glass scanner moves across a lava pool, generating a wood and cobblestone bridge behind it with white and blue particle effects.

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. Open a flat world in Creative mode and give yourself a command block with /give @s command_block.
  2. Run each command from the Setup list once in chat while standing at the center of your build area (or paste them into impulse command blocks).
  3. Place a line of 14 Repeating Command Blocks set to Always Active, or 1 Repeating block chained into 13 Chain Command Blocks (Always Active, Unconditional).
  4. Paste the Loop commands in order into those command blocks.
  5. Step back and watch the cyan holographic beam sweep across the lava trench and assemble the bridge block by block.

Use it with real players

To trigger the bridge builder from where your player is standing instead of a fixed stage, summon the c9_beam display entity at @p with /execute at @p run summon minecraft:block_display ~1 ~-1 ~-2.6 ... and remove the reset commands (loop commands 13 and 14) so the finished bridge stays permanently in your survival or adventure world.

Remove it again 4 commands

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

FAQ

Why does the scanner beam move so smoothly instead of snapping block to block?

The cyan glass block_display entity uses the teleport_duration:4 NBT tag, which tells the Minecraft client to smoothly interpolate every small teleport step over 4 ticks.

Can I make the bridge longer or wider?

Yes! Increase the tick limit from 44 to a larger number in the loop commands to build a longer bridge, or adjust the Z offsets in the fill commands and the scale of the block_display to make it wider.

Commands used

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

Similar creations

Join 9Minecraft News & Guides