Build two glowing dimensional portals in vanilla Minecraft that teleport projectiles and mobs between them in a seamless infinite loop using command blocks.
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.
/scoreboard objectives add c9_t dummy/fill ~-10 ~-1 ~-3 ~10 ~-1 ~3 crying_obsidian/fill ~-9 ~-1 ~-2 ~9 ~-1 ~2 black_concrete/fill ~-9 ~-1 ~ ~9 ~-1 ~ cyan_stained_glass/setblock ~-8 ~-1 ~ sea_lantern/setblock ~8 ~-1 ~ shroomlight/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]}}/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]}}/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}]}/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]}}/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 20.. run scoreboard players set #tick c9_t 0/execute as @e[tag=c9_ring1] at @s run tp @s ~ ~ ~ ~ ~6/execute as @e[tag=c9_ring2] at @s run tp @s ~ ~ ~ ~ ~-6/particle dust{color:[0.0,0.9,1.0],scale:1.8} ~-8 ~3.5 ~ 0.1 1.4 1.4 0 18 force/particle soul_fire_flame ~-8 ~3.5 ~ 0.15 1.3 1.3 0.01 5 force/particle dust{color:[1.0,0.5,0.0],scale:1.8} ~8 ~3.5 ~ 0.1 1.4 1.4 0 18 force/particle flame ~8 ~3.5 ~ 0.15 1.3 1.3 0.01 5 force/execute as @e[tag=c9_traveler] at @s run tp @s ~0.35 ~ ~ ~12 ~/execute as @e[tag=c9_traveler] at @s run particle end_rod ~ ~0.5 ~ 0.1 0.1 0.1 0.01 2 force/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]}/execute as @e[tag=c9_proj] at @s run particle witch ~ ~ ~ 0.05 0.05 0.05 0 2 force/execute positioned ~8 ~3.5 ~ as @e[tag=c9_traveler,distance=..1.8] at @s run tp @s ~-15.5 ~ ~/execute positioned ~8 ~3.5 ~ as @e[tag=c9_proj,distance=..1.8] at @s run kill @ssetup #7 Summons a glowing cyan stained glass <code>block_display</code> scaled thin on the X axis and centered on its own pivot so that tilting its pitch spins the diamond portal frame smoothly in place.loop #3 Rotates the western portal display by 6 degrees of pitch every tick, making the vertical glass plane spin like an unstable dimensional diamond.loop #9 Moves all entities tagged <code>c9_traveler</code> (the floating husk and the amethyst cluster) 0.35 blocks east per tick while spinning them horizontally.loop #11 Once every second (when the 20-tick scoreboard timer hits 1), launches a gravity-free glowing spectral arrow out of the cyan tear toward the orange tear.loop #13 Detects when any traveler reaches the center of the eastern orange tear at <code>~8 ~3.5 ~</code> and teleports it 15.5 blocks west so it emerges seamlessly from the cyan tear.loop #14 Deletes spectral arrows as soon as they enter the eastern orange tear, matching the moment a fresh arrow emerges from the western cyan tear so entity counts never grow.


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.
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.
/kill @e[tag=c9_ent]/scoreboard objectives remove c9_t/fill ~-10 ~-1 ~-3 ~10 ~-1 ~3 grass_blockIn 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.
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.
▶Mobius Strip Endless Portal LoopPortals & RiftsExpert20 cmds
▶Shattered Kaleidoscope Prism TunnelPortals & RiftsExpert23 cmds
▶Arcane Loom: Weaving Reality TapestryPortals & RiftsHard24 cmds
▶Astral Whale Pod Sky-BreachPortals & RiftsExpert22 cmds
▶Bioluminescent Jellyfish Astral MigrationPortals & RiftsHard20 cmds
▶Multiverse Rift: Dimensional Tear & Biome ShiftPortals & RiftsHard22 cmds