A 27-cubie Rubik's Cube made of 81 block displays hovers over a holographic beacon pad, scrambling and solving itself with smooth matrix rotations.
Animated BlocksTechnologyRainbowCyanWhiteDecorationServer LobbyLearningBlock displaysSmooth animation (interpolation)Riding & passengersSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
Suspended above a glowing beacon emitter pad, a 27-cubie Rubik's Cube hovers in mid-air. Each of the 27 cubies is built from three intersecting colored concrete sticker slabs and an obsidian core, forming a 3x3x3 puzzle cube with distinct white, yellow, red, orange, blue, and lime faces.
Driven by a repeating scoreboard clock, individual faces of the cube twist and scramble through 90-degree quaternion interpolations while the entire puzzle rotates smoothly on its axis, finishing each cycle with a rapid self-solve and a celebratory particle burst.
/scoreboard objectives add c9_timer dummy/scoreboard players set #tick c9_timer 0/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:iron_block/fill ~-2 ~ ~-2 ~2 ~ ~2 minecraft:cyan_stained_glass/setblock ~ ~-1 ~ minecraft:beacon/summon minecraft:marker ~-1.4 ~5.5 ~-1.4 {Tags:["c9_x","c9_g"]}/summon minecraft:marker ~ ~5.5 ~-1.4 {Tags:["c9_x","c9_g"]}/summon minecraft:marker ~1.4 ~5.5 ~-1.4 {Tags:["c9_x","c9_g"]}/execute at @e[tag=c9_x] run summon minecraft:marker ~ ~-1.4 ~ {Tags:["c9_xy","c9_g"]}/execute at @e[tag=c9_x] run summon minecraft:marker ~ ~1.4 ~ {Tags:["c9_xy","c9_g"]}/execute if score #tick c9_timer matches 0..2 at @e[tag=c9_g] run summon minecraft:marker ~ ~ ~ {Tags:["c9_node"]}/execute if score #tick c9_timer matches 0..1 at @e[tag=c9_g] run tp @s ~ ~ ~1.4/execute if score #tick c9_timer matches 3 run kill @e[tag=c9_g]/execute if score #tick c9_timer matches 3 at @e[tag=c9_node] run summon minecraft:area_effect_cloud ~ ~ ~ {Duration:2,Passengers:[{id:"minecraft:block_display",Tags:["c9_cubie"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:obsidian"},transformation:{translation:[-0.62f,-0.62f,-0.62f],scale:[1.24f,1.24f,1.24f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_cubie","c9_s1"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:white_concrete"},transformation:{translation:[-0.52f,-0.66f,-0.52f],scale:[1.04f,1.32f,1.04f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_cubie","c9_s2"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:red_concrete"},transformation:{translation:[-0.66f,-0.52f,-0.52f],scale:[1.32f,1.04f,1.04f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_cubie","c9_s3"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:blue_concrete"},transformation:{translation:[-0.52f,-0.52f,-0.66f],scale:[1.04f,1.04f,1.32f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}]}/execute if score #tick c9_timer matches 4 positioned ~ ~3.5 ~ as @e[tag=c9_s1,distance=..2.2] run data merge entity @s {block_state:{Name:"minecraft:yellow_concrete"}}/execute if score #tick c9_timer matches 4 positioned ~-2.0 ~5.5 ~ as @e[tag=c9_s2,distance=..2.2] run data merge entity @s {block_state:{Name:"minecraft:orange_concrete"}}/execute if score #tick c9_timer matches 4 positioned ~ ~5.5 ~-2.0 as @e[tag=c9_s3,distance=..2.2] run data merge entity @s {block_state:{Name:"minecraft:lime_concrete"}}/scoreboard players add #tick c9_timer 1/execute if score #tick c9_timer matches 10.. as @e[tag=c9_cubie] at @s run tp @s ~ ~ ~ ~3 ~/execute if score #tick c9_timer matches 15 positioned ~1.5 ~5.5 ~ as @e[tag=c9_cubie,distance=..2.3] run data merge entity @s {interpolation_duration:15,start_interpolation:0,transformation:{left_rotation:[0.7071f,0f,0f,0.7071f]}}/execute if score #tick c9_timer matches 35 positioned ~ ~7.0 ~ as @e[tag=c9_cubie,distance=..2.3] run data merge entity @s {interpolation_duration:15,start_interpolation:0,transformation:{left_rotation:[0f,0.7071f,0f,0.7071f]}}/execute if score #tick c9_timer matches 55 positioned ~-1.5 ~5.5 ~ as @e[tag=c9_cubie,distance=..2.3] run data merge entity @s {interpolation_duration:15,start_interpolation:0,transformation:{left_rotation:[0f,0f,0.7071f,0.7071f]}}/execute if score #tick c9_timer matches 80 as @e[tag=c9_cubie] run data merge entity @s {interpolation_duration:20,start_interpolation:0,transformation:{left_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_timer matches 115.. run scoreboard players set #tick c9_timer 10setup #6 Seeds the first row of three <code>c9_g</code> generator markers along the X axis at height <code>~5.5</code>, which the following setup commands clone upward and downward to form a 3x3 vertical plane.loop #1 During the first three ticks (0, 1, and 2), each of the 9 generator markers leaves behind a permanent <code>c9_node</code> marker and steps forward by <code>1.4</code> blocks on the Z axis, creating a precise 3x3x3 grid of 27 nodes.loop #4 On tick 3, every node summons a temporary <code>area_effect_cloud</code> carrying four <code>block_display</code> passengers: one glowing obsidian core and three orthogonal concrete sticker prisms.loop #5 On tick 4, cubies on the bottom, left, and back faces have their sticker colors swapped to yellow, orange, and lime so all six sides of the Rubik's Cube display authentic contrasting puzzle colors.loop #10 Selects cubies on one slice of the cube and applies a 90-degree quaternion <code>left_rotation</code> over 15 ticks of interpolation, twisting that layer while the whole cube spins continuously.loop #13 On tick 80, all 108 display entities interpolate back to the identity quaternion <code>[0f,0f,0f,1f]</code> over 20 ticks, snapping every scrambled face back into the solved state before the loop repeats.


Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: A floating Rubik's cube with a cyan outline hovers above an iron and beacon pad, with its pieces shifting and rotating.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let a player trigger the speed-solve manually instead of running on an automatic loop, replace the tick check in loop command 13 (score #tick c9_timer matches 80) with if entity @p[distance=..6,nbt={SelectedItem:{id:"minecraft:amethyst_shard"}}] so holding an amethyst shard near the pad solves the cube on command.
/kill @e[tag=c9_cubie]/kill @e[tag=c9_node]/kill @e[tag=c9_g]/scoreboard objectives remove c9_timer/fill ~-2 ~-1 ~-2 ~2 ~ ~2 minecraft:air/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:grass_blockSummoning multiple block_display entities as passengers of a 2-tick Area Effect Cloud lets a single command spawn the obsidian core and all three sticker axes at the exact same coordinates without keeping extra carrier entities alive.
Yes. Lower the interpolation_duration value in loop commands 10 through 13 from 15 to 5 for lightning-fast speed-cubing turns, or raise it to 30 for slow-motion twists.
▶Tesseract 4D Hypercube ProjectionAnimated BlocksExpert24 cmds
▶Floating Polyhedral Origami MorphAnimated BlocksExpert21 cmds
▶Holographic Chess Endgame Battle RoyalAnimated BlocksHard24 cmds
▶Holographic Solar Flare MagnetosphereAnimated BlocksExpert24 cmds
▶Hydraulic Origami Crane Folding MatrixAnimated BlocksHard24 cmds
▶Magnetic Ferrofluid Spike VisualizerAnimated BlocksExpert24 cmds