Dual Wormhole Relay

Build two swirling obsidian wormholes in vanilla Minecraft that continuously launch and catch glowing plasma orbs in an infinite cosmic loop.

Java EditionParticle ArtMedium19 commandsTested on a real 26.2 & 26.3 server
Two glowing crying obsidian portals exchange cyan plasma projectiles and particle beams across a grassy area at night. Download the GIF Video & GIF © www.9minecraft.net

Trails & PathsSpaceTechnologyMysticPurpleCyanBlueDecorationServer LobbyMap MakingParticlesBlock displaysItem displaysGlowing outlinesRotation math13-20 commands

The Dual Wormhole Relay opens two unstable dimensional tears at opposite sides of the arena. Rotating rings of crying obsidian and dense purple dust spin around each vortex while a continuous crossfire of glowing plasma orbs arcs through the air from one gate to the other.

Everything runs automatically using a single scoreboard clock, rotating block displays, and tagged projectiles that trigger impact bursts the moment they get swallowed by the opposite portal.

1. Setup - type these once 4 commands

  1. /scoreboard objectives add c9_worm dummy
  2. /scoreboard players set #clock c9_worm 0
  3. /summon block_display ~-10 ~4 ~ {Tags:["c9_worm","c9_w1"],Glowing:1b,glow_color_override:10494192,block_state:{Name:"minecraft:crying_obsidian"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.8f,1.8f,1.8f],translation:[-0.9f,-0.9f,-0.9f]}}
  4. /summon block_display ~10 ~4 ~ {Tags:["c9_worm","c9_w2"],Glowing:1b,glow_color_override:43775,block_state:{Name:"minecraft:crying_obsidian"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.8f,1.8f,1.8f],translation:[-0.9f,-0.9f,-0.9f]}}

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

  1. /scoreboard players add #clock c9_worm 1
  2. /execute if score #clock c9_worm matches 12.. run scoreboard players set #clock c9_worm 0
  3. /execute as @e[tag=c9_worm] at @s run tp @s ~ ~ ~ ~12 ~8
  4. /execute at @e[tag=c9_w1] run particle dust_color_transition{from_color:[0.6,0.0,1.0],to_color:[0.1,0.0,0.2],scale:2.0} ~ ~ ~ 0.2 1.6 1.6 0 10 force
  5. /execute at @e[tag=c9_w2] run particle dust_color_transition{from_color:[0.0,0.8,1.0],to_color:[0.2,0.0,0.5],scale:2.0} ~ ~ ~ 0.2 1.6 1.6 0 10 force
  6. /execute at @e[tag=c9_worm] run particle reverse_portal ~ ~ ~ 0.4 1.2 1.2 0.15 8 force
  7. /execute if score #clock c9_worm matches 1 run summon item_display ~-9.5 ~4 ~1.2 {Tags:["c9_worm","c9_orb1"],Glowing:1b,glow_color_override:16711935,item:{id:"minecraft:ender_eye",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.1f,1.1f,1.1f],translation:[0f,0f,0f]}}
  8. /execute if score #clock c9_worm matches 7 run summon item_display ~9.5 ~4 ~-1.2 {Tags:["c9_worm","c9_orb2"],Glowing:1b,glow_color_override:65535,item:{id:"minecraft:heart_of_the_sea",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.1f,1.1f,1.1f],translation:[0f,0f,0f]}}
  9. /execute as @e[tag=c9_orb1] at @s run tp @s ~0.95 ~ ~ ~20 ~
  10. /execute as @e[tag=c9_orb2] at @s run tp @s ~-0.95 ~ ~ ~-20 ~
  11. /execute at @e[tag=c9_orb1] run particle witch ~ ~ ~ 0.1 0.1 0.1 0 3 force
  12. /execute at @e[tag=c9_orb2] run particle soul_fire_flame ~ ~ ~ 0.1 0.1 0.1 0 3 force
  13. /execute at @e[tag=c9_w2] as @e[tag=c9_orb1,distance=..2.2] at @s run particle flash{color:[1.0,0.3,1.0,1.0]} ~ ~ ~ 0 0 0 0 1 force
  14. /execute at @e[tag=c9_worm] run kill @e[tag=c9_orb1,distance=..2.0]
  15. /execute at @e[tag=c9_w1] run kill @e[tag=c9_orb2,distance=..2.0]

How it works

Frames from the test run

Dual Wormhole Relay - frame 1Dual Wormhole Relay - frame 2Dual Wormhole Relay - frame 3

Recorded on our own test server: 49 frames at about 9.8 fps. Our image check saw: Two glowing crying obsidian cubes surrounded by purple and blue particle effects float above the ground, connected by a stream of cyan particles and glowing cyan disc projectiles traveling between them.

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 and run the 4 setup commands in chat to create the scoreboard clock and the two glowing obsidian vortex cores.
  2. Place a line of 15 connected Repeating Command Blocks (or 1 Repeating followed by 14 Chain Command Blocks) set to Always Active.
  3. Paste one loop command into each command block in order from 1 to 15.
  4. Make sure the command blocks execute relative to the center point between the two portals, or replace the relative coordinates in the two summon loop commands with the exact coordinates of your portals.
  5. Switch the time to night for the best contrast on the glowing purple and cyan particle streams.

Use it with real players

To turn the Dual Wormhole Relay into a player teleporter, add one repeating command block running /execute at @e[tag=c9_w1] run tp @a[distance=..1.8] ~17.5 ~ ~ and another running /execute at @e[tag=c9_w2] run tp @a[distance=..1.8] ~-17.5 ~ ~ so stepping into either vortex launches you safely out the opposite side.

Remove it again 2 commands

  1. /kill @e[tag=c9_worm]
  2. /scoreboard objectives remove c9_worm

FAQ

Will the summoned projectiles lag my world over time?

No. Only two orbs are spawned every 12 ticks, and the final two loop commands immediately delete each orb the moment it reaches the opposite wormhole, keeping total entities under 10 at all times.

How do I move the wormholes further apart?

Change the X offsets (<code>~-10</code> and <code>~10</code>) in the two setup summon commands and the two loop summon commands to a larger number like <code>~-16</code> and <code>~16</code>.

Commands used

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

Similar creations

Join 9Minecraft News & Guides