Build a swirling sculpture of floating stained glass panels that smoothly wave and cycle through the rainbow spectrum using display entities.
Animated BlocksMysticHoly & LightRainbowOrangeCyanDecorationServer LobbyParticlesBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
Prismatic Rainbow Glass turns a few command blocks into a kinetic light sculpture. Six huge stained glass panels orbit a glowing beacon pedestal while a wave of rainbow color rises through the helix, complete with sparkling dust trails and soft chime notes.
Because it uses modern block_display entities with transformation matrices and brightness overrides, the glass panels tilt and glide smoothly without looking blocky or needing any mods.
/scoreboard objectives add c9_t dummy/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:quartz_bricks/setblock ~ ~-1 ~ minecraft:sea_lantern/summon minecraft:block_display ~ ~1.5 ~ {Tags:["c9_all","c9_core"],brightness:{sky:15,block:15},teleport_duration:2,interpolation_duration:2,block_state:{Name:"minecraft:beacon"},transformation:{translation:[-0.6f,-0.6f,-0.6f],scale:[1.2f,1.2f,1.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon minecraft:block_display ~ ~1 ~ {Tags:["c9_all","c9_g","c9_0"],Rotation:[0f,0f],brightness:{sky:15,block:15},teleport_duration:2,block_state:{Name:"minecraft:red_stained_glass"},transformation:{translation:[-0.9f,0f,-0.9f],scale:[1.8f,0.35f,1.8f],left_rotation:[0.15f,0f,0.15f,0.977f],right_rotation:[0f,0f,0f,1f]}}/summon minecraft:block_display ~ ~1.65 ~ {Tags:["c9_all","c9_g","c9_1"],Rotation:[60f,0f],brightness:{sky:15,block:15},teleport_duration:2,block_state:{Name:"minecraft:orange_stained_glass"},transformation:{translation:[-0.9f,0f,-0.9f],scale:[1.8f,0.35f,1.8f],left_rotation:[0.15f,0f,0.15f,0.977f],right_rotation:[0f,0f,0f,1f]}}/summon minecraft:block_display ~ ~2.3 ~ {Tags:["c9_all","c9_g","c9_2"],Rotation:[120f,0f],brightness:{sky:15,block:15},teleport_duration:2,block_state:{Name:"minecraft:yellow_stained_glass"},transformation:{translation:[-0.9f,0f,-0.9f],scale:[1.8f,0.35f,1.8f],left_rotation:[0.15f,0f,0.15f,0.977f],right_rotation:[0f,0f,0f,1f]}}/summon minecraft:block_display ~ ~2.95 ~ {Tags:["c9_all","c9_g","c9_3"],Rotation:[180f,0f],brightness:{sky:15,block:15},teleport_duration:2,block_state:{Name:"minecraft:lime_stained_glass"},transformation:{translation:[-0.9f,0f,-0.9f],scale:[1.8f,0.35f,1.8f],left_rotation:[0.15f,0f,0.15f,0.977f],right_rotation:[0f,0f,0f,1f]}}/summon minecraft:block_display ~ ~3.6 ~ {Tags:["c9_all","c9_g","c9_4"],Rotation:[240f,0f],brightness:{sky:15,block:15},teleport_duration:2,block_state:{Name:"minecraft:light_blue_stained_glass"},transformation:{translation:[-0.9f,0f,-0.9f],scale:[1.8f,0.35f,1.8f],left_rotation:[0.15f,0f,0.15f,0.977f],right_rotation:[0f,0f,0f,1f]}}/summon minecraft:block_display ~ ~4.25 ~ {Tags:["c9_all","c9_g","c9_5"],Rotation:[300f,0f],brightness:{sky:15,block:15},teleport_duration:2,block_state:{Name:"minecraft:magenta_stained_glass"},transformation:{translation:[-0.9f,0f,-0.9f],scale:[1.8f,0.35f,1.8f],left_rotation:[0.15f,0f,0.15f,0.977f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[tag=c9_g] at @s run tp @s ^0.12 ^ ^ ~4 ~/execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~-6 ~/scoreboard players add @e[tag=c9_g] c9_t 1/scoreboard players set @e[tag=c9_g,scores={c9_t=60..}] c9_t 0/execute as @e[tag=c9_g,scores={c9_t=0}] run data modify entity @s block_state.Name set value "minecraft:red_stained_glass"/execute as @e[tag=c9_g,scores={c9_t=10}] run data modify entity @s block_state.Name set value "minecraft:orange_stained_glass"/execute as @e[tag=c9_g,scores={c9_t=20}] run data modify entity @s block_state.Name set value "minecraft:yellow_stained_glass"/execute as @e[tag=c9_g,scores={c9_t=30}] run data modify entity @s block_state.Name set value "minecraft:lime_stained_glass"/execute as @e[tag=c9_g,scores={c9_t=40}] run data modify entity @s block_state.Name set value "minecraft:light_blue_stained_glass"/execute as @e[tag=c9_g,scores={c9_t=50}] run data modify entity @s block_state.Name set value "minecraft:magenta_stained_glass"/execute at @e[tag=c9_g,scores={c9_t=5}] run particle minecraft:dust{color:[1.0,0.25,0.35],scale:1.4} ~ ~0.2 ~ 0.5 0.1 0.5 0 2/execute at @e[tag=c9_g,scores={c9_t=25}] run particle minecraft:dust{color:[0.25,1.0,0.5],scale:1.4} ~ ~0.2 ~ 0.5 0.1 0.5 0 2/execute at @e[tag=c9_g,scores={c9_t=45}] run particle minecraft:dust{color:[0.35,0.6,1.0],scale:1.4} ~ ~0.2 ~ 0.5 0.1 0.5 0 2/execute at @e[tag=c9_0,scores={c9_t=1}] run particle minecraft:end_rod ~ ~1.5 ~ 0.8 1.5 0.8 0.02 10setup #5 Summons a tilted stained glass panel using a <code>block_display</code> with <code>teleport_duration:2</code> and full sky/block brightness so it glows in the dark and interpolates movement smoothly.loop #1 Moves each glass panel slightly sideways in local coordinates (<code>^0.12 ^ ^</code>) while rotating it 4 degrees per tick, making every layer orbit in a clean circle around the center.loop #3 Advances the <code>c9_t</code> timer on every panel. Combined with staggered starting colors or scores, each panel hits the color thresholds at different moments to create a traveling rainbow wave.loop #5 Swaps the display entity's <code>block_state.Name</code> NBT directly to the next stained glass color in the spectrum every 10 ticks (half a second).


Recorded on our own test server: 50 frames at about 9.9 fps. Our image check saw: Six large stained glass panels orbit and tilt around a glowing central beacon pedestal while changing colors between orange and light blue with sparkling particles.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
Want the prism to follow a player like a magical aura? Replace the first loop command with /execute as @e[tag=c9_g] at @p run tp @s ~ ~1.5 ~ ~6 ~ and adjust the translation Y values on each layer so the rainbow rings spin directly around the nearest player.
/kill @e[tag=c9_all]/scoreboard objectives remove c9_t/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:grass_blockEach block_display entity uses the brightness NBT tag set to sky:15 and block:15, which forces maximum lighting on the glass regardless of the surrounding light level.
Increase the scale values inside the transformation compound when summoning the panels, or change ^0.12 in the first loop command to a larger number to widen their orbit.
▶Self-Assembling Grand StaircaseAnimated BlocksMedium23 cmds
▶Ribbon-Weaving Spiral StaircaseAnimated BlocksMedium23 cmds
▶Seamless Block CircleAnimated BlocksEasy18 cmds
▶Stacking Curved-Triangle SculpturesAnimated BlocksHard21 cmds
▶Tesseract 4D Hypercube ProjectionAnimated BlocksExpert24 cmds