Build a glowing four-dimensional tesseract gate that continuously folds inside-out in mid-air while orbiting runes and warping particles into its core.
This creation suspends a glowing cyan and magenta hypercube four blocks in the air. Two nested stained-glass cubes continuously swap places—expanding outward, shrinking inward, and tumbling through one another around a spinning beacon core and crossed end-rod axes.
Four glowing enchanting-table runes orbit the structure along tilted rings while portal and color-shifting dust particles rush inward from the surrounding air into the center.
/scoreboard objectives add c9_t dummy/summon item_display ~ ~4.2 ~ {Tags:["c9_cube_a"],item:{id:"minecraft:cyan_stained_glass",count:1},item_display:"none",Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},interpolation_duration:20,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[3.8f,3.8f,3.8f]}}/summon item_display ~ ~4.2 ~ {Tags:["c9_cube_b"],item:{id:"minecraft:magenta_stained_glass",count:1},item_display:"none",Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},interpolation_duration:20,transformation:{left_rotation:[0f,0.3827f,0f,0.9239f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.2f,1.2f,1.2f]}}/summon item_display ~ ~4.2 ~ {Tags:["c9_cube_c","c9_core","c9_spin"],item:{id:"minecraft:beacon",count:1},item_display:"none",Glowing:1b,glow_color_override:11141375,brightness:{sky:15,block:15},teleport_duration:2,transformation:{left_rotation:[0.3827f,0f,0f,0.9239f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.1f,1.1f,1.1f]}}/summon item_display ~ ~4.2 ~ {Tags:["c9_strut_a","c9_spin"],item:{id:"minecraft:end_rod",count:1},item_display:"none",Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:2,transformation:{left_rotation:[0f,0f,0.3827f,0.9239f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.45f,6.2f,0.45f]}}/summon item_display ~ ~4.2 ~ {Tags:["c9_strut_b","c9_spin"],item:{id:"minecraft:end_rod",count:1},item_display:"none",Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},teleport_duration:2,transformation:{left_rotation:[0f,0f,-0.3827f,0.9239f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.45f,6.2f,0.45f]}}/summon text_display ~ ~4.2 ~ {Tags:["c9_rune"],Rotation:[0f,25f],billboard:"center",background:0,shadow:1b,see_through:0b,brightness:{sky:15,block:15},teleport_duration:2,text:{"text":"a x q","font":"minecraft:alt","color":"aqua","bold":true},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.2f,2.2f,2.2f]}}/summon text_display ~ ~4.2 ~ {Tags:["c9_rune"],Rotation:[90f,-25f],billboard:"center",background:0,shadow:1b,see_through:0b,brightness:{sky:15,block:15},teleport_duration:2,text:{"text":"m z k","font":"minecraft:alt","color":"light_purple","bold":true},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.2f,2.2f,2.2f]}}/summon text_display ~ ~4.2 ~ {Tags:["c9_rune"],Rotation:[180f,25f],billboard:"center",background:0,shadow:1b,see_through:0b,brightness:{sky:15,block:15},teleport_duration:2,text:{"text":"v r e","font":"minecraft:alt","color":"aqua","bold":true},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.2f,2.2f,2.2f]}}/summon text_display ~ ~4.2 ~ {Tags:["c9_rune"],Rotation:[270f,-25f],billboard:"center",background:0,shadow:1b,see_through:0b,brightness:{sky:15,block:15},teleport_duration:2,text:{"text":"t w f","font":"minecraft:alt","color":"light_purple","bold":true},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.2f,2.2f,2.2f]}}/scoreboard players add @e[tag=c9_core,limit=1] c9_t 1/execute if score @e[tag=c9_core,limit=1] c9_t matches 80.. run scoreboard players set @e[tag=c9_core,limit=1] c9_t 0/execute if score @e[tag=c9_core,limit=1] c9_t matches 0 run data merge entity @e[tag=c9_cube_a,limit=1] {start_interpolation:0,interpolation_duration:20,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[3.8f,3.8f,3.8f]}}/execute if score @e[tag=c9_core,limit=1] c9_t matches 20 run data merge entity @e[tag=c9_cube_a,limit=1] {start_interpolation:0,interpolation_duration:20,transformation:{left_rotation:[0.5f,0.5f,0.5f,0.5f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.2f,1.2f,1.2f]}}/execute if score @e[tag=c9_core,limit=1] c9_t matches 40 run data merge entity @e[tag=c9_cube_a,limit=1] {start_interpolation:0,interpolation_duration:20,transformation:{left_rotation:[0.7071f,0f,0.7071f,0f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[3.8f,3.8f,3.8f]}}/execute if score @e[tag=c9_core,limit=1] c9_t matches 60 run data merge entity @e[tag=c9_cube_a,limit=1] {start_interpolation:0,interpolation_duration:20,transformation:{left_rotation:[0.5f,-0.5f,0.5f,0.5f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.2f,1.2f,1.2f]}}/execute if score @e[tag=c9_core,limit=1] c9_t matches 0 run data merge entity @e[tag=c9_cube_b,limit=1] {start_interpolation:0,interpolation_duration:20,transformation:{left_rotation:[0f,0.3827f,0f,0.9239f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.2f,1.2f,1.2f]}}/execute if score @e[tag=c9_core,limit=1] c9_t matches 20 run data merge entity @e[tag=c9_cube_b,limit=1] {start_interpolation:0,interpolation_duration:20,transformation:{left_rotation:[0.5f,-0.5f,-0.5f,0.5f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[3.8f,3.8f,3.8f]}}/execute if score @e[tag=c9_core,limit=1] c9_t matches 40 run data merge entity @e[tag=c9_cube_b,limit=1] {start_interpolation:0,interpolation_duration:20,transformation:{left_rotation:[0f,-0.9239f,0f,0.3827f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.2f,1.2f,1.2f]}}/execute if score @e[tag=c9_core,limit=1] c9_t matches 60 run data merge entity @e[tag=c9_cube_b,limit=1] {start_interpolation:0,interpolation_duration:20,transformation:{left_rotation:[-0.5f,-0.5f,0.5f,0.5f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[3.8f,3.8f,3.8f]}}/execute as @e[tag=c9_spin] at @s run tp @s ~ ~ ~ ~4 ~/execute as @e[tag=c9_rune] at @e[tag=c9_core,limit=1] rotated as @s run tp @s ^ ^ ^3.4 ~4 ~/particle portal ~ ~4.2 ~ 3.5 2.4 3.5 1.8 40 force/particle dust_color_transition{from_color:[0.0,1.0,1.0],to_color:[1.0,0.0,1.0],scale:1.5} ~ ~4.2 ~ 2.6 2.0 2.6 0.05 20 forcesetup #2 <p>Creates the outer cyan cube using an <code>item_display</code> with <code>item_display:"none"</code> so the block scales and rotates around its exact center, with full brightness and a glowing cyan outline.</p>setup #7 <p>Summons a glowing <code>text_display</code> rune using the <code>minecraft:alt</code> enchanting font, a transparent background, and <code>billboard:"center"</code> so the glyphs stay readable from any angle.</p>loop #1 <p>Advances the <code>c9_t</code> scoreboard timer on the core entity every tick; the next command wraps it back to <code>0</code> at tick 80 to drive a 4-second folding cycle.</p>loop #4 <p>Every 20 ticks, updates <code>c9_cube_a</code> and <code>c9_cube_b</code> in opposite scale phases (<code>3.8</code> to <code>1.2</code> and back) with <code>start_interpolation:0</code> so they smoothly invert through each other.</p>loop #12 <p>Orbits each <code>c9_rune</code> 3.4 blocks out from <code>c9_core</code> along its own tilted pitch while advancing its yaw by 4 degrees per tick.</p>loop #13 <p>Spawns <code>portal</code> particles across the surrounding air with a speed of <code>1.8</code> so they curve inward into the tesseract core, paired with cyan-to-magenta <code>dust_color_transition</code> particles.</p>


Recorded on our own test server: 50 frames at about 9.9 fps. Our image check saw: Two nested glowing cyan and magenta stained-glass cubes rotate and swap sizes in mid-air around a spinning beacon core with crossed end-rod axes, surrounded by orbiting neon runes and blue-purple particles.
To make the gate act as a functional portal for players, add one more repeating command block running /execute at @e[tag=c9_core,limit=1] positioned ~ ~-3 ~ run effect give @a[distance=..3] minecraft:levitation 2 1 true so anyone stepping beneath the tesseract is lifted into its core, or replace the effect with a /tp to a destination pad.
/kill @e[tag=c9_cube_a]/kill @e[tag=c9_cube_b]/kill @e[tag=c9_core]/kill @e[tag=c9_spin]/kill @e[tag=c9_rune]/scoreboard objectives remove c9_tEach cube is an item_display with interpolation_duration:20. Whenever the loop triggers a new phase at ticks 0, 20, 40, and 60, it sets start_interpolation:0 so the client blends both scale and rotation over a full second.
Yes. Replace minecraft:cyan_stained_glass and minecraft:magenta_stained_glass in the setup commands with any other stained glass colors, and adjust the decimal RGB values in glow_color_override and dust_color_transition to match.
▶Alchemical Gold Transmutation ArrayMagic & SpellsHard
▶Arcane Golem Assembly RitualMagic & SpellsHard
▶Arcane Potion Cauldron OverflowMagic & SpellsEasy
▶Archmage Duel of Fire and IceMagic & SpellsExpert
▶Astral Constellation Meteor StarfallMagic & SpellsHard
▶Celestial Black Hole SingularityMagic & SpellsExpert