Scrolling Highway Pursuit

Build an endless high-speed highway chase in Minecraft using block display vehicles, scrolling lane markings, streetlights, trees, and police siren particles.

Java EditionHolograms & Display EntitiesMedium22 commandsTested on a real 26.2 & 26.3 server
A blue police car chases a yellow sports car down a scrolling night highway in Minecraft. Download the GIF Video & GIF © www.9minecraft.net

VehiclesTechnologyBlueYellowBlackCinematicDecorationMini-gameParticlesBlock displaysSmooth animation (interpolation)Scoreboard timersExecute chainsRiding & passengersBlock building (fill/setblock/clone)Glowing outlines21+ commands

This command creation turns a flat patch of ground into an endless high-speed highway chase. Two custom vehicles built from block display entities weave across a three-lane asphalt road while glowing streetlights, roadside trees, and white lane markings scroll past to create the illusion of speed.

The police cruiser flashes red and blue siren particles as it pursues a fleeing yellow sports car that leaves trails of exhaust flames across the lanes.

1. Setup - type these once 8 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard objectives add c9_step dummy
  3. /fill ~-16 ~-1 ~-6 ~16 ~-1 ~6 gray_concrete
  4. /fill ~-16 ~-1 ~-6 ~16 ~-1 ~-6 yellow_concrete
  5. /fill ~-16 ~-1 ~6 ~16 ~-1 ~6 yellow_concrete
  6. /summon marker ~ ~ ~ {Tags:["c9_hw","c9_ctrl"]}
  7. /summon block_display ~4 ~ ~-2.5 {Tags:["c9_hw","c9_car1"],teleport_duration:2,Glowing:1b,glow_color_override:16766720,block_state:{Name:"minecraft:yellow_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.4f,0.2f,-0.9f],scale:[2.8f,0.8f,1.8f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_hw"],block_state:{Name:"minecraft:tinted_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.7f,0.8f,-0.8f],scale:[1.5f,0.6f,1.6f]}},{id:"minecraft:block_display",Tags:["c9_hw"],block_state:{Name:"minecraft:black_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.5f,0f,-1.0f],scale:[3.0f,0.4f,2.0f]}}]}
  8. /summon block_display ~-4 ~ ~2.5 {Tags:["c9_hw","c9_car2"],teleport_duration:2,Glowing:1b,glow_color_override:39423,block_state:{Name:"minecraft:blue_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.4f,0.2f,-0.9f],scale:[2.8f,0.8f,1.8f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_hw"],block_state:{Name:"minecraft:white_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.6f,0.8f,-0.8f],scale:[1.4f,0.6f,1.6f]}},{id:"minecraft:block_display",Tags:["c9_hw"],block_state:{Name:"minecraft:black_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.5f,0f,-1.0f],scale:[3.0f,0.4f,2.0f]}},{id:"minecraft:block_display",Tags:["c9_hw"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:redstone_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.2f,1.4f,-0.7f],scale:[0.4f,0.25f,0.7f]}},{id:"minecraft:block_display",Tags:["c9_hw"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.2f,1.4f,0.0f],scale:[0.4f,0.25f,0.7f]}}]}

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

  1. /scoreboard players add @e[tag=c9_ctrl] c9_timer 1
  2. /scoreboard players add @e[tag=c9_ctrl] c9_step 1
  3. /execute if score @e[tag=c9_ctrl,limit=1] c9_step matches 8.. run summon block_display ~15 ~ ~ {Tags:["c9_hw","c9_scroll"],teleport_duration:1,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.5f,0.02f,-2.2f],scale:[3.0f,0.08f,0.4f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_hw"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.5f,0.02f,1.8f],scale:[3.0f,0.08f,0.4f]}},{id:"minecraft:block_display",Tags:["c9_hw"],block_state:{Name:"minecraft:polished_deepslate_wall"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.2f,0f,-6.5f],scale:[0.4f,4.5f,0.4f]}},{id:"minecraft:block_display",Tags:["c9_hw"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:ochre_froglight"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.4f,4.3f,-6.5f],scale:[0.8f,0.4f,1.8f]}}]}
  4. /execute if score @e[tag=c9_ctrl,limit=1] c9_step matches 8.. run summon block_display ~15 ~ ~7.5 {Tags:["c9_hw","c9_scroll"],teleport_duration:1,block_state:{Name:"minecraft:spruce_log"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.35f,0f,-0.35f],scale:[0.7f,2.2f,0.7f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_hw"],block_state:{Name:"minecraft:azalea_leaves"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.3f,1.6f,-1.3f],scale:[2.6f,2.8f,2.6f]}}]}
  5. /execute if score @e[tag=c9_ctrl,limit=1] c9_step matches 8.. run scoreboard players set @e[tag=c9_ctrl] c9_step 0
  6. /execute as @e[tag=c9_scroll] at @s run tp @s ~-0.8 ~ ~
  7. /execute as @e[tag=c9_scroll] at @s unless entity @e[tag=c9_ctrl,distance=..17] run tp @s ~ -200 ~
  8. /execute as @e[tag=c9_scroll] at @s if entity @s[y=-250,dy=100] run kill @s
  9. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 1..40 as @e[tag=c9_car1] at @s run tp @s ~0.04 ~ ~0.12
  10. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 41..80 as @e[tag=c9_car1] at @s run tp @s ~-0.04 ~ ~-0.12
  11. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 1..40 as @e[tag=c9_car2] at @s run tp @s ~-0.03 ~ ~-0.12
  12. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 41..80 as @e[tag=c9_car2] at @s run tp @s ~0.03 ~ ~0.12
  13. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 80.. run scoreboard players set @e[tag=c9_ctrl] c9_timer 0
  14. /execute at @e[tag=c9_car1] run particle flame ~-1.6 ~0.3 ~ 0.1 0.05 0.3 0.05 4 force

How it works

Frames from the test run

Scrolling Highway Pursuit - frame 1Scrolling Highway Pursuit - frame 2Scrolling Highway Pursuit - frame 3

Recorded on our own test server: 57 frames at about 9.4 fps. Our image check saw: A blue police car and a yellow car with fire particles weave across a scrolling three-lane highway with streetlights and bushes.

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 center of a flat 41x41 area where you want the highway to appear.
  2. Run each of the 8 setup commands once in chat or from impulse command blocks to create the scoreboard objectives, asphalt road, and both vehicles.
  3. Place a line of 14 connected chain command blocks starting with one repeating command block set to Always Active.
  4. Paste the 14 loop commands in order into the repeating and chain command blocks.
  5. Set the time to night with /time set midnight to see the glowing streetlights, lane stripes, and car outlines clearly.

Use it with real players

To let a player steer the lead car instead of running an automated demo, remove loop commands 9 and 10 and run /execute at @p run tp @e[tag=c9_car1,limit=1] ~4 ~ ~ in a repeating command block so the car follows your Z position across the lanes as you walk left and right.

Remove it again 4 commands

  1. /kill @e[tag=c9_hw]
  2. /scoreboard objectives remove c9_timer
  3. /scoreboard objectives remove c9_step
  4. /fill ~-16 ~-1 ~-6 ~16 ~-1 ~6 grass_block

FAQ

Why are the car roofs, windows, and tree leaves attached as Passengers?

Attaching extra block_display entities as Passengers on a root display entity lets you move the entire multi-block vehicle or tree with a single /tp command while keeping all parts aligned.

How do I make the highway scroll faster?

Increase the negative X offset in loop command 6 from ~-0.8 to ~-1.2, and lower the c9_step spawn threshold in loop commands 3, 4, and 5 from 8.. to 5.. so the spacing stays even.

Commands used

/execute/fill/kill/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides