Swirling Space-Time Wormhole

Dense neon particle rings spin in mid-air while glowing blocks and mobs spiral into the gravitational event horizon of a dimensional portal.

Java EditionParticle ArtMedium23 commandsTested on a real 26.2 & 26.3 server
A glowing cyan and purple wormhole pulls floating blocks and horses into the air at night. Download the GIF Video & GIF © www.9minecraft.net

Galaxies & SpaceSpaceEndMysticCyanPurpleWhiteCinematicBoss FightDecorationParticlesBlock displaysScoreboard timersExecute chainsBlock building (fill/setblock/clone)Glowing outlinesRotation math21+ commands

This command creation builds a floating space-time wormhole right in front of you. Multiple rings of cyan, magenta, and violet dust rotate at different speeds around a bright white event horizon while reverse portal energy pours into the core.

Any debris or creatures caught near the anomaly are lifted off the ground and pulled along a decaying orbital spiral until they vanish into the center with a flash of light.

1. Setup - type these once 9 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /fill ~-2 ~ ~-2 ~2 ~ ~2 crying_obsidian
  3. /fill ~-1 ~ ~-1 ~1 ~ ~1 obsidian
  4. /setblock ~ ~ ~ respawn_anchor[charges=4]
  5. /summon marker ~ ~4.5 ~ {Tags:["c9_wormhole","c9_core"],Rotation:[0f,0f]}
  6. /summon marker ~ ~4.5 ~ {Tags:["c9_wormhole","c9_ring1"],Rotation:[0f,0f]}
  7. /summon marker ~ ~4.5 ~ {Tags:["c9_wormhole","c9_ring2"],Rotation:[90f,25f]}
  8. /summon marker ~ ~4.5 ~ {Tags:["c9_wormhole","c9_ring3"],Rotation:[180f,-25f]}
  9. /summon block_display ~ ~4.5 ~ {Tags:["c9_wormhole","c9_singularity"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:black_concrete"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,1.6f,1.6f],translation:[-0.8f,-0.8f,-0.8f]}}

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

  1. /scoreboard players add #main c9_tick 1
  2. /scoreboard players set #spawn c9_tick 0
  3. /execute if score #main c9_tick matches 25.. run scoreboard players set #spawn c9_tick 1
  4. /execute if score #main c9_tick matches 25.. run scoreboard players set #main c9_tick 0
  5. /execute as @e[tag=c9_ring1] at @s run tp @s ~ ~ ~ ~14 ~
  6. /execute as @e[tag=c9_ring2] at @s run tp @s ~ ~ ~ ~-10 ~6
  7. /execute as @e[tag=c9_ring3] at @s run tp @s ~ ~ ~ ~8 ~-8
  8. /execute at @e[tag=c9_ring1] run particle dust_color_transition{from_color:[0.0,0.95,1.0],to_color:[0.2,0.0,0.6],scale:1.8} ^ ^ ^3.6 0.15 0.15 0.15 0 8 force
  9. /execute at @e[tag=c9_ring1] run particle dust_color_transition{from_color:[0.0,0.95,1.0],to_color:[0.2,0.0,0.6],scale:1.8} ^ ^ ^-3.6 0.15 0.15 0.15 0 8 force
  10. /execute at @e[tag=c9_ring2] run particle dust_color_transition{from_color:[1.0,0.1,0.85],to_color:[0.1,0.0,0.4],scale:1.6} ^ ^ ^2.5 0.1 0.1 0.1 0 6 force
  11. /execute at @e[tag=c9_ring3] run particle dust{color:[1.0,1.0,1.0],scale:1.2} ^ ^ ^1.4 0.08 0.08 0.08 0 6 force
  12. /execute at @e[tag=c9_core] run particle reverse_portal ~ ~ ~ 1.8 1.8 1.8 0.6 25 force
  13. /execute if score #spawn c9_tick matches 1 at @e[tag=c9_core] run summon block_display ~ ~-3 ~ {Tags:["c9_wormhole","c9_debris"],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},block_state:{Name:"minecraft:amethyst_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.55f,0.55f,0.55f],translation:[3.8f,-2.5f,0f]}}
  14. /execute as @e[tag=c9_debris] at @s positioned ~ ~ ~ run tp @s ~ ~0.04 ~ ~11 ~

How it works

Frames from the test run

Swirling Space-Time Wormhole - frame 1Swirling Space-Time Wormhole - frame 2Swirling Space-Time Wormhole - frame 3

Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: A floating dark square portal outlined in cyan sits above a crying obsidian platform, surrounded by a ring of cyan particles, scattered purple portal particles, and glowing purple-outlined blocks orbiting around it while two glowing horses float in the air nearby.

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 open area and run each command from the Setup list in chat once to build the obsidian pedestal and summon the wormhole markers.
  2. Place a line of 14 Repeating Command Blocks set to Always Active near your build.
  3. Paste one command from the Loop list into each repeating command block in order.
  4. To keep the rising debris from climbing forever in a permanent world, add one extra repeating command block with: /execute at @e[tag=c9_core] run kill @e[tag=c9_debris,dy=4,distance=..1.2]
  5. Switch the time to night so the glowing core and neon dust transitions stand out clearly.

Use it with real players

To make the wormhole pull in real survival mobs and items around it, add a repeating command block running /execute at @e[tag=c9_core] as @e[type=!player,type=!marker,type=!block_display,tag=!c9_wormhole,distance=1.5..8] at @s facing entity @e[tag=c9_core,limit=1] feet run tp @s ^0.15 ^ ^0.18. Any mob or dropped item that gets within 8 blocks will spiral smoothly into the singularity.

Remove it again 3 commands

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

FAQ

How do I change the size of the wormhole rings?

Edit the caret distance at the end of the particle commands in the loop (for example, change ^ ^ ^3.6 to ^ ^ ^5.5 for a wider outer ring).

Why do the orbiting blocks spin in a circle without changing their X and Z coordinates?

Each block_display has a translation offset of 3.8 blocks in its transformation data. When we rotate the entity in place with /tp, the offset block swings around the center pivot like a planet on an arm.

Commands used

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

Similar creations

Join 9Minecraft News & Guides