Build a self-playing kinetic percussion ball machine in Minecraft that shoots glowing orbs from brass cannons to strike drums and note blocks in a lively show.
Factories & MachinesMusicTechnologyCelebrationRainbowCyanGoldDecorationServer LobbyCinematicItem displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Sounds21+ commands
Inspired by classic 3D computer animation demos, the Kinetic Percussion Ball Machine is a self-playing musical contraption built right into your Minecraft world. Four overhead brass tubes fire glowing colored spheres in precise parabolic arcs across a dark prismarine stage. As each projectile strikes its target drum pad, it triggers a musical note, a flash of colored dust, and a physical bounce before vanishing into a sparkle of fireworks.
Everything runs automatically using scoreboard physics and custom item display entities. Because the projectiles are rendered as smooth scaled snowballs with glowing outlines, the motion looks fluid and vibrant, especially when viewed at night with all four instrument channels firing in sync.
/scoreboard objectives add c9_t dummy/fill ~-8 ~ ~-8 ~8 ~ ~8 dark_prismarine/fill ~-8 ~ ~-8 ~8 ~ ~8 sea_lantern replace dark_prismarine/fill ~-7 ~ ~-7 ~7 ~ ~7 polished_blackstone/setblock ~ ~1 ~ beacon/setblock ~-3 ~1 ~ note_block[note=6]/setblock ~3 ~1 ~ note_block[note=13]/setblock ~ ~1 ~-3 note_block[note=18]/setblock ~ ~1 ~3 note_block[note=22]/summon marker ~ ~1 ~ {Tags:["c9_m","c9_ctrl"]}/execute as @e[tag=c9_ctrl] run scoreboard players add @s c9_t 1/execute as @e[tag=c9_ctrl,scores={c9_t=80..}] run scoreboard players set @s c9_t 0/execute if entity @e[tag=c9_ctrl,scores={c9_t=1}] run summon item_display ~-8 ~6 ~ {Tags:["c9_m","c9_b","c9_b1"],Glowing:1b,glow_color_override:16724787,item:{id:"minecraft:snowball"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.2f,1.2f,1.2f]},teleport_duration:1}/execute if entity @e[tag=c9_ctrl,scores={c9_t=21}] run summon item_display ~8 ~6 ~ {Tags:["c9_m","c9_b","c9_b2"],Glowing:1b,glow_color_override:3394815,item:{id:"minecraft:snowball"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.2f,1.2f,1.2f]},teleport_duration:1}/execute if entity @e[tag=c9_ctrl,scores={c9_t=41}] run summon item_display ~ ~6 ~-8 {Tags:["c9_m","c9_b","c9_b3"],Glowing:1b,glow_color_override:3407667,item:{id:"minecraft:snowball"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.2f,1.2f,1.2f]},teleport_duration:1}/execute if entity @e[tag=c9_ctrl,scores={c9_t=61}] run summon item_display ~ ~6 ~8 {Tags:["c9_m","c9_b","c9_b4"],Glowing:1b,glow_color_override:16766720,item:{id:"minecraft:snowball"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.2f,1.2f,1.2f]},teleport_duration:1}/execute as @e[tag=c9_b] run scoreboard players add @s c9_t 1/execute as @e[tag=c9_b1,scores={c9_t=..20}] at @s run tp @s ~0.25 ~-0.22 ~/execute as @e[tag=c9_b1,scores={c9_t=21..35}] at @s run tp @s ~0.18 ~0.12 ~/execute as @e[tag=c9_b2,scores={c9_t=..20}] at @s run tp @s ~-0.25 ~-0.22 ~/execute as @e[tag=c9_b2,scores={c9_t=21..35}] at @s run tp @s ~-0.18 ~0.12 ~/execute as @e[tag=c9_b3,scores={c9_t=..20}] at @s run tp @s ~ ~-0.22 ~0.25/execute as @e[tag=c9_b4,scores={c9_t=..20}] at @s run tp @s ~ ~-0.22 ~-0.25/execute as @e[tag=c9_b,scores={c9_t=20}] at @s run particle note ~ ~0.6 ~ 0.3 0.3 0.3 1 6 force/execute as @e[tag=c9_b,scores={c9_t=20}] at @s run playsound block.note_block.xylophone master @a ~ ~ ~ 2 1.2/execute as @e[tag=c9_b,scores={c9_t=35..}] at @s run kill @ssetup #1 Creates the master scoreboard timer <code>c9_t</code> used both by the central rhythm controller and by individual kinetic balls to track their flight arc.loop #3 Every 80-tick bar, summons a glowing red <code>item_display</code> snowball at the west launcher position with <code>teleport_duration:1</code> for smooth frame-interpolated movement.loop #8 During the first 20 ticks of flight, moves the west projectile downward and inward along a diagonal vector so it lands squarely on top of the west note block at tick 20.loop #9 After striking the note block at tick 20, reverses the vertical motion vector upward so the ball visibly bounces off the drum pad before disappearing at tick 35.loop #14 At the exact moment of impact (<code>c9_t=20</code>), bursts colorful musical note particles above the struck drum block.


Recorded on our own test server: 49 frames at about 9.7 fps. Our image check saw: A dark stone platform bordered by sea lanterns features four note blocks around a beacon, with glowing colored spheres bouncing between them and triggering musical note particles.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
If you want players to trigger the four kinetic ball channels manually instead of using the automatic 80-tick clock, replace the @e[tag=c9_ctrl,scores={c9_t=...}] conditions in loop commands 3 through 6 with pressure plates or buttons wired directly to the summon commands, allowing players to perform live drum solos.
/kill @e[tag=c9_m]/scoreboard objectives remove c9_t/fill ~-8 ~ ~-8 ~8 ~6 ~8 airEach ball is an item_display entity spawned with teleport_duration set to 1 tick, which tells the Minecraft client to smoothly interpolate every small coordinate change.
Yes! Adjust the pitch number at the end of the playsound command in the loop, or add separate playsound commands for each ball tag (c9_b1 through c9_b4) with different pitches.
/execute/fill/kill/particle/playsound/scoreboard/setblock/summon/tp
▶Goliath Watchmaker Tourbillon EscapementFactories & MachinesExpert24 cmds
▶High-Voltage Tesla Coil Plasma Arc SymphonyFactories & MachinesHard24 cmds
▶Industrial Hydraulic Press vs Anvil & DiamondFactories & MachinesMedium24 cmds
▶Hyperdrive Warp Core Ignition SequenceFactories & MachinesHard24 cmds
▶Kinetic Strandbeest Wind WalkerFactories & MachinesExpert24 cmds
▶Leonardo's Self-Propelled Lion AutomatonFactories & MachinesHard24 cmds