Tesseract Hypercube Laser Unfolding

A 4D hypercube of blinding white display beams turns inside-out in mid-air, firing chromatic firework volleys from sixteen shifting vertices.

Java EditionFireworks & Light ShowsExpert20 commandsTested on a real 26.2 & 26.3 server
Glowing glass hypercube unfolding with laser arms Download the GIF Video & GIF © www.9minecraft.net

Light Beams & LasersSpaceTechnologyCelebrationWhiteCyanRainbowCinematicServer LobbyDecorationBlock displaysItem displaysFireworksSmooth animation (interpolation)Rotation math13-20 commands

Watch a fourth-dimensional geometric construct unfold right above your world. This command setup generates a floating tesseract made of glowing white and cyan beam structures that smoothly expands and collapses through itself while rotating along two axes at once.

Each time the inner and outer cubes trade places during their 4D inversion cycle, the sixteen shifting vertices discharge radiant dust streams and launch synchronized chromatic firework volleys into the night sky.

1. Setup - type these once 7 commands

  1. /scoreboard objectives add c9_t dummy
  2. /summon marker ~ ~10 ~ {Tags:["c9_e","c9_core"]}
  3. /execute positioned ~ ~10 ~ run summon item_display ~ ~ ~ {Tags:["c9_e","c9_cube","c9_outer"],Glowing:1b,glow_color_override:16777215,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,item:{id:"minecraft:white_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[5.5f,5.5f,5.5f]}}
  4. /execute positioned ~ ~10 ~ run summon item_display ~ ~ ~ {Tags:["c9_e","c9_cube","c9_inner"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,item:{id:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.2f,2.2f,2.2f]}}
  5. /execute positioned ~ ~10 ~ run summon block_display ~ ~ ~ {Tags:["c9_e","c9_beam","c9_b1"],Glowing:1b,glow_color_override:16777215,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0.353f,0.353f,0.146f,0.853f],right_rotation:[0f,0f,0f,1f],translation:[-0.15f,-4.5f,-0.15f],scale:[0.3f,9f,0.3f]}}
  6. /execute positioned ~ ~10 ~ run summon block_display ~ ~ ~ {Tags:["c9_e","c9_beam","c9_b2"],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,block_state:{Name:"minecraft:end_rod"},transformation:{left_rotation:[-0.353f,0.353f,-0.146f,0.853f],right_rotation:[0f,0f,0f,1f],translation:[-0.15f,-4.5f,-0.15f],scale:[0.3f,9f,0.3f]}}
  7. /execute positioned ~ ~10 ~ run summon block_display ~ ~ ~ {Tags:["c9_e","c9_beam","c9_b3"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:25,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0.353f,-0.353f,-0.146f,0.853f],right_rotation:[0f,0f,0f,1f],translation:[-0.15f,-4.5f,-0.15f],scale:[0.3f,9f,0.3f]}}

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

  1. /scoreboard players add @e[tag=c9_core] c9_t 1
  2. /execute as @e[tag=c9_core,scores={c9_t=80..}] run scoreboard players set @s c9_t 0
  3. /execute as @e[tag=c9_outer] at @s run tp @s ~ ~ ~ ~3 ~2
  4. /execute as @e[tag=c9_inner] at @s run tp @s ~ ~ ~ ~-4 ~-3
  5. /execute as @e[tag=c9_beam] at @s run tp @s ~ ~ ~ ~3.5 ~2.5
  6. /execute if entity @e[tag=c9_core,scores={c9_t=1}] as @e[tag=c9_outer] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{scale:[2.2f,2.2f,2.2f]}}
  7. /execute if entity @e[tag=c9_core,scores={c9_t=1}] as @e[tag=c9_inner] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{scale:[6.0f,6.0f,6.0f]}}
  8. /execute if entity @e[tag=c9_core,scores={c9_t=41}] as @e[tag=c9_outer] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{scale:[6.0f,6.0f,6.0f]}}
  9. /execute if entity @e[tag=c9_core,scores={c9_t=41}] as @e[tag=c9_inner] run data merge entity @s {start_interpolation:0,interpolation_duration:35,transformation:{scale:[2.2f,2.2f,2.2f]}}
  10. /execute at @e[tag=c9_cube] rotated ~ 35 run particle dust{color:[0.2,1.0,1.0],scale:1.6} ^2.5 ^2.5 ^2.5 0.1 0.1 0.1 0 3 force
  11. /execute at @e[tag=c9_cube] rotated ~ -35 run particle end_rod ^-2.5 ^-2.5 ^2.5 0.05 0.05 0.05 0.05 2 force
  12. /execute if entity @e[tag=c9_core,scores={c9_t=20}] at @e[tag=c9_outer] run summon firework_rocket ^2.8 ^2.8 ^2.8 {LifeTime:12,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"large_ball",has_twinkle:1b,colors:[I;65535,16777215],fade_colors:[I;16711935]}]}}}}
  13. /execute if entity @e[tag=c9_core,scores={c9_t=60}] at @e[tag=c9_inner] run summon firework_rocket ^-2.8 ^2.8 ^-2.8 {LifeTime:12,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"burst",has_trail:1b,colors:[I;16711935,16761035],fade_colors:[I;65535]}]}}}}

How it works

Frames from the test run

Tesseract Hypercube Laser Unfolding - frame 1Tesseract Hypercube Laser Unfolding - frame 2Tesseract Hypercube Laser Unfolding - frame 3

Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: A large glowing glass cube with laser arms hovers and shifts above the ground.

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. Clear a flat area and stand at the center where you want the tesseract to float 10 blocks above.
  2. Run each of the 7 setup commands once in your chat window to build the scoreboard and display geometry.
  3. Place a line of 13 Repeating Command Blocks (or 1 Repeating and 12 Chain Command Blocks) nearby.
  4. Set all 13 command blocks to Always Active and paste the loop commands into them in order.
  5. Set the time to night with /time set midnight so the glowing laser beams and firework bursts stand out clearly.

Use it with real players

To make the tesseract follow a player like a floating arcane halo, replace at @s in the first three rotation loop commands with at @p positioned ~ ~6 ~ so the hypercube constantly centers itself above the nearest player.

Remove it again 2 commands

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

FAQ

Why does the hypercube look choppy if I change the rotation numbers?

The display entities use teleport_duration:2 to smooth out rotation steps. If you rotate them by more than 45 degrees per tick, decrease teleport_duration to 1.

Does this creation cause lag over long periods?

No. The hypercube uses only 6 permanent display entities, and firework rockets detonate after 12 ticks (0.6 seconds), keeping total entity count well under 15.

Commands used

/data/execute/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides