High-Speed Maglev Express

Build an automated 33-block futuristic maglev monorail in vanilla Minecraft using glowing block display cars, magnetic particle trails, and station platforms.

Java EditionComplex Contraptions & CinematicsHard22 commandsTested on a real 26.2 & 26.3 server
A glowing three-car maglev train speeds along an illuminated monorail track at night. Download the GIF Video & GIF © www.9minecraft.net

Rides & RollercoastersTechnologyIndustrialCyanWhiteMap MakingServer LobbyDecorationBlock displaysArmor standsSmooth animation (interpolation)Riding & passengersBlock building (fill/setblock/clone)21+ commands

The High-Speed Maglev Express brings a sleek, futuristic rail system into vanilla Minecraft without mods or resource packs. This creation constructs a 33-block elevated monorail and station platform, complete with glowing energy conduits and an automated three-car cybernetic train constructed out of scaled block displays.

Controlled by a precision scoreboard loop, the train smoothly accelerates out of the station, glides along a magnetic sea lantern cushion while emitting cyan plasma trails and electric sparks, pauses at the central terminal, and reverses back down the line.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_mag dummy
  2. /scoreboard players set #t c9_mag 0
  3. /fill ~-16 ~ ~-1 ~16 ~ ~1 polished_deepslate
  4. /fill ~-16 ~1 ~ ~16 ~2 ~ polished_deepslate_wall
  5. /fill ~-16 ~3 ~-1 ~16 ~3 ~1 iron_block
  6. /fill ~-16 ~4 ~ ~16 ~4 ~ sea_lantern
  7. /fill ~-6 ~4 ~-4 ~6 ~4 ~-2 smooth_quartz_slab[type=top]
  8. /summon armor_stand ~-8 ~4.6 ~ {Invisible:1b,NoGravity:1b,Marker:1b,Tags:["c9_mag","c9_train"],Passengers:[{id:"minecraft:block_display",Tags:["c9_mag"],Glowing:1b,glow_color_override:65535,teleport_duration:1,block_state:{Name:"minecraft:quartz_block"},transformation:{translation:[-2.0f,0.0f,-0.9f],scale:[4.0f,1.6f,1.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_mag"],Glowing:1b,glow_color_override:65535,teleport_duration:1,block_state:{Name:"minecraft:quartz_block"},transformation:{translation:[-6.2f,0.0f,-0.9f],scale:[3.8f,1.6f,1.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_mag"],Glowing:1b,glow_color_override:65535,teleport_duration:1,block_state:{Name:"minecraft:quartz_block"},transformation:{translation:[2.4f,0.0f,-0.9f],scale:[3.8f,1.6f,1.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}]}
  9. /summon armor_stand ~-8 ~4.6 ~ {Invisible:1b,NoGravity:1b,Marker:1b,Tags:["c9_mag","c9_train"],Passengers:[{id:"minecraft:block_display",Tags:["c9_mag"],teleport_duration:1,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{translation:[-6.3f,0.7f,-0.95f],scale:[12.6f,0.6f,1.9f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_mag"],teleport_duration:1,block_state:{Name:"minecraft:netherite_block"},transformation:{translation:[-5.5f,-0.25f,-0.5f],scale:[11.0f,0.35f,1.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_mag"],Glowing:1b,glow_color_override:16776960,teleport_duration:1,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-6.4f,0.2f,-0.6f],scale:[12.8f,0.3f,1.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}]}
  10. /summon armor_stand ~ ~4.5 ~-3 {NoGravity:1b,Tags:["c9_mag","c9_actor"],CustomName:'{"text":"Commuter","color":"aqua"}',CustomNameVisible:1b,ArmorItems:[{id:"minecraft:iron_boots",count:1},{id:"minecraft:iron_leggings",count:1},{id:"minecraft:diamond_chestplate",count:1},{id:"minecraft:tinted_glass",count:1}]}

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

  1. /scoreboard players add #t c9_mag 1
  2. /execute if score #t c9_mag matches 160.. run scoreboard players set #t c9_mag 0
  3. /execute if score #t c9_mag matches 0 run tp @e[tag=c9_train] ~-8 ~4.6 ~
  4. /execute if score #t c9_mag matches 1..15 as @e[tag=c9_train] at @s run tp @s ~0.16 ~ ~
  5. /execute if score #t c9_mag matches 16..45 as @e[tag=c9_train] at @s run tp @s ~0.36 ~ ~
  6. /execute if score #t c9_mag matches 46..60 as @e[tag=c9_train] at @s run tp @s ~0.16 ~ ~
  7. /execute if score #t c9_mag matches 81..95 as @e[tag=c9_train] at @s run tp @s ~-0.16 ~ ~
  8. /execute if score #t c9_mag matches 96..125 as @e[tag=c9_train] at @s run tp @s ~-0.36 ~ ~
  9. /execute if score #t c9_mag matches 126..140 as @e[tag=c9_train] at @s run tp @s ~-0.16 ~ ~
  10. /execute at @e[tag=c9_train,limit=1] run particle dust{color:[0.0,0.95,1.0],scale:1.6} ~ ~-0.15 ~ 5.5 0.05 0.6 0 25 force
  11. /execute at @e[tag=c9_train,limit=1] run particle electric_spark ~ ~0.2 ~ 6.0 0.3 0.8 0.05 12 force
  12. /execute at @e[tag=c9_train,limit=1] run particle end_rod ~ ~1.8 ~ 5.0 0.1 0.4 0.01 4 force

How it works

Frames from the test run

High-Speed Maglev Express - frame 1High-Speed Maglev Express - frame 2High-Speed Maglev Express - frame 3

Recorded on our own test server: 59 frames at about 8.4 fps. Our image check saw: A three-car futuristic train with a cyan glowing outline moves along an elevated monorail track made of sea lanterns and iron blocks, emitting particles as it travels.

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 in the center of a flat 41x41 open area with plenty of room to the East and West.
  2. Run each of the 10 setup commands in order to construct the deepslate monorail, sea lantern track, station platform, and the two-part maglev train assembly.
  3. Place 12 repeating command blocks set to Always Active near the center of the build.
  4. Paste each of the 12 loop commands into the repeating command blocks.
  5. Watch the three-car maglev express accelerate along the glowing track, stop at the station platform, and reverse automatically.

Use it with real players

To allow real players to ride the Maglev Express instead of having the demo commuter stand on the platform, add an invisible saddled pig or boat passenger inside the middle car of setup[7], or run /execute at @e[tag=c9_train,limit=1] run tp @a[distance=..4] ~ ~0.5 ~ in an additional repeating command block so nearby passengers are carried along with the train.

Remove it again 3 commands

  1. /kill @e[tag=c9_mag]
  2. /scoreboard objectives remove c9_mag
  3. /fill ~-16 ~ ~-4 ~16 ~5 ~1 air

FAQ

Why is the train split across two summon commands in setup?

Splitting the 6 block displays across two synchronized marker armor stands keeps each command well under the 1000-character limit and prevents long packet overflows when running over RCON or inside command blocks.

How does the train move smoothly when teleported every tick?

Each block display passenger uses the NBT tag teleport_duration:1, which tells the Minecraft client to smoothly interpolate its visual position between tick teleports.

Commands used

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

Similar creations

Join 9Minecraft News & Guides