Create a giant swirling dimensional gateway in Minecraft Java Edition using rotating markers and multi-colored gradient particle streams.
Rings & OrbitsMysticSpaceRainbowPurpleBlackDecorationServer LobbyAdventure MapBlock building (fill/setblock/clone)Rotation math21+ commands
The Chromatic Vortex Portal turns a simple obsidian pedestal into a living dimensional doorway. Four invisible markers spin in tight, interlocking circles at different speeds, painting a towering four-block-tall ring of color-shifting particles in the air above an Enchanting Table.
By combining dust_color_transition particles with caret relative coordinates (^ ^ ^), the portal creates a smooth rainbow spiral without needing dozens of entities or data packs. At the center, an active core of end rods and reverse portal sparks draws everything inward.
/fill ~-2 ~ ~-2 ~2 ~ ~2 crying_obsidian/fill ~-1 ~ ~-1 ~1 ~ ~1 obsidian/setblock ~-2 ~1 ~-2 soul_lantern/setblock ~2 ~1 ~-2 soul_lantern/setblock ~-2 ~1 ~2 soul_lantern/setblock ~2 ~1 ~2 soul_lantern/setblock ~ ~1 ~ enchanting_table/summon marker ~ ~4.5 ~ {Tags:["c9_vortex","c9_ring1"],Rotation:[0f,0f]}/summon marker ~ ~4.5 ~ {Tags:["c9_vortex","c9_ring2"],Rotation:[180f,0f]}/summon marker ~ ~4.5 ~ {Tags:["c9_vortex","c9_inner"],Rotation:[90f,0f]}/execute as @e[type=marker,tag=c9_ring1] at @s run tp @s ~ ~ ~ ~12 ~/execute as @e[type=marker,tag=c9_ring2] at @s run tp @s ~ ~ ~ ~-12 ~/execute as @e[type=marker,tag=c9_inner] at @s run tp @s ~ ~ ~ ~20 ~/execute at @e[type=marker,tag=c9_ring1] run particle dust_color_transition{from_color:[1.0,0.0,0.5],to_color:[0.0,0.8,1.0],scale:2.2} ^ ^ ^2.8 0.1 0.1 0.1 0 4 force/execute at @e[type=marker,tag=c9_ring1] run particle dust_color_transition{from_color:[0.0,0.8,1.0],to_color:[0.5,0.0,1.0],scale:2.2} ^ ^ ^-2.8 0.1 0.1 0.1 0 4 force/execute at @e[type=marker,tag=c9_ring2] run particle dust_color_transition{from_color:[1.0,0.8,0.0],to_color:[1.0,0.0,0.5],scale:2.0} ^ ^2.8 ^ 0.1 0.1 0.1 0 4 force/execute at @e[type=marker,tag=c9_ring2] run particle dust_color_transition{from_color:[0.0,1.0,0.4],to_color:[0.0,0.5,1.0],scale:2.0} ^ ^-2.8 ^ 0.1 0.1 0.1 0 4 force/execute at @e[type=marker,tag=c9_inner] run particle dust_color_transition{from_color:[1.0,1.0,1.0],to_color:[0.8,0.2,1.0],scale:1.5} ^1.5 ^1.5 ^ 0.05 0.05 0.05 0 3 force/execute at @e[type=marker,tag=c9_inner] run particle dust_color_transition{from_color:[1.0,1.0,1.0],to_color:[0.0,1.0,0.8],scale:1.5} ^-1.5 ^-1.5 ^ 0.05 0.05 0.05 0 3 force/execute at @e[type=marker,tag=c9_inner] run particle end_rod ^ ^1.8 ^ 0 0 0 0.03 1 force/execute at @e[type=marker,tag=c9_ring1] run particle reverse_portal ~ ~ ~ 0.6 0.6 0.6 0.08 8 force/execute at @e[type=marker,tag=c9_ring1] run particle portal ~ ~-1.5 ~ 1.2 1.2 1.2 0.8 15 force/execute at @e[type=marker,tag=c9_ring1] run particle witch ~ ~-3.2 ~ 1.5 0.2 1.5 0.02 4 forcesetup #8 Summons lightweight <code>marker</code> entities 4.5 blocks above the stage. These invisible markers act as the spinning hubs for the particle rings and cause zero client lag.loop #1 Rotates the first ring marker by 12 degrees every tick using relative yaw (<code>~12</code>), while the second ring spins counter-clockwise and the inner ring spins faster at 20 degrees per tick.loop #4 Uses caret notation (<code>^ ^ ^2.8</code>) to spawn gradient dust particles 2.8 blocks in front of the spinning marker, tracing a horizontal circle of magenta-to-cyan magic.loop #6 Offsets particles vertically using <code>^ ^2.8 ^</code> and <code>^ ^-2.8 ^</code> on a horizontally rotating marker, or combined with the marker's orientation to create intersecting orbital bands.loop #11 Fills the center of the vortex with <code>reverse_portal</code> and standard <code>portal</code> particles that pull inward toward the heart of the gateway.


Recorded on our own test server: 50 frames at about 9.9 fps. Our image check saw: A crying obsidian pedestal with an enchanting table in the center emits swirling horizontal rings of colorful particles above it at night.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To turn the decoration into a working teleporter, add one more Repeating Command Block with: /execute at @e[type=marker,tag=c9_ring1] as @a[distance=..2] run tp @s X Y Z (replacing X Y Z with your destination coordinates).
/kill @e[type=marker,tag=c9_vortex]/fill ~-2 ~ ~-2 ~2 ~1 ~2 airMarkers only exist on the server side and are never sent to player clients for rendering, making them the most lag-free way to anchor particle math and rotations.
Change the caret numbers (like ^2.8) in the loop commands to make the rings wider or narrower, and edit the RGB values inside from_color and to_color (from 0.0 to 1.0) to customize the palette.
▶Rotating Armillary Sphere Zodiac EquatorRings & OrbitsExpert22 cmds
▶Spinning Carousel of Mythic ConstellationsRings & OrbitsHard24 cmds
▶Coiling Ouroboros Cosmic Dragon LoopRings & OrbitsHard21 cmds
▶Dimensional Rift GateRings & OrbitsMedium24 cmds
▶Geometric Particle ArchitectRings & OrbitsHard23 cmds
▶Hypnotic Particle VortexRings & OrbitsEasy24 cmds