Prismatic Rainbow Glass

Build a swirling sculpture of floating stained glass panels that smoothly wave and cycle through the rainbow spectrum using display entities.

Java EditionHolograms & Display EntitiesEasy24 commandsTested on a real 26.2 & 26.3 server
Stained glass panels orbit a glowing beacon pedestal, changing colors amidst sparkling particle effects at night. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:quartz_bricks
  3. /setblock ~ ~-1 ~ minecraft:sea_lantern
  4. /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]}}
  5. /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]}}
  6. /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]}}
  7. /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]}}
  8. /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]}}
  9. /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]}}
  10. /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]}}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /execute as @e[tag=c9_g] at @s run tp @s ^0.12 ^ ^ ~4 ~
  2. /execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~-6 ~
  3. /scoreboard players add @e[tag=c9_g] c9_t 1
  4. /scoreboard players set @e[tag=c9_g,scores={c9_t=60..}] c9_t 0
  5. /execute as @e[tag=c9_g,scores={c9_t=0}] run data modify entity @s block_state.Name set value "minecraft:red_stained_glass"
  6. /execute as @e[tag=c9_g,scores={c9_t=10}] run data modify entity @s block_state.Name set value "minecraft:orange_stained_glass"
  7. /execute as @e[tag=c9_g,scores={c9_t=20}] run data modify entity @s block_state.Name set value "minecraft:yellow_stained_glass"
  8. /execute as @e[tag=c9_g,scores={c9_t=30}] run data modify entity @s block_state.Name set value "minecraft:lime_stained_glass"
  9. /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"
  10. /execute as @e[tag=c9_g,scores={c9_t=50}] run data modify entity @s block_state.Name set value "minecraft:magenta_stained_glass"
  11. /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
  12. /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
  13. /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
  14. /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 10

How it works

Frames from the test run

Prismatic Rainbow Glass - frame 1Prismatic Rainbow Glass - frame 2Prismatic Rainbow Glass - frame 3

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.

Build it in your world

  1. Stand where you want the center of the sculpture and run all 10 setup commands in chat or in an impulse command block.
  2. To make the color wave ripple vertically instead of changing all at once, give each layer a staggered starting time by running: <code>/scoreboard players set @e[tag=c9_1] c9_t 10</code>, <code>c9_2</code> to <code>20</code>, <code>c9_3</code> to <code>30</code>, <code>c9_4</code> to <code>40</code>, and <code>c9_5</code> to <code>50</code>.
  3. Place 14 command blocks in a line or stack nearby, set the first one to Repeating / Always Active, and chain the rest as Chain / Always Active.
  4. Paste the 14 loop commands into those command blocks in order.
  5. Set the time to night or place the sculpture in a dark room to see the glowing glass panels and colorful dust particles at full contrast.

Use it with real players

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.

Remove it again 3 commands

  1. /kill @e[tag=c9_all]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:grass_block

FAQ

Why do the glass panels look bright even at night?

Each 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.

How can I make the sculpture taller or wider?

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.

Commands used

/data/execute/fill/particle/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides