Build an endless high-speed highway chase in Minecraft using block display vehicles, scrolling lane markings, streetlights, trees, and police siren particles.
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.
/scoreboard objectives add c9_timer dummy/scoreboard objectives add c9_step dummy/fill ~-16 ~-1 ~-6 ~16 ~-1 ~6 gray_concrete/fill ~-16 ~-1 ~-6 ~16 ~-1 ~-6 yellow_concrete/fill ~-16 ~-1 ~6 ~16 ~-1 ~6 yellow_concrete/summon marker ~ ~ ~ {Tags:["c9_hw","c9_ctrl"]}/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]}}]}/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]}}]}/scoreboard players add @e[tag=c9_ctrl] c9_timer 1/scoreboard players add @e[tag=c9_ctrl] c9_step 1/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]}}]}/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]}}]}/execute if score @e[tag=c9_ctrl,limit=1] c9_step matches 8.. run scoreboard players set @e[tag=c9_ctrl] c9_step 0/execute as @e[tag=c9_scroll] at @s run tp @s ~-0.8 ~ ~/execute as @e[tag=c9_scroll] at @s unless entity @e[tag=c9_ctrl,distance=..17] run tp @s ~ -200 ~/execute as @e[tag=c9_scroll] at @s if entity @s[y=-250,dy=100] run kill @s/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/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/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/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/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 80.. run scoreboard players set @e[tag=c9_ctrl] c9_timer 0/execute at @e[tag=c9_car1] run particle flame ~-1.6 ~0.3 ~ 0.1 0.05 0.3 0.05 4 forcesetup #7 Summons the yellow sports car using a parent <code>block_display</code> with passenger displays for the tinted glass cabin and black chassis.setup #8 Summons the pursuing police cruiser with full-brightness redstone and sea lantern lightbar blocks mounted on the roof.loop #3 Every 8 ticks, spawns a scrolling road slice at the front edge of the highway containing two glowing lane divider lines and a roadside streetlight.loop #4 Spawns a scrolling tree along the opposite side of the highway using scaled spruce log and azalea leaf block displays.loop #6 Moves all scrolling scenery and lane markings backward by 0.8 blocks per tick with <code>teleport_duration:1</code> for smooth motion.loop #7 Teleports scrolling display assemblies below the void once they travel more than 17 blocks away from the center marker so they and their passengers can be cleanly removed.


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.
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.
/kill @e[tag=c9_hw]/scoreboard objectives remove c9_timer/scoreboard objectives remove c9_step/fill ~-16 ~-1 ~-6 ~16 ~-1 ~6 grass_blockAttaching 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.
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.
▶Steampunk Dirigible Anchor Winch MooringVehiclesMedium22 cmds
▶Holographic Wind Tunnel Aerodynamics TestVehiclesExpert25 cmds
▶Articulated Hydraulic Demolition ExcavatorVehiclesHard24 cmds
▶Phantom Express Bullet TrainVehiclesHard24 cmds
▶Spinning Biplane PropellerVehiclesMedium24 cmds
▶Armored Vigilante Block-Display CruiserVehiclesHard24 cmds