Hyperspace Starfield Tunnel

Build a glowing hyperspace starfield tunnel in vanilla Minecraft using rotating spawners, stretched display beams, and trailing end rod sparks.

Java EditionSky & WeatherMedium21 commandsTested on a real 26.2 & 26.3 server
Glowing cyan triangular portal firing colorful light beams and particles outward in a hyperspace tunnel effect. Download the GIF Video & GIF © www.9minecraft.net

Aurora & Sky LightsSpaceTechnologyCyanBluePinkCinematicDecorationAdventure MapParticlesBlock displaysArmor standsSmooth animation (interpolation)Scoreboard timersExecute chainsSummoned mobsGlowing outlinesRotation math21+ commands

Turn an open area of your world into a living warp jump tunnel. A glowing cyan triangular portal frame and floating end crystal hover at the center while two invisible spawner rings spin at different rates at the far end of the corridor, firing stretched beams of cyan, electric blue, and magenta light straight past you.

Because each beam uses a bright block_display with custom glow colors and smooth teleport interpolation, the streaks leave trails of twinkling end_rod and colorful dust particles across the night sky without any mods or resource packs.

1. Setup - type these once 7 commands

  1. /scoreboard objectives add c9_rng dummy
  2. /summon armor_stand ~ ~6.5 ~-12 {Tags:["c9_sp1"],NoGravity:1b,Invisible:1b,Marker:1b,Rotation:[0f,0f]}
  3. /summon armor_stand ~ ~6.5 ~-12 {Tags:["c9_sp2"],NoGravity:1b,Invisible:1b,Marker:1b,Rotation:[135f,0f]}
  4. /summon block_display ~ ~4.0 ~ {Tags:["c9_core"],brightness:{sky:15,block:15},Glowing:1b,glow_color_override:4259839,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-2.75f,-0.2f,-0.25f],scale:[5.5f,0.4f,0.5f]}}
  5. /summon block_display ~-1.35 ~6.6 ~ {Tags:["c9_core"],brightness:{sky:15,block:15},Glowing:1b,glow_color_override:4259839,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,-0.2368f,0.9715f],right_rotation:[0f,0f,0f,1f],translation:[-0.2f,-3.0f,-0.25f],scale:[0.4f,6.0f,0.5f]}}
  6. /summon block_display ~1.35 ~6.6 ~ {Tags:["c9_core"],brightness:{sky:15,block:15},Glowing:1b,glow_color_override:4259839,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0.2368f,0.9715f],right_rotation:[0f,0f,0f,1f],translation:[-0.2f,-3.0f,-0.25f],scale:[0.4f,6.0f,0.5f]}}
  7. /summon end_crystal ~ ~5.3 ~ {ShowBottom:0b,Invulnerable:1b,Tags:["c9_core"]}

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

  1. /scoreboard players add #m c9_rng 1
  2. /execute if score #m c9_rng matches 3.. run scoreboard players set #m c9_rng 0
  3. /execute as @e[tag=c9_sp1] at @s run tp @s ~ ~ ~ ~137.5 0
  4. /execute as @e[tag=c9_sp2] at @s run tp @s ~ ~ ~ ~-83.2 0
  5. /execute if score #m c9_rng matches 0 as @e[tag=c9_sp1] at @s positioned ^2.8 ^ ^ run summon block_display ~ ~ ~ {Tags:["c9_star"],teleport_duration:1,brightness:{sky:15,block:15},Glowing:1b,glow_color_override:4259839,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.14f,-0.14f,-2.7f],scale:[0.28f,0.28f,5.4f]}}
  6. /execute if score #m c9_rng matches 0 as @e[tag=c9_sp2] at @s positioned ^5.8 ^ ^ run summon block_display ~ ~ ~ {Tags:["c9_star"],teleport_duration:1,brightness:{sky:15,block:15},Glowing:1b,glow_color_override:16738047,block_state:{Name:"minecraft:magenta_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.13f,-0.13f,-2.4f],scale:[0.26f,0.26f,4.8f]}}
  7. /execute if score #m c9_rng matches 1 as @e[tag=c9_sp1] at @s positioned ^4.3 ^ ^ run summon block_display ~ ~ ~ {Tags:["c9_star"],teleport_duration:1,brightness:{sky:15,block:15},Glowing:1b,glow_color_override:3381759,block_state:{Name:"minecraft:light_blue_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.12f,-0.12f,-3.2f],scale:[0.24f,0.24f,6.4f]}}
  8. /execute if score #m c9_rng matches 1 as @e[tag=c9_sp2] at @s positioned ^7.2 ^ ^ run summon block_display ~ ~ ~ {Tags:["c9_star"],teleport_duration:1,brightness:{sky:15,block:15},Glowing:1b,glow_color_override:4259839,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.14f,-0.14f,-2.8f],scale:[0.28f,0.28f,5.6f]}}
  9. /execute if score #m c9_rng matches 2 as @e[tag=c9_sp1] at @s positioned ^3.5 ^ ^ run summon block_display ~ ~ ~ {Tags:["c9_star"],teleport_duration:1,brightness:{sky:15,block:15},Glowing:1b,glow_color_override:16738047,block_state:{Name:"minecraft:magenta_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.13f,-0.13f,-2.5f],scale:[0.26f,0.26f,5.0f]}}
  10. /execute if score #m c9_rng matches 2 as @e[tag=c9_sp2] at @s positioned ^5.0 ^ ^ run summon block_display ~ ~ ~ {Tags:["c9_star"],teleport_duration:1,brightness:{sky:15,block:15},Glowing:1b,glow_color_override:3381759,block_state:{Name:"minecraft:light_blue_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.12f,-0.12f,-3.1f],scale:[0.24f,0.24f,6.2f]}}
  11. /execute as @e[tag=c9_star] at @s run tp @s ~ ~ ~1.25
  12. /execute positioned ~ ~6.5 ~30 run kill @e[tag=c9_star,distance=..18]
  13. /execute as @e[tag=c9_star] at @s run particle end_rod ~ ~ ~ 0.08 0.08 1.5 0.02 1 force
  14. /particle dust{color:[0.1,0.9,1.0],scale:1.6} ~ ~6.0 ~ 3.5 3.5 8.0 0 8 force

