Unstable Dimensional Rift

A custom crying obsidian monument ignites on its own, pulling in swirling vortex energy before tearing open a glowing purple and cyan gateway.

Java EditionMagic & SpellsMedium24 commandsTested on a real 26.2 & 26.3 server
A glowing purple dimensional portal made of crying obsidian and amethyst emits cyan and magenta particles. Download the GIF Video & GIF © www.9minecraft.net

Portals & RiftsMysticSpaceDarkPurpleCyanPinkDecorationAdventure MapServer LobbyBlock displaysArmor standsSmooth animation (interpolation)Block building (fill/setblock/clone)SoundsRotation math21+ commands

This command creation builds an obsidian and amethyst monument that periodically awakens by itself. When the cycle begins, two invisible spinners orbit the frame, painting a double helix of magenta and cyan dust particles that get pulled into the center like a miniature black hole.

Once the energy peaks, a shockwave bursts outward and a glowing three-layer dimensional gateway tears open inside the frame using smoothly scaled block display entities. After holding open for a few seconds with electric sparks flying off its edges, the rift collapses and resets for the next cycle.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_rift dummy
  2. /fill ~-3 ~ ~-2 ~3 ~ ~2 polished_blackstone_bricks
  3. /fill ~-2 ~1 ~ ~2 ~6 ~ crying_obsidian
  4. /fill ~-1 ~2 ~ ~1 ~5 ~ air
  5. /setblock ~-2 ~6 ~ amethyst_block
  6. /setblock ~2 ~6 ~ amethyst_block
  7. /summon marker ~ ~3.5 ~ {Tags:["c9_rift","c9_core"]}
  8. /summon armor_stand ~ ~3.5 ~ {Tags:["c9_rift","c9_spin1"],Invisible:1b,NoGravity:1b,Marker:1b,Rotation:[0f,0f]}
  9. /summon armor_stand ~ ~3.5 ~ {Tags:["c9_rift","c9_spin2"],Invisible:1b,NoGravity:1b,Marker:1b,Rotation:[180f,0f]}
  10. /summon block_display ~ ~3.5 ~ {Tags:["c9_rift","c9_gate"],Glowing:1b,glow_color_override:11141375,brightness:{sky:15,block:15},block_state:{Name:"minecraft:magenta_stained_glass"},transformation:{translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],scale:[0f,0f,0f],right_rotation:[0f,0f,0f,1f]}}

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

  1. /execute as @e[tag=c9_core] run scoreboard players add @s c9_rift 1
  2. /execute as @e[tag=c9_core,scores={c9_rift=180..}] run scoreboard players set @s c9_rift 1
  3. /execute as @e[tag=c9_spin1] at @s run tp @s ~ ~ ~ ~14 ~
  4. /execute as @e[tag=c9_spin2] at @s run tp @s ~ ~ ~ ~-14 ~
  5. /execute if score @e[tag=c9_core,limit=1] c9_rift matches 1..60 at @e[tag=c9_spin1] positioned ^ ^ ^2.8 run particle dust{color:[0.7,0.1,1.0],scale:1.6} ~ ~0.6 ~ 0.1 0.3 0.1 0 3 force
  6. /execute if score @e[tag=c9_core,limit=1] c9_rift matches 1..60 at @e[tag=c9_spin2] positioned ^ ^ ^2.8 run particle dust{color:[0.1,0.9,1.0],scale:1.6} ~ ~-0.6 ~ 0.1 0.3 0.1 0 3 force
  7. /execute if score @e[tag=c9_core,limit=1] c9_rift matches 20..60 at @e[tag=c9_core] run particle portal ~ ~ ~ 1.8 2.2 1.8 1.2 35 force
  8. /execute if score @e[tag=c9_core,limit=1] c9_rift matches 60 at @e[tag=c9_core] run summon block_display ~ ~ ~ {Tags:["c9_rift","c9_inner"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},block_state:{Name:"minecraft: crying_obsidian"},transformation:{translation:[-0.6f,-1.1f,-0.25f],left_rotation:[0f,0f,0f,1f],scale:[1.2f,2.2f,0.5f],right_rotation:[0f,0f,0f,1f]}}
  9. /execute if score @e[tag=c9_core,limit=1] c9_rift matches 60 as @e[tag=c9_gate] run data merge entity @s {start_interpolation:0,interpolation_duration:12,transformation:{translation:[-1.0f,-1.5f,-0.15f],left_rotation:[0f,0f,0f,1f],scale:[2.0f,3.0f,0.3f],right_rotation:[0f,0f,0f,1f]}}
  10. /execute if score @e[tag=c9_core,limit=1] c9_rift matches 60 at @e[tag=c9_core] run particle flash ~ ~ ~ 0 0 0 0 1 force
  11. /execute if score @e[tag=c9_core,limit=1] c9_rift matches 60 at @e[tag=c9_core] run playsound block.end_portal.spawn master @a ~ ~ ~ 0.7 1.4
  12. /execute if score @e[tag=c9_core,limit=1] c9_rift matches 61..150 at @e[tag=c9_core] run particle reverse_portal ~ ~ ~ 0.8 1.3 0.2 0.08 12 force
  13. /execute if score @e[tag=c9_core,limit=1] c9_rift matches 61..150 at @e[tag=c9_spin1] positioned ^ ^ ^1.3 run particle electric_spark ~ ~ ~ 0.2 1.2 0.2 0.1 4 force
  14. /execute if score @e[tag=c9_core,limit=1] c9_rift matches 151 as @e[tag=c9_gate] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],scale:[0f,0f,0f],right_rotation:[0f,0f,0f,1f]}}

How it works

Frames from the test run

Unstable Dimensional Rift - frame 1Unstable Dimensional Rift - frame 2Unstable Dimensional Rift - frame 3

Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A crying obsidian and amethyst portal frame sits on a blackstone base at night, emitting swirling cyan and magenta particles and forming a glowing purple gateway inside.

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 on a flat area where you want the monument to appear and make sure you have operator permissions.
  2. Run each of the 10 setup commands in chat one by one, or bundle them in an impulse command block above your chosen center point.
  3. Place a column of 14 command blocks nearby: set the bottom one to Repeating and Always Active, and the 13 above it to Chain and Always Active.
  4. Paste each loop command into the chain in order, wrapping coordinates if your command blocks are not right at the monument center.
  5. To clean out the inner core between cycles without adding a 15th command block, change the block_state in loop command 8 to any translucent block or run the remove command when done.

Use it with real players

To let players trigger the rift by throwing a Nether Star near the frame instead of running on an automatic loop, replace the first two loop commands with /execute at @e[tag=c9_core] if entity @e[type=item,nbt={Item:{id:"minecraft:nether_star"}},distance=..3] as @e[tag=c9_core] run scoreboard players add @s c9_rift 1 so the timer only advances while the catalyst item is at the base of the portal.

Remove it again 3 commands

  1. /kill @e[tag=c9_rift]
  2. /scoreboard objectives remove c9_rift
  3. /fill ~-3 ~ ~-2 ~3 ~6 ~2 air

FAQ

Can I change the colors of the swirling vortex and portal?

Yes. In loop commands 5 and 6, edit the RGB decimal values inside dust{color:[R,G,B],scale:1.6} to any values between 0.0 and 1.0, and change magenta_stained_glass in setup command 10 to another glass color.

Why does the portal glow through walls or in pitch darkness?

The block_display entities use both the brightness:{sky:15,block:15} tag for full self-illumination and Glowing:1b with a custom decimal glow_color_override.

Commands used

/data/execute/fill/particle/playsound/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides