Two glowing light-mallets bounce across a giant neon xylophone, erupting each struck key into a flame pillar, chime melody, and color-matched firework.
Firework ShowsMusicCelebrationFireRainbowOrangeDecorationServer LobbyCinematicBlock displaysItem displaysFireworksScoreboard timersExecute chainsBlock building (fill/setblock/clone)Glowing outlines21+ commands
Two glowing orbs of light arc in smooth parabolic paths across a giant seven-key rainbow xylophone resting on dark oak rails. Every time a light-mallet strikes a glass key, the bar flashes upwards, rings out a musical chime note, erupts into a towering pillar of flame, and launches a color-matched aerial firework into the night sky.
By running two mallets on counter-rotating patterns at different rhythms, the stage plays an automated duet of rising and falling harmonies synchronized with bursts of colored dust and fireworks.
/scoreboard objectives add c9_t dummy/fill ~-11 ~ ~-4 ~11 ~ ~-4 dark_oak_log[axis=x]/fill ~-11 ~ ~4 ~11 ~ ~4 dark_oak_log[axis=x]/summon block_display ~-9 ~0.2 ~-5.5 {Tags:["c9_e","c9_key","c9_k0"],brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.0f,0f,0f],scale:[2.0f,0.5f,11.0f]},block_state:{Name:"minecraft:red_stained_glass"}}/summon block_display ~-6 ~0.2 ~-5.0 {Tags:["c9_e","c9_key","c9_k1"],brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.0f,0f,0f],scale:[2.0f,0.5f,10.0f]},block_state:{Name:"minecraft:orange_stained_glass"}}/summon block_display ~-3 ~0.2 ~-4.5 {Tags:["c9_e","c9_key","c9_k2"],brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.0f,0f,0f],scale:[2.0f,0.5f,9.0f]},block_state:{Name:"minecraft:yellow_stained_glass"}}/summon block_display ~0 ~0.2 ~-4.0 {Tags:["c9_e","c9_key","c9_k3"],brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.0f,0f,0f],scale:[2.0f,0.5f,8.0f]},block_state:{Name:"minecraft:lime_stained_glass"}}/summon block_display ~3 ~0.2 ~-3.5 {Tags:["c9_e","c9_key","c9_k4"],brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.0f,0f,0f],scale:[2.0f,0.5f,7.0f]},block_state:{Name:"minecraft:cyan_stained_glass"}}/summon block_display ~6 ~0.2 ~-3.0 {Tags:["c9_e","c9_key","c9_k5"],brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.0f,0f,0f],scale:[2.0f,0.5f,6.0f]},block_state:{Name:"minecraft:blue_stained_glass"}}/summon block_display ~9 ~0.2 ~-2.5 {Tags:["c9_e","c9_key","c9_k6"],brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.0f,0f,0f],scale:[2.0f,0.5f,5.0f]},block_state:{Name:"minecraft:magenta_stained_glass"}}/execute unless entity @e[tag=c9_m1] run summon item_display ~-9 ~1 ~-1.5 {Tags:["c9_e","c9_m1"],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},item:{id:"minecraft:sea_lantern",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.9f,0.9f,0.9f]}}/execute unless entity @e[tag=c9_m2] run summon item_display ~9 ~1 ~1.5 {Tags:["c9_e","c9_m2"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},item:{id:"minecraft:ochre_froglight",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.9f,0.9f,0.9f]}}/scoreboard players add #t c9_t 1/execute if score #t c9_t matches 140.. run scoreboard players set #t c9_t 0/execute as @e[tag=c9_m1] at @s run tp @s ~0.3 ~ ~/execute if score #t c9_t matches 120.. as @e[tag=c9_m1] run tp @s ~-9 ~1 ~-1.5/execute as @e[tag=c9_m2] at @s run tp @s ~-0.3 ~ ~/execute if score #t c9_t matches 120.. as @e[tag=c9_m2] run tp @s ~9 ~1 ~1.5/execute as @e[tag=c9_m1] at @s run tp @s ~ ~1 ~/execute if score #t c9_t matches 1..9 as @e[tag=c9_m1] at @s run tp @s ~ ~3.2 ~/execute if score #t c9_t matches 21..29 as @e[tag=c9_m1] at @s run tp @s ~ ~3.2 ~/execute if score #t c9_t matches 41..49 as @e[tag=c9_m1] at @s run tp @s ~ ~3.2 ~/execute if score #t c9_t matches 61..69 as @e[tag=c9_m1] at @s run tp @s ~ ~3.2 ~/execute as @e[tag=c9_key] at @s if entity @e[tag=c9_m1,distance=..2.2] if score #t c9_t matches ..80 if block ~ ~-1 ~ grass_block run summon firework_rocket ~ ~1 ~2 {LifeTime:18,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"large_ball",has_twinkle:1b,colors:[I;16724787,16766720,65408,52479,16711935]}]}}}}setup #4 Summons the first xylophone bar using a <code>block_display</code> entity scaled to 2 blocks wide and 11 blocks long, with maximum sky and block brightness so the stained glass glows like neon at night.loop #1 Automatically spawns the primary glowing light-mallet (<code>c9_m1</code>) as a sea lantern <code>item_display</code> with a golden glow outline if it is not already on the stage.loop #5 Slides the first light-mallet smoothly across the 7 keys from left to right at 0.3 blocks per tick, while commands 9-12 lift it up into a hopping arc between key strikes.loop #14 Detects when a light-mallet passes over a xylophone key and launches an aerial firework rocket above that key.


Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A rainbow stained-glass xylophone on dark rails is struck by moving glowing cubes, producing huge pillars of fire and fireworks.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let real players play the giant xylophone instead of the automated light-mallets, replace @e[tag=c9_m1,distance=..2.2] in the final loop command with @a[distance=..2.2]. Whenever a player jumps or runs across the neon glass bars, the keys beneath their feet will launch fireworks.
/kill @e[tag=c9_e]/fill ~-11 ~ ~-4 ~11 ~ ~-4 air/fill ~-11 ~ ~4 ~11 ~ ~4 air/scoreboard objectives remove c9_tBlock displays let us set custom non-grid lengths (Tapering from 11 blocks down to 5 blocks) and force full 15 brightness so the stained glass glows brightly in the dark without needing hidden light blocks.
Adjust the X movement offset in loop commands 4 and 6 (currently 0.3 and -0.3) and scale the reset time in loop command 3 to match.
▶Choreographed Pyrotechnic SymphonyFirework ShowsHard24 cmds
▶Venetian Glassblower Molten Goblet SpinFirework ShowsExpert22 cmds
▶Harmonic Tuning Fork Crystal Shatter ResonanceFirework ShowsHard23 cmds
▶Iridescent Scarab Beetle Solar UnfurlingFirework ShowsExpert24 cmds
▶Luminous Glass Harp Water-Rim Resonance RingsFirework ShowsMedium24 cmds
▶Automated Firework SymphonyFirework ShowsMedium21 cmds