Linked Dimensional Tears

Build two glowing dimensional portals in vanilla Minecraft that teleport projectiles and mobs between them in a seamless infinite loop using command blocks.

Java EditionMagic & SpellsHard24 commandsTested on a real 26.2 & 26.3 server
Glowing cyan and orange portals exchange floating crystals, arrows, and a mob across an obsidian platform. Download the GIF Video & GIF © www.9minecraft.net

Portals & RiftsSpaceMysticCyanOrangePurpleMap MakingAdventure MapDecorationBlock displaysItem displaysSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands

Two shimmering rifts hover across from each other over a runic obsidian floor: a cyan Tear of Space on the west side and an orange Tear of Time on the east side. Glowing arcane rings spin around each portal while colorful dust, portal sparks, and energy tendrils swirl through the air.

Between the tears, a stream of spectral arrows, spinning crystals, and a levitating husk travel from the cyan rift into the orange rift. the moment anything crosses the orange portal plane, it flashes and emerges right back out of the cyan portal, creating a hypnotic, endless spatial loop.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-10 ~-1 ~-3 ~10 ~-1 ~3 crying_obsidian
  3. /fill ~-9 ~-1 ~-2 ~9 ~-1 ~2 black_concrete
  4. /fill ~-9 ~-1 ~ ~9 ~-1 ~ cyan_stained_glass
  5. /setblock ~-8 ~-1 ~ sea_lantern
  6. /setblock ~8 ~-1 ~ shroomlight
  7. /summon block_display ~-8 ~3.5 ~ {Tags:["c9_ent","c9_ring1"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.3f,3.4f,3.4f],translation:[-0.15f,-1.7f,-1.7f]}}
  8. /summon block_display ~8 ~3.5 ~ {Tags:["c9_ent","c9_ring2"],Glowing:1b,glow_color_override:16753920,block_state:{Name:"minecraft:orange_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.3f,3.4f,3.4f],translation:[-0.15f,-1.7f,-1.7f]}}
  9. /summon husk ~-7 ~2.6 ~-1 {Tags:["c9_ent","c9_traveler"],NoAI:1b,NoGravity:1b,Silent:1b,Invulnerable:1b,Glowing:1b,IsBaby:0b,Rotation:[-90f,0f],armor_items:[{},{},{},{id:"minecraft:golden_helmet",count:1}]}
  10. /summon item_display ~ ~4.2 ~1 {Tags:["c9_ent","c9_traveler"],Glowing:1b,glow_color_override:16711935,item:{id:"minecraft:amethyst_cluster",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,1.6f,1.6f],translation:[0f,0f,0f]}}

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

  1. /scoreboard players add #tick c9_t 1
  2. /execute if score #tick c9_t matches 20.. run scoreboard players set #tick c9_t 0
  3. /execute as @e[tag=c9_ring1] at @s run tp @s ~ ~ ~ ~ ~6
  4. /execute as @e[tag=c9_ring2] at @s run tp @s ~ ~ ~ ~ ~-6
  5. /particle dust{color:[0.0,0.9,1.0],scale:1.8} ~-8 ~3.5 ~ 0.1 1.4 1.4 0 18 force
  6. /particle soul_fire_flame ~-8 ~3.5 ~ 0.15 1.3 1.3 0.01 5 force
  7. /particle dust{color:[1.0,0.5,0.0],scale:1.8} ~8 ~3.5 ~ 0.1 1.4 1.4 0 18 force
  8. /particle flame ~8 ~3.5 ~ 0.15 1.3 1.3 0.01 5 force
  9. /execute as @e[tag=c9_traveler] at @s run tp @s ~0.35 ~ ~ ~12 ~
  10. /execute as @e[tag=c9_traveler] at @s run particle end_rod ~ ~0.5 ~ 0.1 0.1 0.1 0.01 2 force
  11. /execute if score #tick c9_t matches 1 run summon spectral_arrow ~-7.5 ~3.5 ~ {Tags:["c9_ent","c9_proj"],NoGravity:1b,Glowing:1b,Motion:[0.55d,0.0d,0.0d]}
  12. /execute as @e[tag=c9_proj] at @s run particle witch ~ ~ ~ 0.05 0.05 0.05 0 2 force
  13. /execute positioned ~8 ~3.5 ~ as @e[tag=c9_traveler,distance=..1.8] at @s run tp @s ~-15.5 ~ ~
  14. /execute positioned ~8 ~3.5 ~ as @e[tag=c9_proj,distance=..1.8] at @s run kill @s

How it works

Frames from the test run

Linked Dimensional Tears - frame 1Linked Dimensional Tears - frame 2Linked Dimensional Tears - frame 3

Recorded on our own test server: 50 frames at about 9.8 fps. Our image check saw: A glowing cyan portal on the left and an orange portal on the right stand over an obsidian platform, with a stream of particles, spectral arrows, amethyst crystals, and a glowing mob moving 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 a flat open area with at least 12 blocks of space to your east and west.
  2. Run each command from the Setup list once in chat to build the obsidian runway, summon the two portal frames, and place the floating travelers.
  3. Place 14 Repeating Command Blocks (or 1 Repeating Command Block connected to 13 Chain Command Blocks) set to Always Active beneath the center of the stage.
  4. Paste the Loop commands into the command blocks in order, using execute positioned at the stage center if your command blocks are offset.
  5. Watch the spectral arrows, crystal, and floating husk get pulled into the orange portal and immediately exit the cyan portal in a continuous loop.

Use it with real players

To allow real players to step through the linked dimensional tears, add a command block running /execute positioned ~8 ~3.5 ~ as @a[distance=..1.6] at @s run tp @s ~-15.2 ~ ~ to teleport anyone entering the orange tear out of the cyan tear, and /execute positioned ~-8 ~3.5 ~ as @a[distance=..1.6] at @s run tp @s ~15.2 ~ ~ for the reverse direction.

Remove it again 3 commands

  1. /kill @e[tag=c9_ent]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-10 ~-1 ~-3 ~10 ~-1 ~3 grass_block

FAQ

Why do the portal frames spin around their center instead of swinging in a big circle?

In the setup commands, the block_display entities have a scale of [0.3, 3.4, 3.4] and a translation of [-0.15, -1.7, -1.7]. Offsetting the translation by minus half of the scale centers the block model directly on the entity's pivot point.

Will the spectral arrows pile up and lag the server over time?

No. Only one spectral arrow is summoned every 20 ticks (1 second), and the final loop command deletes each arrow the instant it reaches the orange portal 16 blocks away.

Commands used

/execute/fill/kill/particle/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides