Phantom Express Bullet Train

Summon the Phantom Express, an automated maglev bullet train built from glowing display blocks that glides across a soul-lit railbed with electric sparks.

Java EditionHolograms & Display EntitiesHard24 commandsTested on a real 26.2 & 26.3 server
A glowing white maglev train glides across a lit track between portals, trailing blue soul flames. Download the GIF Video & GIF © www.9minecraft.net

VehiclesTechnologyMysticWhiteCyanPurpleDecorationServer LobbyMap MakingBlock displaysArmor standsSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)21+ commands

The Phantom Express is a spectral maglev bullet train constructed from glowing block display entities. It emerges from a crying obsidian portal, hovers smoothly down a deepslate and sea lantern guideway, and vanishes into the opposite portal before looping back.

As the multi-car train glides down the track at night, its cyan-tinted hull, beacon headlight, and sea lantern trim cast bright soul flames and electric sparks along the railbed.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-16 ~ ~-2 ~16 ~ ~2 minecraft:polished_deepslate
  3. /fill ~-16 ~ ~-1 ~16 ~ ~1 minecraft:deepslate_tile_slab[type=bottom]
  4. /fill ~-16 ~ ~ ~16 ~ ~ minecraft:sea_lantern
  5. /fill ~-16 ~1 ~-2 ~16 ~1 ~-2 minecraft:heavy_core
  6. /fill ~-16 ~1 ~2 ~16 ~1 ~2 minecraft:heavy_core
  7. /fill ~-16 ~1 ~-1 ~-15 ~5 ~1 minecraft:crying_obsidian
  8. /fill ~15 ~1 ~-1 ~16 ~5 ~1 minecraft:crying_obsidian
  9. /summon minecraft:marker ~-12 ~1.4 ~ {Tags:["c9_train","c9_root"]}
  10. /execute as @e[tag=c9_root] at @s run summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_train","c9_actor"],NoGravity:1b,Invisible:0b,Small:1b,equipment:{chest:{id:"minecraft:diamond_chestplate",count:1},head:{id:"minecraft:sea_lantern",count:1}}}

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

  1. /execute as @e[tag=c9_root] unless entity @e[tag=c9_part] at @s run summon minecraft:block_display ~ ~ ~ {Tags:["c9_train","c9_part"],Glowing:1b,glow_color_override:5636095,teleport_duration:1,block_state:{Name:"minecraft:quartz_block"},transformation:{translation:[-6.0f,0.0f,-1.1f],scale:[10.0f,1.8f,2.2f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  2. /execute as @e[tag=c9_root] if score @s c9_timer matches 1 at @s run summon minecraft:block_display ~ ~ ~ {Tags:["c9_train","c9_part"],Glowing:1b,glow_color_override:5636095,teleport_duration:1,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{translation:[-5.5f,0.7f,-1.2f],scale:[9.5f,0.8f,2.4f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  3. /execute as @e[tag=c9_root] if score @s c9_timer matches 1 at @s run summon minecraft:block_display ~ ~ ~ {Tags:["c9_train","c9_part"],Glowing:1b,glow_color_override:43690,teleport_duration:1,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-6.2f,0.3f,-0.9f],scale:[12.2f,0.3f,1.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  4. /execute as @e[tag=c9_root] if score @s c9_timer matches 1 at @s run summon minecraft:block_display ~ ~ ~ {Tags:["c9_train","c9_part"],Glowing:1b,glow_color_override:5636095,teleport_duration:1,block_state:{Name:"minecraft:smooth_quartz"},transformation:{translation:[4.0f,0.0f,-0.95f],scale:[2.2f,1.3f,1.9f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  5. /execute as @e[tag=c9_root] if score @s c9_timer matches 1 at @s run summon minecraft:block_display ~ ~ ~ {Tags:["c9_train","c9_part"],Glowing:1b,glow_color_override:16777215,teleport_duration:1,block_state:{Name:"minecraft:beacon"},transformation:{translation:[5.5f,0.2f,-0.6f],scale:[1.2f,0.8f,1.2f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  6. /execute as @e[tag=c9_root] if score @s c9_timer matches 1 at @s run summon minecraft:block_display ~ ~ ~ {Tags:["c9_train","c9_part"],teleport_duration:1,block_state:{Name:"minecraft:polished_blackstone"},transformation:{translation:[-1.2f,-0.1f,-1.25f],scale:[0.6f,2.0f,2.5f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  7. /scoreboard players add @e[tag=c9_root] c9_timer 1
  8. /execute as @e[tag=c9_root,scores={c9_timer=75..}] run scoreboard players set @s c9_timer 2
  9. /execute as @e[tag=c9_root,scores={c9_timer=2}] run tp @s ~-11 ~1.4 ~
  10. /execute as @e[tag=c9_root,scores={c9_timer=2}] at @s run particle minecraft:reverse_portal ~ ~1 ~ 0.6 1.2 0.6 0.1 40 force
  11. /execute as @e[tag=c9_root,scores={c9_timer=3..74}] at @s run tp @s ~0.32 ~ ~
  12. /execute as @e[tag=c9_root] at @s run tp @e[tag=c9_part] ~ ~ ~
  13. /execute as @e[tag=c9_root] at @s run tp @e[tag=c9_actor] ~2.5 ~0.4 ~ -90 0
  14. /execute as @e[tag=c9_root] at @s run particle minecraft:soul_fire_flame ~-6.2 ~0.5 ~ 0.1 0.3 0.6 0.08 14 force

How it works

Frames from the test run

Phantom Express Bullet Train - frame 1Phantom Express Bullet Train - frame 2Phantom Express Bullet Train - frame 3

Recorded on our own test server: 54 frames at about 8.9 fps. Our image check saw: A glowing white and cyan-outlined bullet train travels along a sea lantern and deepslate track between two crying obsidian portals, leaving a trail of soul fire flame particles.

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 an open flat area at least 35 blocks long.
  2. Run each of the 10 setup commands in order to build the deepslate maglev track, portal arches, and train controller.
  3. Place 14 repeating command blocks (or 1 repeating followed by 13 chain command blocks) set to Always Active.
  4. Paste the 14 loop commands into the command blocks in order.
  5. Set the time to night so the glowing cyan hull, sea lanterns, and soul fire flames stand out clearly.

Use it with real players

To ride the Phantom Express yourself instead of using the conductor armor stand, replace @e[tag=c9_actor] in loop command 13 with @a[distance=..8] so nearby players are carried inside the front cabin as it travels down the rail.

Remove it again 3 commands

  1. /kill @e[tag=c9_train]
  2. /scoreboard objectives remove c9_timer
  3. /fill ~-16 ~ ~-2 ~16 ~5 ~2 minecraft:air

FAQ

Why does the train move so smoothly instead of snapping each tick?

Every block display entity uses teleport_duration:1, which tells the Minecraft client to smoothly interpolate movement between each 20Hz server tick.

Can I change the speed or track length of the bullet train?

Yes. Increase the ~0.32 X offset in loop command 11 to make the train move faster, or raise the c9_timer=75.. limit in loop command 8 to let it travel farther before looping.

Commands used

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

Similar creations

Join 9Minecraft News & Guides