Build a floating, rotating rainbow monolith in vanilla Minecraft using overlapping block_display entities, smooth scale interpolation, and glowing outlines.
Animated BlocksMysticTechnologyRainbowPurpleCyanDecorationServer LobbyBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Rotation math21+ commands
The Chromatic Shifting Cube is a floating, rotating monolith that shifts through the colors of the rainbow right before your eyes. Instead of abruptly swapping blocks, it uses overlapping block_display entities that smoothly expand and contract out of a central dark frame, paired with matching glowing outlines and sparkling particles.
Because everything is powered by display interpolation and scoreboard timers, the color transitions look fluid and mechanical, making it a great centerpiece for futuristic hubs, magic towers, or sci-fi builds.
/scoreboard objectives add c9_t dummy/fill ~-2 ~ ~-2 ~2 ~ ~2 polished_blackstone_slab/fill ~-1 ~ ~-1 ~1 ~ ~1 dark_prismarine/setblock ~ ~ ~ sea_lantern/summon marker ~ ~4.5 ~ {Tags:["c9_all","c9_ctrl"]}/summon block_display ~ ~4.5 ~ {Tags:["c9_all","c9_shell"],Glowing:1b,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:20,glow_color_override:16724787,block_state:{Name:"minecraft:white_stained_glass"},transformation:{translation:[-1.35f,-1.35f,-1.35f],scale:[2.7f,2.7f,2.7f],left_rotation:[0.25f,0.1f,0.25f,0.93f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~4.5 ~ {Tags:["c9_all","c9_frame"],brightness:{sky:15,block:15},teleport_duration:2,block_state:{Name:"minecraft:crying_obsidian"},transformation:{translation:[-1.0f,-1.0f,-1.0f],scale:[2.0f,2.0f,2.0f],left_rotation:[0.353f,0f,0.353f,0.866f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~4.5 ~ {Tags:["c9_all","c9_c0"],Glowing:1b,glow_color_override:16724787,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:20,block_state:{Name:"minecraft:red_concrete"},transformation:{translation:[-1.15f,-1.15f,-1.15f],scale:[2.3f,2.3f,2.3f],left_rotation:[0.353f,0f,0.353f,0.866f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~4.5 ~ {Tags:["c9_all","c9_c1"],Glowing:1b,glow_color_override:16750848,brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:20,block_state:{Name:"minecraft:orange_concrete"},transformation:{translation:[-0.4f,-0.4f,-0.4f],scale:[0.8f,0.8f,0.8f],left_rotation:[0.353f,0f,0.353f,0.866f],right_rotation:[0f,0f,0f,1f]}}/scoreboard players add @e[tag=c9_ctrl] c9_t 1/scoreboard players set @e[tag=c9_ctrl,scores={c9_t=180..}] c9_t 0/execute as @e[tag=c9_all,type=block_display] at @s run tp @s ~ ~ ~ ~3 ~/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 run data merge entity @e[tag=c9_c0,limit=1] {block_state:{Name:"minecraft:red_concrete"},glow_color_override:16724787,start_interpolation:0,transformation:{translation:[-1.15f,-1.15f,-1.15f],scale:[2.3f,2.3f,2.3f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 1 run data merge entity @e[tag=c9_c1,limit=1] {start_interpolation:0,transformation:{translation:[-0.4f,-0.4f,-0.4f],scale:[0.8f,0.8f,0.8f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 30 run data merge entity @e[tag=c9_c1,limit=1] {block_state:{Name:"minecraft:orange_concrete"},glow_color_override:16750848,start_interpolation:0,transformation:{translation:[-1.15f,-1.15f,-1.15f],scale:[2.3f,2.3f,2.3f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 30 run data merge entity @e[tag=c9_c0,limit=1] {start_interpolation:0,transformation:{translation:[-0.4f,-0.4f,-0.4f],scale:[0.8f,0.8f,0.8f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 60 run data merge entity @e[tag=c9_c0,limit=1] {block_state:{Name:"minecraft:yellow_concrete"},glow_color_override:16776960,start_interpolation:0,transformation:{translation:[-1.15f,-1.15f,-1.15f],scale:[2.3f,2.3f,2.3f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 60 run data merge entity @e[tag=c9_c1,limit=1] {start_interpolation:0,transformation:{translation:[-0.4f,-0.4f,-0.4f],scale:[0.8f,0.8f,0.8f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 90 run data merge entity @e[tag=c9_c1,limit=1] {block_state:{Name:"minecraft:lime_concrete"},glow_color_override:5635925,start_interpolation:0,transformation:{translation:[-1.15f,-1.15f,-1.15f],scale:[2.3f,2.3f,2.3f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 90 run data merge entity @e[tag=c9_c0,limit=1] {start_interpolation:0,transformation:{translation:[-0.4f,-0.4f,-0.4f],scale:[0.8f,0.8f,0.8f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 120 run data merge entity @e[tag=c9_c0,limit=1] {block_state:{Name:"minecraft:cyan_concrete"},glow_color_override:5636095,start_interpolation:0,transformation:{translation:[-1.15f,-1.15f,-1.15f],scale:[2.3f,2.3f,2.3f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_t matches 150 run data merge entity @e[tag=c9_c1,limit=1] {block_state:{Name:"minecraft:magenta_concrete"},glow_color_override:16733695,start_interpolation:0,transformation:{translation:[-1.15f,-1.15f,-1.15f],scale:[2.3f,2.3f,2.3f]}}/particle end_rod ~ ~4.5 ~ 1.3 1.3 1.3 0.02 2 forcesetup #6 Summons an outer translucent glass shell tilted on two axes using a quaternion <code>left_rotation</code> and centers it around the spawn point by offsetting <code>translation</code> to half of its negative <code>scale</code>.setup #8 Creates the first inner color cube (<code>c9_c0</code>) with full sky and block brightness, glowing enabled, and an <code>interpolation_duration</code> of 20 ticks (1 second) so size changes animate smoothly.loop #3 Rotates all display entities by 3 degrees per tick around their vertical axis, utilizing <code>teleport_duration:2</code> to keep the spinning smooth.loop #6 Every 30 ticks (1.5 seconds), one inner cube expands to 2.3x scale with a new concrete color and matching decimal <code>glow_color_override</code> while the previous cube shrinks inside the crying obsidian frame.


Recorded on our own test server: 70 frames at about 9.9 fps. Our image check saw: A floating, rotating cube above a pedestal shifts through purple, cyan, and red inner blocks with glowing outlines and white sparkles.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
/kill @e[tag=c9_all]/scoreboard objectives remove c9_t/fill ~-2 ~ ~-2 ~2 ~ ~2 airBlock displays scale outward from their negative X/Y/Z corner by default. Setting the translation to negative half of the scale (for example, translation -1.15 when scale is 2.3) keeps the block centered on the entity position as it grows and shrinks.
Change interpolation_duration on the c9_c0 and c9_c1 entities to control how many ticks the morph takes, and adjust the score intervals (1, 30, 60, 90, 120, 150) in the loop commands to change how often a new color starts.
▶Tesseract 4D Hypercube ProjectionAnimated BlocksExpert24 cmds
▶Floating Polyhedral Origami MorphAnimated BlocksExpert21 cmds
▶Holographic Chess Endgame Battle RoyalAnimated BlocksHard24 cmds
▶Hydraulic Origami Crane Folding MatrixAnimated BlocksHard24 cmds
▶Block Gravity SimulatorAnimated BlocksExpert22 cmds
▶Hypnotic Armor Stand Cone GeneratorAnimated BlocksMedium23 cmds