Summon a giant floating puzzle cube above a gold and obsidian pedestal that smoothly twists its glowing colored slices and solves itself with magic particles.
Moving StructuresMysticTechnologyRainbowGoldPurpleDecorationServer LobbyLearningBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
The Self-Solving Sky Cube brings a floating geometric puzzle into your Minecraft world using smooth block display entities. Suspended above a crying obsidian and gold pedestal, the giant cube autonomously twists its horizontal and vertical slices while surrounded by glowing particles.
Each slice glows with a distinct color—red, gold, diamond blue, emerald green, and amethyst purple—rotating cleanly around the cube's core before snapping back into a solved state with a celebratory burst of energy.
/scoreboard objectives add c9_timer dummy/scoreboard players set #tick c9_timer 0/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:crying_obsidian/fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:gold_block/setblock ~ ~-1 ~ minecraft:beacon/summon minecraft:marker ~ ~4.5 ~ {Tags:["c9_cube","c9_core"]}/summon minecraft:block_display ~ ~4.5 ~ {Tags:["c9_cube","c9_inner"],Glowing:1b,glow_color_override:16755200,transformation:{translation:[-1.2f,-1.2f,-1.2f],scale:[2.4f,2.4f,2.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:sea_lantern"}}/summon minecraft:block_display ~ ~4.5 ~ {Tags:["c9_cube","c9_top"],Glowing:1b,glow_color_override:16724787,transformation:{translation:[-1.5f,0.55f,-1.5f],scale:[3.0f,0.9f,3.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:red_concrete"}}/summon minecraft:block_display ~ ~4.5 ~ {Tags:["c9_cube","c9_mid"],Glowing:1b,glow_color_override:16766720,transformation:{translation:[-1.5f,-0.45f,-1.5f],scale:[3.0f,0.9f,3.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:gold_block"}}/summon minecraft:block_display ~ ~4.5 ~ {Tags:["c9_cube","c9_bot"],Glowing:1b,glow_color_override:5636095,transformation:{translation:[-1.5f,-1.45f,-1.5f],scale:[3.0f,0.9f,3.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:diamond_block"}}/scoreboard players add #tick c9_timer 1/execute if score #tick c9_timer matches 1 run summon minecraft:block_display ~ ~4.5 ~ {Tags:["c9_cube","c9_v1"],Glowing:1b,glow_color_override:5635925,transformation:{translation:[-1.55f,-1.55f,-0.45f],scale:[3.1f,3.1f,0.9f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:emerald_block"}}/execute if score #tick c9_timer matches 1 run summon minecraft:block_display ~ ~4.5 ~ {Tags:["c9_cube","c9_v2"],Glowing:1b,glow_color_override:11141290,transformation:{translation:[-0.45f,-1.55f,-1.55f],scale:[0.9f,3.1f,3.1f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:amethyst_block"}}/execute as @e[tag=c9_cube] at @s run tp @s ~ ~ ~ ~1.5 ~/execute if score #tick c9_timer matches 10 as @e[tag=c9_top] run data merge entity @s {start_interpolation:0,interpolation_duration:14,transformation:{translation:[-1.5f,0.55f,1.5f],scale:[3.0f,0.9f,3.0f],left_rotation:[0f,0.7071f,0f,0.7071f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_timer matches 28 as @e[tag=c9_bot] run data merge entity @s {start_interpolation:0,interpolation_duration:14,transformation:{translation:[1.5f,-1.45f,-1.5f],scale:[3.0f,0.9f,3.0f],left_rotation:[0f,-0.7071f,0f,0.7071f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_timer matches 46 as @e[tag=c9_v1] run data merge entity @s {start_interpolation:0,interpolation_duration:14,transformation:{translation:[1.55f,-1.55f,-0.45f],scale:[3.1f,3.1f,0.9f],left_rotation:[0f,0f,0.7071f,0.7071f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_timer matches 64 as @e[tag=c9_v2] run data merge entity @s {start_interpolation:0,interpolation_duration:14,transformation:{translation:[-0.45f,1.55f,-1.55f],scale:[0.9f,3.1f,3.1f],left_rotation:[0.7071f,0f,0f,0.7071f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_timer matches 84 as @e[tag=c9_top] run data merge entity @s {start_interpolation:0,interpolation_duration:14,transformation:{translation:[-1.5f,0.55f,-1.5f],scale:[3.0f,0.9f,3.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_timer matches 84 as @e[tag=c9_bot] run data merge entity @s {start_interpolation:0,interpolation_duration:14,transformation:{translation:[-1.5f,-1.45f,-1.5f],scale:[3.0f,0.9f,3.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_timer matches 84 as @e[tag=c9_v1] run data merge entity @s {start_interpolation:0,interpolation_duration:14,transformation:{translation:[-1.55f,-1.55f,-0.45f],scale:[3.1f,3.1f,0.9f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_timer matches 84 as @e[tag=c9_v2] run data merge entity @s {start_interpolation:0,interpolation_duration:14,transformation:{translation:[-0.45f,-1.55f,-1.55f],scale:[0.9f,3.1f,3.1f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute at @e[tag=c9_core] run particle minecraft:end_rod ~ ~ ~ 1.6 1.6 1.6 0.02 2 force/execute if score #tick c9_timer matches 100.. at @e[tag=c9_core] run particle minecraft:totem_of_undying ~ ~ ~ 1.2 1.2 1.2 0.35 15 force/execute if score #tick c9_timer matches 110.. run scoreboard players set #tick c9_timer 5setup #7 Summons the bright inner core of the puzzle cube using a scaled <code>sea_lantern</code> block display centered around the entity pivot by offsetting its translation by half its scale.loop #5 Rotates the top red slice 90 degrees around the Y axis using a quaternion <code>[0f,0.7071f,0f,0.7071f]</code> while shifting its translation to <code>[-1.5f,0.55f,1.5f]</code> so the slice pivots cleanly around the center of the cube.loop #7 Twists the vertical emerald slice 90 degrees on the Z axis over 14 ticks of smooth interpolation while counter-translating its corner to keep it centered on the core.loop #9 At tick 84, all rotated slices interpolate back to their identity rotation and default translation simultaneously, solving the cube right before the totem particle burst.


Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A floating cube made of glowing red, gold, diamond, emerald, and amethyst block slices rotates above a gold and crying obsidian base.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let players trigger the cube solve sequence on demand instead of looping automatically, replace the last loop command with /execute if entity @a[distance=..8] if score #tick c9_timer matches 110.. run scoreboard players set #tick c9_timer 5 so the puzzle only scrambles and solves when someone approaches the pedestal.
/kill @e[tag=c9_cube]/scoreboard objectives remove c9_timer/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:grass_blockBlock displays pivot around their minimum corner (0,0,0) rather than their center. When rotating 90 degrees, shifting the translation vector keeps the slice centered on the entity's coordinates.
Yes! Change the block_state Name in the setup and first two loop commands to any block you like, and adjust glow_color_override to any decimal RGB color value.
▶Bending Gravity-Defying Cityscape HorizonMoving StructuresExpert24 cmds
▶Block-by-Block Portal WarpMoving StructuresExpert21 cmds
▶Opening Brass Astronomical Observatory DomeMoving StructuresHard24 cmds
▶Victorian Zoetrope Animation CarouselMoving StructuresMedium22 cmds
▶Fabergé Egg Mechanical Jewel RevealMoving StructuresHard24 cmds
▶Kinetic Chandelier Crystal Rain CascadeMoving StructuresHard24 cmds