Mobius Strip Endless Portal Loop

A glowing 3D Mobius strip built from rotating cyan block displays hovers in midair as energy comets race along its twisted loop and burst into a supernova.

Java EditionMagic & SpellsExpert20 commandsTested on a real 26.2 & 26.3 server
A glowing Mobius strip structure of cyan glass and sea lanterns floats in the night sky. Download the GIF Video & GIF © www.9minecraft.net

Portals & RiftsSpaceMysticCyanPurpleWhiteDecorationCinematicLearningBlock displaysRotation math13-20 commands

Watch a non-orientable 3D geometric portal materialize right before your eyes. This creation uses precision-rotated block displays and trigonometric orbit walkers to construct a continuous, glowing Mobius strip out of cyan glass and sea lanterns in midair.

Two streams of golden and magenta energy comets race endlessly along the single twisted surface of the strip, building up cosmic charge until the entire structure erupts into a multi-layered supernova explosion before reforming.

1. Setup - type these once 6 commands

  1. /scoreboard objectives add c9_t dummy
  2. /scoreboard players set #tick c9_t 0
  3. /summon marker ~ ~8 ~ {Tags:["c9_e","c9_hub"]}
  4. /summon marker ~ ~8 ~ {Tags:["c9_e","c9_draw"],Rotation:[0f,-90f]}
  5. /summon marker ~ ~8 ~ {Tags:["c9_e","c9_c1"],Rotation:[0f,-90f]}
  6. /summon marker ~ ~8 ~ {Tags:["c9_e","c9_c2"],Rotation:[180f,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 1..36 as @e[tag=c9_draw] at @s run tp @s ~ ~ ~ ~10 ~5
  3. /execute if score #tick c9_t matches 1..36 at @e[tag=c9_draw] rotated ~ 0 positioned ^ ^ ^4.2 rotated as @e[tag=c9_draw] run summon block_display ^ ^ ^1.1 {Tags:["c9_e","c9_node","c9_edge"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.22f,-0.22f,-0.22f],scale:[0.44f,0.44f,0.44f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  4. /execute if score #tick c9_t matches 1..36 at @e[tag=c9_draw] rotated ~ 0 positioned ^ ^ ^4.2 rotated as @e[tag=c9_draw] run summon block_display ^ ^ ^-1.1 {Tags:["c9_e","c9_node","c9_edge"],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},block_state:{Name:"minecraft:amethyst_block"},transformation:{translation:[-0.22f,-0.22f,-0.22f],scale:[0.44f,0.44f,0.44f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  5. /execute if score #tick c9_t matches 1..36 at @e[tag=c9_draw] rotated ~ 0 positioned ^ ^ ^4.2 rotated as @e[tag=c9_draw] run summon block_display ^ ^ ^ {Tags:["c9_e","c9_node","c9_rib"],Glowing:1b,glow_color_override:43775,brightness:{sky:15,block:15},block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{translation:[-0.35f,-0.1f,-1.1f],scale:[0.7f,0.2f,2.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  6. /execute as @e[tag=c9_node] at @s run tp @s ~ ~ ~ ~4 ~2
  7. /execute as @e[tag=c9_c1] at @s run tp @s ~ ~ ~ ~12 ~6
  8. /execute as @e[tag=c9_c2] at @s run tp @s ~ ~ ~ ~-12 ~-6
  9. /execute at @e[tag=c9_c1] rotated ~ 0 positioned ^ ^ ^4.2 rotated as @e[tag=c9_c1] positioned ^ ^ ^1.25 run particle dust_color_transition{from_color:[1.0,0.85,0.1],to_color:[1.0,0.1,0.5],scale:1.8} ~ ~ ~ 0.12 0.12 0.12 0 6 force
  10. /execute at @e[tag=c9_c2] rotated ~ 0 positioned ^ ^ ^4.2 rotated as @e[tag=c9_c2] positioned ^ ^ ^-1.25 run particle dust_color_transition{from_color:[0.1,1.0,1.0],to_color:[0.5,0.1,1.0],scale:1.8} ~ ~ ~ 0.12 0.12 0.12 0 6 force
  11. /execute at @e[tag=c9_hub] run particle portal ~ ~ ~ 2.5 1.5 2.5 0.6 15 force
  12. /execute if score #tick c9_t matches 90 at @e[tag=c9_hub] run particle flash{color:[0.4,1.0,1.0,1.0]} ~ ~ ~ 0 0 0 0 1 force
  13. /execute if score #tick c9_t matches 90..98 at @e[tag=c9_edge] run particle end_rod ~ ~ ~ 0 0 0 0.45 2 force
  14. /execute if score #tick c9_t matches 130.. run scoreboard players set #tick c9_t 37

How it works

Frames from the test run

Mobius Strip Endless Portal Loop - frame 1Mobius Strip Endless Portal Loop - frame 2Mobius Strip Endless Portal Loop - frame 3

Recorded on our own test server: 55 frames at about 9.0 fps. Our image check saw: A floating ring of glowing cyan glass, sea lanterns, and amethyst blocks with a twisted Mobius strip path is built in the air and erupts with bright white particles.

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. Make sure you are in Creative mode with command blocks enabled in a Java Edition 26.2 or 26.3 world.
  2. Stand at the center of a clear flat area and run each of the 6 setup commands in chat in order.
  3. Place 14 command blocks in a row or stack near your build area.
  4. Set the first command block to Repeating, Unconditional, and Always Active, and paste the first loop command into it.
  5. Chained or individual: either set the remaining 13 command blocks to Repeating and Always Active, or point them in a Chain (Unconditional, Always Active) off the first repeating block, pasting one loop command into each.
  6. Watch the Mobius strip weave itself in 36 ticks, followed by racing energy comets and periodic supernova bursts.

Use it with real players

To bind this portal loop above a player casting a spell instead of a fixed stage point, replace @e[tag=c9_hub] and the initial marker positions with @a[tag=casting_mobius], and run a repeating command that teleports @e[tag=c9_c1] and @e[tag=c9_c2] to the player's position every tick while preserving their rotation.

Remove it again 2 commands

  1. /kill @e[tag=c9_e]
  2. /scoreboard objectives remove c9_t

FAQ

Why does the pitch only go from -90 to +90 degrees while yaw goes a full 360 degrees?

A Mobius strip has a half-twist (180 degrees) over one full revolution (360 degrees). Minecraft clamps entity pitch between -90 and +90 degrees, which spans the exact 180-degree range needed to construct the half-twist without ever hitting the pitch limit.

Will this lag my world if I leave it running?

No. The 108 block displays are summoned only once during the first 36 ticks. After tick 36, the timer loops between 37 and 130, so no new entities are ever created.

Commands used

/execute/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides