Summon a giant glowing 2x2x2 Rubik's cube woven entirely from vibrant dust particles that rotates its layers and solves itself in mid-air.
Shapes & GeometryTechnologyRainbowRedBlueDecorationServer LobbyLearningRotation math21+ commands
The Self-Solving Particle Puzzle Cube suspends a giant, glowing 2x2x2 puzzle cube in mid-air above your world. Instead of using solid blocks, each of the 8 sub-cubes is woven from dense, colorful dust particles that leave radiant trails as they move.
Controlled by invisible marker pivots and a scoreboard clock, the cube automatically twists its top and bottom layers in opposite directions before reversing the moves to solve itself in a seamless loop.
/scoreboard objectives add c9_tick dummy/summon marker ~ ~5.5 ~ {Tags:["c9_cube","c9_core"]}/summon marker ~-1.6 ~3.9 ~-1.6 {Tags:["c9_cube","c9_node"]}/summon marker ~1.6 ~3.9 ~-1.6 {Tags:["c9_cube","c9_node"]}/summon marker ~-1.6 ~7.1 ~-1.6 {Tags:["c9_cube","c9_node"]}/summon marker ~1.6 ~7.1 ~-1.6 {Tags:["c9_cube","c9_node"]}/summon marker ~-1.6 ~3.9 ~1.6 {Tags:["c9_cube","c9_node"]}/summon marker ~1.6 ~3.9 ~1.6 {Tags:["c9_cube","c9_node"]}/summon marker ~-1.6 ~7.1 ~1.6 {Tags:["c9_cube","c9_node"]}/summon marker ~1.6 ~7.1 ~1.6 {Tags:["c9_cube","c9_node"]}/scoreboard players add @e[tag=c9_core] c9_tick 1/execute if score @e[tag=c9_core,limit=1] c9_tick matches 111.. run scoreboard players set @e[tag=c9_core] c9_tick 1/execute at @e[tag=c9_core] run particle end_rod ~ ~ ~ 2.2 2.2 2.2 0.02 4 force/execute as @e[tag=c9_node] at @s rotated ~ 0 run particle dust{color:[0.15,0.15,0.15],scale:2.5} ~ ~ ~ 0.5 0.5 0.5 0 8 force/execute as @e[tag=c9_node] at @s rotated ~ 0 run particle dust{color:[1.0,0.15,0.15],scale:2.2} ^ ^ ^1.35 0.45 0.45 0.05 0 10 force/execute as @e[tag=c9_node] at @s rotated ~ 0 run particle dust{color:[1.0,0.55,0.0],scale:2.2} ^ ^ ^-1.35 0.45 0.45 0.05 0 10 force/execute as @e[tag=c9_node] at @s rotated ~ 0 run particle dust{color:[0.1,0.45,1.0],scale:2.2} ^1.35 ^ ^ 0.05 0.45 0.45 0 10 force/execute as @e[tag=c9_node] at @s rotated ~ 0 run particle dust{color:[0.15,0.9,0.25],scale:2.2} ^-1.35 ^ ^ 0.05 0.45 0.45 0 10 force/execute as @e[tag=c9_node] at @s rotated ~ 0 run particle dust{color:[1.0,0.95,0.1],scale:2.2} ^ ^1.35 ^ 0.45 0.05 0.45 0 10 force/execute as @e[tag=c9_node] at @s rotated ~ 0 run particle dust{color:[0.95,0.95,1.0],scale:2.2} ^ ^-1.35 ^ 0.45 0.05 0.45 0 10 force/execute if score @e[tag=c9_core,limit=1] c9_tick matches 1..18 positioned ~ ~7.1 ~ as @e[tag=c9_node,distance=..2.6] at @s facing ~ ~7.1 ~ rotated ~ 0 run tp @s ^-0.1976 ^ ^0.0086 ~5 ~/execute if score @e[tag=c9_core,limit=1] c9_tick matches 26..43 positioned ~ ~3.9 ~ as @e[tag=c9_node,distance=..2.6] at @s facing ~ ~3.9 ~ rotated ~ 0 run tp @s ^0.1976 ^ ^0.0086 ~-5 ~/execute if score @e[tag=c9_core,limit=1] c9_tick matches 56..73 positioned ~ ~3.9 ~ as @e[tag=c9_node,distance=..2.6] at @s facing ~ ~3.9 ~ rotated ~ 0 run tp @s ^-0.1976 ^ ^0.0086 ~5 ~/execute if score @e[tag=c9_core,limit=1] c9_tick matches 81..98 positioned ~ ~7.1 ~ as @e[tag=c9_node,distance=..2.6] at @s facing ~ ~7.1 ~ rotated ~ 0 run tp @s ^0.1976 ^ ^0.0086 ~-5 ~setup #3 Summons the first of eight invisible <code>c9_node</code> marker entities arranged in a 3.2x3.2x3.2 grid around the core at <code>~ ~5.5 ~</code>. Each marker acts as the center of one sub-cube.loop #5 Projects the red front face of each sub-cube at local offset <code>^ ^ ^1.35</code> relative to the marker's facing angle. Because it uses local coordinates, rotating the marker's yaw rotates all six colored faces around the sub-cube together.loop #11 During ticks 1 to 18, selects only the four top-layer nodes by positioning at <code>~ ~7.1 ~</code> with <code>distance=..2.6</code>. It faces the layer center and steps sideways along a 5-degree chord (<code>^-0.1976 ^ ^0.0086</code>) while adding 5 degrees to yaw, completing a clean 90-degree turn over 18 ticks.loop #12 During ticks 26 to 43, selects the four bottom-layer nodes around <code>~ ~3.9 ~</code> and orbits them 90 degrees in the opposite direction before the later commands reverse both moves to solve the puzzle.


Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A giant floating 2x2x2 Rubik's cube made entirely of red, green, orange, yellow, and blue dust particles rotates in mid-air at night.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the puzzle cube follow or float above a specific player instead of a fixed stage point, replace the relative center coordinates (~ ~7.1 ~ and ~ ~3.9 ~) in loop commands 11 through 14 with /execute at @p positioned ~ ~7.1 ~ ... and teleport the nodes relative to the player's position.
/kill @e[tag=c9_cube]/scoreboard objectives remove c9_tickEach of the 8 sub-cube nodes spawns a compact burst of dust particles using the force mode, and no extra entities are created in the loop—only 9 lightweight marker entities exist the entire time.
When stepping sideways tangential to the circle, the command also steps slightly forward by 0.0086 blocks toward the pivot center, matching the exact chord geometry of a 5-degree arc on a 2.2627-block radius.
▶Ferrofluid Magnetic Spike Dance SculptureShapes & GeometryHard23 cmds
▶Kinetic Raindrop Matrix Sculpture Shape-ShifterShapes & GeometryExpert24 cmds
▶Spinning Crookes Radiometer Light MillShapes & GeometryMedium23 cmds
▶Acoustic Chladni Plate Sand ResonanceShapes & GeometryExpert24 cmds
▶Animated Particle Cinema ScreenShapes & GeometryExpert22 cmds
▶Automated Circle BuilderShapes & GeometryEasy19 cmds