Build a physics arena in Minecraft where custom glowing TNT blocks launch, ricochet off tinted glass walls and floors, and detonate with colorful particles.
Animated BlocksTechnologyRedPurpleBlackLearningMini-gameMap MakingBlock displaysArmor standsSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
Standard TNT in Minecraft drops straight to the ground and sits still until it explodes. This creation builds a self-contained physics testing arena with a rotating central launcher that fires bouncy, glowing explosive charges across the stage.
Using scoreboard math and block collision checks, each explosive follows a curved arc, ricochets off the tinted glass perimeter walls and floor with metallic sound effects, flashes white as its fuse runs down, and ends in a non-destructive particle blast.
/scoreboard objectives add c9_t dummy/scoreboard objectives add c9_vx dummy/scoreboard objectives add c9_vy dummy/scoreboard objectives add c9_vz dummy/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 minecraft:polished_deepslate/fill ~-9 ~ ~-9 ~9 ~4 ~9 minecraft:tinted_glass hollow/fill ~-8 ~ ~-8 ~8 ~4 ~8 minecraft:air/fill ~-9 ~1 ~-9 ~-9 ~1 ~9 minecraft:sea_lantern/fill ~9 ~1 ~-9 ~9 ~1 ~9 minecraft:sea_lantern/summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_root","c9_actor"],NoGravity:1b,Invisible:1b,ArmorItems:[{},{},{},{id:"minecraft:dispenser",count:1}]}/scoreboard players add @e[tag=c9_root] c9_t 1/execute as @e[tag=c9_root] at @s run tp @s ~ ~ ~ ~13 ~/execute as @e[tag=c9_root,scores={c9_t=25..}] at @s run summon minecraft:block_display ~ ~1.2 ~ {Tags:["c9_tnt","c9_new"],Glowing:1b,glow_color_override:16733525,transformation:{translation:[-0.35f,-0.35f,-0.35f],scale:[0.7f,0.7f,0.7f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:tnt"}}/execute as @e[tag=c9_new] at @s run summon minecraft:marker ^ ^ ^1 {Tags:["c9_aim"]}/execute as @e[tag=c9_new] at @s store result score @s c9_vx run data get entity @e[tag=c9_aim,limit=1,sort=nearest] Pos[0] 450/execute as @e[tag=c9_new] at @s store result score @s c9_vz run data get entity @e[tag=c9_aim,limit=1,sort=nearest] Pos[2] 450/execute as @e[tag=c9_new] at @s store result score @s c9_t run data get entity @s Pos[0] 450/execute as @e[tag=c9_new] run scoreboard players operation @s c9_vx -= @s c9_t/execute as @e[tag=c9_new] at @s store result score @s c9_t run data get entity @s Pos[2] 450/execute as @e[tag=c9_new] run scoreboard players operation @s c9_vz -= @s c9_t/execute as @e[tag=c9_new] run scoreboard players set @s c9_vy 340/execute as @e[tag=c9_new] run scoreboard players set @s c9_t 0/kill @e[tag=c9_aim]/tag @e[tag=c9_new] remove c9_newsetup #6 Builds a hollow 19x19 tinted glass box and then clears the roof with the next command, leaving 5-block-tall walls around the deepslate floor so the explosives stay inside the arena.loop #3 Every 25 ticks, the rotating center turret summons a scaled glowing TNT <code>block_display</code> tagged <code>c9_new</code> so its initial velocity can be calculated.loop #4 Summons a temporary marker 1 block in front of the newly spawned TNT along the turret's current facing angle. Subtracting the TNT position from the marker position gives a clean X and Z velocity vector in scoreboard units.loop #11 Sets the initial upward vertical velocity (<code>c9_vy</code>) to 340, giving every shot a high arc before gravity pulls it down toward the floor and walls.


Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: A top-down view of a glass-walled arena with a red-outlined central block and two purple-outlined blocks, though all three frames are identical and show no movement.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let a player throw ricocheting explosives instead of using the automatic turret, replace @e[tag=c9_root] in the third loop command with @a[nbt={SelectedItem:{id:"minecraft:tnt"}}] triggered by a right-click carrot-on-a-stick scoreboard objective. The marker math in commands 4 through 10 will automatically read the player's look direction and launch the bouncy TNT forward from their crosshair.
/kill @e[tag=c9_tnt]/kill @e[tag=c9_aim]/kill @e[tag=c9_root]/scoreboard objectives remove c9_t/scoreboard objectives remove c9_vx/scoreboard objectives remove c9_vy/scoreboard objectives remove c9_vz/fill ~-9 ~-1 ~-9 ~9 ~4 ~9 minecraft:air/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 minecraft:grass_blockNo. The projectiles are block_display entities rather than real primed TNT, so they create explosion particles and sounds without damaging any blocks.
Increase the initial vertical score in loop command 11 from 340 to a higher number like 450.
▶Tesseract 4D Hypercube ProjectionAnimated BlocksExpert24 cmds
▶Floating Polyhedral Origami MorphAnimated BlocksExpert21 cmds
▶Holographic Chess Endgame Battle RoyalAnimated BlocksHard24 cmds
▶Holographic Solar Flare MagnetosphereAnimated BlocksExpert24 cmds
▶Hydraulic Origami Crane Folding MatrixAnimated BlocksHard24 cmds
▶Magnetic Ferrofluid Spike VisualizerAnimated BlocksExpert24 cmds