Kinetic Percussion Ball Machine

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.

Java EditionComplex Contraptions & CinematicsExpert26 commandsTested on a real 26.2 & 26.3 server
Glowing colored spheres bounce across note blocks on a dark platform, emitting musical note particles. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-8 ~ ~-8 ~8 ~ ~8 dark_prismarine
  3. /fill ~-8 ~ ~-8 ~8 ~ ~8 sea_lantern replace dark_prismarine
  4. /fill ~-7 ~ ~-7 ~7 ~ ~7 polished_blackstone
  5. /setblock ~ ~1 ~ beacon
  6. /setblock ~-3 ~1 ~ note_block[note=6]
  7. /setblock ~3 ~1 ~ note_block[note=13]
  8. /setblock ~ ~1 ~-3 note_block[note=18]
  9. /setblock ~ ~1 ~3 note_block[note=22]
  10. /summon marker ~ ~1 ~ {Tags:["c9_m","c9_ctrl"]}

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

  1. /execute as @e[tag=c9_ctrl] run scoreboard players add @s c9_t 1
  2. /execute as @e[tag=c9_ctrl,scores={c9_t=80..}] run scoreboard players set @s c9_t 0
  3. /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}
  4. /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}
  5. /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}
  6. /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}
  7. /execute as @e[tag=c9_b] run scoreboard players add @s c9_t 1
  8. /execute as @e[tag=c9_b1,scores={c9_t=..20}] at @s run tp @s ~0.25 ~-0.22 ~
  9. /execute as @e[tag=c9_b1,scores={c9_t=21..35}] at @s run tp @s ~0.18 ~0.12 ~
  10. /execute as @e[tag=c9_b2,scores={c9_t=..20}] at @s run tp @s ~-0.25 ~-0.22 ~
  11. /execute as @e[tag=c9_b2,scores={c9_t=21..35}] at @s run tp @s ~-0.18 ~0.12 ~
  12. /execute as @e[tag=c9_b3,scores={c9_t=..20}] at @s run tp @s ~ ~-0.22 ~0.25
  13. /execute as @e[tag=c9_b4,scores={c9_t=..20}] at @s run tp @s ~ ~-0.22 ~-0.25
  14. /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
  15. /execute as @e[tag=c9_b,scores={c9_t=20}] at @s run playsound block.note_block.xylophone master @a ~ ~ ~ 2 1.2
  16. /execute as @e[tag=c9_b,scores={c9_t=35..}] at @s run kill @s

How it works

Frames from the test run

Kinetic Percussion Ball Machine - frame 1Kinetic Percussion Ball Machine - frame 2Kinetic Percussion Ball Machine - frame 3

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.

Build it in your world

  1. Create a flat clear area of at least 20x20 blocks and stand in the center.
  2. Run each of the 10 setup commands in chat to build the prismarine platform, central beacon, four tuned note blocks, and the invisible rhythm controller marker.
  3. Place a line or stack of 16 Repeating Command Blocks set to Always Active nearby.
  4. Paste one loop command into each repeating command block in order.
  5. Switch the time to night (<code>/time set night</code>) to see the glowing neon balls bounce across the note blocks in an automated four-beat percussion loop.

Use it with real players

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.

Remove it again 3 commands

  1. /kill @e[tag=c9_m]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-8 ~ ~-8 ~8 ~6 ~8 air

FAQ

Why do the balls move smoothly instead of jumping block by block?

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

Can I change the musical notes played on impact?

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.

Commands used

/execute/fill/kill/particle/playsound/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides