Build an automated dark prismarine and blackstone arena that fires glowing cyan and magenta physics spheres that bounce off floors and walls with sparks.
SimulationsTechnologyCyanPinkBlackLearningMini-gameDecorationBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Sounds21+ commands
This command creation builds an open-front dark prismarine and blackstone arena equipped with two automated launchers. Every second, glowing cyan and magenta spheres shoot across the room, pulled down by custom gravity while ricocheting off the floor and walls with a burst of musical chimes and colourful sparks.
It works by storing velocity values in entity NBT and updating them every tick, reversing horizontal motion when a sphere hits a wall and giving it an upward bounce whenever it touches the floor.
/scoreboard objectives add c9_age dummy/fill ~-8 ~-1 ~-8 ~8 ~5 ~8 minecraft:polished_blackstone_bricks outline/fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 minecraft:dark_prismarine/fill ~-7 ~0 ~-7 ~7 ~5 ~8 minecraft:air/fill ~-8 ~5 ~-8 ~8 ~5 ~8 minecraft:sea_lantern replace minecraft:polished_blackstone_bricks/setblock ~-7 ~3 ~-2 minecraft:dispenser[facing=east]/setblock ~7 ~3 ~2 minecraft:dispenser[facing=west]/scoreboard players add #c9_tick c9_age 1/execute if score #c9_tick c9_age matches 15 run summon minecraft:block_display ~-6 ~3 ~-2 {Tags:["c9_orb","c9_cyan"],Glowing:1b,glow_color_override:65535,teleport_duration:1,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],translation:[-0.4f,0f,-0.4f]},Motion:[0.38d,0.15d,0.22d]}/execute if score #c9_tick c9_age matches 30 run summon minecraft:block_display ~6 ~3 ~2 {Tags:["c9_orb","c9_mag"],Glowing:1b,glow_color_override:16711935,teleport_duration:1,block_state:{Name:"minecraft:pearlescent_froglight"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],translation:[-0.4f,0f,-0.4f]},Motion:[-0.36d,0.18d,-0.24d]}/execute if score #c9_tick c9_age matches 30.. run scoreboard players set #c9_tick c9_age 0/execute as @e[tag=c9_orb] at @s run tp @s ~ ~-0.08 ~/execute as @e[tag=c9_orb] at @s unless block ~ ~-0.2 ~ minecraft:air run data modify entity @s Motion[1] set value 0.42d/execute as @e[tag=c9_orb] at @s unless block ~ ~-0.2 ~ minecraft:air run particle minecraft:firework ~ ~ ~ 0.2 0.1 0.2 0.15 12 force/execute as @e[tag=c9_orb] at @s unless block ~ ~-0.2 ~ minecraft:air run playsound minecraft:block.amethyst_block.chime master @a ~ ~ ~ 1 1.4/execute as @e[tag=c9_orb] at @s unless block ~0.6 ~ ~ minecraft:air run data modify entity @s Motion[0] set value -0.35d/execute as @e[tag=c9_orb] at @s unless block ~-0.6 ~ ~ minecraft:air run data modify entity @s Motion[0] set value 0.35d/execute as @e[tag=c9_orb] at @s unless block ~ ~ ~0.6 minecraft:air run data modify entity @s Motion[2] set value -0.25d/execute as @e[tag=c9_orb] at @s unless block ~ ~ ~-0.6 minecraft:air run data modify entity @s Motion[2] set value 0.25d/execute as @e[tag=c9_cyan] at @s run particle minecraft:dust{color:[0.0,1.0,1.0],scale:1.8} ~ ~0.4 ~ 0.15 0.15 0.15 0 4 force/execute as @e[tag=c9_mag] at @s run particle minecraft:dust{color:[1.0,0.0,1.0],scale:1.8} ~ ~0.4 ~ 0.15 0.15 0.15 0 4 force/scoreboard players add @e[tag=c9_orb] c9_age 1/kill @e[tag=c9_orb,scores={c9_age=140..}]loop #2 Summons a glowing cyan <code>block_display</code> sphere every 1.5 seconds with initial velocity stored in its <code>Motion</code> array.loop #6 Checks if a solid floor block is directly beneath the sphere and sets its vertical bounce velocity while triggering firework sparks and amethyst chimes.loop #9 Detects wall collisions on the X and Z axes and reverses the horizontal components so the sphere ricochets inside the arena.loop #13 Draws bright cyan and magenta dust particle trails behind each sphere as it moves through the air.


Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: A dark prismarine and blackstone arena with two dispensers dropping glowing cyan and magenta cubes that sink into the floor with particle trails.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let players launch spheres themselves instead of using the automated dispensers, replace the two timed summon commands with /execute as @a at @s anchored eyes run summon minecraft:block_display ^ ^ ^1 ... triggered whenever a player holds or uses a custom item.
/kill @e[tag=c9_orb]/scoreboard objectives remove c9_age/fill ~-8 ~-1 ~-8 ~8 ~5 ~8 minecraft:air/fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 minecraft:grass_blockIncrease or decrease the 0.42d value in loop command 6, which sets the upward vertical velocity whenever a sphere hits the floor.
No, the final two loop commands track each sphere's age in ticks and automatically remove any sphere after 7 seconds (140 ticks).
/data/execute/fill/kill/particle/playsound/scoreboard/setblock/summon/tp
▶Four-Dimensional Hypercube Tesseract RotationSimulationsExpert24 cmds
▶Holographic DNA Double-Helix SplicerSimulationsHard24 cmds
▶Magnetic Ferrofluid Audio VisualizerSimulationsHard24 cmds
▶Microscopic Bacteriophage Viral InjectionSimulationsHard24 cmds
▶Monumental Dam Spillway Floodgate ReleaseSimulationsHard24 cmds