How it works

Frames from the test run

Hyperspace Starfield Tunnel - frame 1Hyperspace Starfield Tunnel - frame 2Hyperspace Starfield Tunnel - frame 3

Recorded on our own test server: 46 frames at about 9.1 fps. Our image check saw: A glowing cyan triangular frame sits at the center of the screen while stretched magenta, cyan, and blue block displays shoot outward toward the viewer amidst white and blue 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. Choose an open flat area and stand at the center block where you want the hyperspace portal frame to hover.
  2. Run each of the 7 setup commands once in chat (or from impulse command blocks centered on that spot) to build the scoreboard, the two spawner rings, and the central triangle with its end crystal.
  3. Place 14 repeating command blocks (or 1 repeating command block feeding into 13 chain command blocks) set to Always Active.
  4. Paste the 14 loop commands into those blocks in order. If your command blocks are not directly at the stage center, wrap them or run them via execute positioned at the center coordinate.
  5. Set the time to night (/time set midnight) to see the cyan, electric blue, and magenta beams and end rod trails clearly.

Use it with real players

To make the hyperspace tunnel follow a player looking forward or trigger when holding a warp item, summon and move the c9_sp1 and c9_sp2 markers relative to @p[nbt={SelectedItem:{id:"minecraft:amethyst_shard"}}] instead of a fixed stage coordinate.

Remove it again 5 commands

  1. /kill @e[tag=c9_star]
  2. /kill @e[tag=c9_core]
  3. /kill @e[tag=c9_sp1]
  4. /kill @e[tag=c9_sp2]
  5. /scoreboard objectives remove c9_rng

FAQ

How do the beams form a circular tunnel without using complex trigonometry?

In Minecraft, when an entity has pitch 0, its local left/right axis (^X ^ ^) always lies horizontally, wait—Wait: to distribute around a vertical ring, or across a wide 3D tunnel, the spawners rotate and fire along multiple radii while the frame sits at the center.

Will this lag my server if left running?

No. Two beams spawn per tick and each travels 24 blocks at 1.25 blocks per tick before being killed by the cleanup command, keeping the total active beam count under 45 entities at all times.

Commands used

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

Similar creations

Join 9Minecraft News & Guides