Rainbow Beacon Wave Display

Create an automated row of seven beacons with shifting stained glass that paints a continuous flowing rainbow wave across the night sky in Minecraft.

Java EditionHolograms & Display EntitiesEasy24 commandsTested on a real 26.2 & 26.3 server
Seven beacons on a quartz platform emit shifting rainbow beams into the Minecraft night sky. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsCelebrationHoly & LightRainbowWhiteDecorationServer LobbySummoned mobsBlock building (fill/setblock/clone)21+ commands

The Rainbow Beacon Wave builds a sleek quartz and iron stage housing seven active beacons in a neat row. A scoreboard timer shifts stained glass blocks across the beams from left to right, sending a smooth wave of red, orange, yellow, lime, light blue, blue, and magenta light straight up into the sky.

Notice how the /clone command moves the entire row of glass one block over before placing the next color, while glittering end rod and colored dust particles highlight each shift.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard objectives add c9_phase dummy
  3. /fill ~-5 ~-1 ~-2 ~5 ~-1 ~2 minecraft:smooth_quartz
  4. /fill ~-4 ~-1 ~-1 ~4 ~-1 ~1 minecraft:iron_block
  5. /fill ~-3 ~ ~ ~3 ~ ~ minecraft:beacon
  6. /fill ~-5 ~ ~-2 ~5 ~ ~-2 minecraft:smooth_quartz_slab
  7. /fill ~-5 ~ ~2 ~5 ~ ~2 minecraft:smooth_quartz_slab
  8. /setblock ~-3 ~2 ~ minecraft:red_stained_glass
  9. /summon minecraft:marker ~ ~1 ~ {Tags:["c9_ctrl"]}
  10. /scoreboard players set @e[tag=c9_ctrl] c9_phase 0

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

  1. /scoreboard players add @e[tag=c9_ctrl] c9_timer 1
  2. /execute as @e[tag=c9_ctrl,scores={c9_timer=6..}] run scoreboard players add @s c9_phase 1
  3. /execute as @e[tag=c9_ctrl,scores={c9_phase=7..}] run scoreboard players set @s c9_phase 0
  4. /execute if entity @e[tag=c9_ctrl,scores={c9_timer=6..}] run clone ~-3 ~2 ~ ~2 ~2 ~ ~-2 ~2 ~ replace move
  5. /execute if entity @e[tag=c9_ctrl,scores={c9_timer=6..,c9_phase=0}] run setblock ~-3 ~2 ~ minecraft:red_stained_glass
  6. /execute if entity @e[tag=c9_ctrl,scores={c9_timer=6..,c9_phase=1}] run setblock ~-3 ~2 ~ minecraft:orange_stained_glass
  7. /execute if entity @e[tag=c9_ctrl,scores={c9_timer=6..,c9_phase=2}] run setblock ~-3 ~2 ~ minecraft:yellow_stained_glass
  8. /execute if entity @e[tag=c9_ctrl,scores={c9_timer=6..,c9_phase=3}] run setblock ~-3 ~2 ~ minecraft:lime_stained_glass
  9. /execute if entity @e[tag=c9_ctrl,scores={c9_timer=6..,c9_phase=4}] run setblock ~-3 ~2 ~ minecraft:light_blue_stained_glass
  10. /execute if entity @e[tag=c9_ctrl,scores={c9_timer=6..,c9_phase=5}] run setblock ~-3 ~2 ~ minecraft:blue_stained_glass
  11. /execute if entity @e[tag=c9_ctrl,scores={c9_timer=6..,c9_phase=6}] run setblock ~-3 ~2 ~ minecraft:magenta_stained_glass
  12. /execute if entity @e[tag=c9_ctrl,scores={c9_timer=6..}] run particle minecraft:end_rod ~ ~2.2 ~ 3 0.2 0.2 0.02 18
  13. /execute as @e[tag=c9_ctrl,scores={c9_timer=6..}] run scoreboard players set @s c9_timer 0
  14. /particle minecraft:dust{color:[1.0,0.85,0.3],scale:1.5} ~ ~4 ~ 3 2 0.2 0 5

How it works

Frames from the test run

Rainbow Beacon Wave Display - frame 1Rainbow Beacon Wave Display - frame 2Rainbow Beacon Wave Display - frame 3

Recorded on our own test server: 57 frames at about 9.4 fps. Our image check saw: Seven beacons on a quartz and iron platform shoot rainbow-colored beams into the night sky as stained glass blocks shift horizontally across them.

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 in an open flat area with a clear view of the sky so the beacon beams are not blocked.
  2. Run each of the 10 setup commands in chat or in an impulse command block to build the quartz platform, iron base, beacons, and controller marker.
  3. Place 14 repeating command blocks (or 1 repeating block connected to 13 chain command blocks, all set to Always Active) in order.
  4. Paste the loop commands into the command blocks in the exact order listed so the timer resets on the second-to-last step.
  5. Set the time to night with <code>/time set midnight</code> to see the rainbow beams clearly against the dark sky.

Remove it again 5 commands

  1. /kill @e[tag=c9_ctrl]
  2. /fill ~-5 ~-1 ~-2 ~5 ~3 ~2 minecraft:air
  3. /fill ~-5 ~-1 ~-2 ~5 ~-1 ~2 minecraft:grass_block
  4. /scoreboard objectives remove c9_timer
  5. /scoreboard objectives remove c9_phase

FAQ

Why did my beacons not turn on after running the setup?

Beacons require an unobstructed path to the sky and a full 3x3 layer of mineral blocks underneath. Make sure there are no solid blocks above the glass row and that the iron base from setup command 4 was placed at ~ ~-1 ~.

How can I make the rainbow wave move faster or slower?

Change the score check <code>c9_timer=6..</code> in the loop commands to a smaller number like <code>4..</code> for a faster wave, or a larger number like <code>12..</code> for a slower shift.

Commands used

/clone/execute/fill/particle/scoreboard/setblock/summon

Similar creations

Join 9Minecraft News & Guides