Build an automated artillery rig in vanilla Minecraft that fires explosive plasma volleys and tracks projectile peak altitude on a floating holographic HUD.
Projectiles & MissilesTechnologyBlueCyanBlackPvPAdventure MapBoss FightBlock displaysText displaysArmor standsRiding & passengersBlock building (fill/setblock/clone)SoundsGlowing outlinesRotation math21+ commands
The Hyper-Velocity Siege Launcher is an automated plasma artillery turret built with display entities and scoreboard telemetry. Once deployed, the rig sweeps across the battlefield, firing glowing energy shells into the air that arc down and detonate in colorful shockwaves across the terrain.
Above the turret floats a real-time holographic HUD. Using scoreboard math and dynamic text formatting, it measures the live altitude of every flying shell, updates the highest peak altitude reached, and counts total volleys fired.
/scoreboard objectives add c9_timer dummy/scoreboard objectives add c9_alt dummy/scoreboard objectives add c9_peak dummy/scoreboard objectives add c9_shots dummy/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 polished_blackstone_bricks/setblock ~ ~ ~ lodestone/summon armor_stand ~ ~1 ~ {Tags:["c9_all","c9_turret"],NoGravity:1b,Invisible:1b,Small:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_all"],block_state:{Name:"minecraft:netherite_block"},transformation:{translation:[-0.4f,-0.2f,-0.4f],scale:[0.8f,0.5f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_all"],block_state:{Name:"minecraft:End_rod",Properties:{facing:"north"}},Glowing:1b,glow_color_override:65535,transformation:{translation:[-0.15f,0.1f,-1.4f],scale:[0.3f,0.3f,1.8f],left_rotation:[0.342f,0f,0f,0.94f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_all"],block_state:{Name:"minecraft:sea_lantern"},Glowing:1b,glow_color_override:16755200,transformation:{translation:[-0.25f,0.0f,-0.25f],scale:[0.5f,0.5f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}]}/summon text_display ~ ~3.1 ~ {Tags:["c9_all","c9_hud"],billboard:"center",background:1073741824,line_width:240,text:{"text":"INITIALIZING SIEGE RIG...","color":"aqua"}}/scoreboard players add @e[tag=c9_turret] c9_timer 1/execute as @e[tag=c9_turret] at @s run tp @s ~ ~ ~ ~4 ~-40/execute at @e[tag=c9_turret] run particle electric_spark ~ ~0.4 ~ 0.3 0.2 0.3 0.05 2 force/execute as @e[tag=c9_turret,scores={c9_timer=12..}] at @s rotated ~ ~-40 run summon area_effect_cloud ^ ^0.4 ^1.4 {Tags:["c9_all","c9_shell"],Radius:0f,Duration:100}/execute as @e[tag=c9_turret,scores={c9_timer=12..}] at @s rotated ~ ~-40 run tp @e[tag=c9_shell,distance=..2,limit=1] ~ ~ ~ ~ ~/execute as @e[tag=c9_turret,scores={c9_timer=12..}] at @s rotated ~ ~-40 run particle sonic_boom ^ ^0.4 ^1.6 0 0 0 0 1 force/execute as @e[tag=c9_turret,scores={c9_timer=12..}] at @s run playsound entity.warden.sonic_boom master @a ~ ~ ~ 0.4 1.8/execute as @e[tag=c9_turret,scores={c9_timer=12..}] run scoreboard players add #total c9_shots 1/scoreboard players set @e[tag=c9_turret,scores={c9_timer=12..}] c9_timer 0/execute as @e[tag=c9_shell] at @s run tp @s ^ ^ ^0.95 ~ ~2.8/execute at @e[tag=c9_shell] run particle dust_color_transition{from_color:[0.0,1.0,1.0],to_color:[1.0,0.3,0.0],scale:1.6} ~ ~ ~ 0.08 0.08 0.08 0 5 force/execute as @e[tag=c9_shell] store result score @s c9_alt run data get entity @s Pos[1] 10/execute as @e[tag=c9_shell] if score @s c9_alt > #max c9_peak run scoreboard players operation #max c9_peak = @s c9_alt/execute as @e[tag=c9_hud] run data modify entity @s text set value [{"text":"[ HYPER-VELOCITY SIEGE RIG ]\n","color":"gold","bold":true},{"text":"Volleys: ","color":"gray"},{"score":{"name":"#total","objective":"c9_shots"},"color":"aqua"},{"text":" | Peak Y: ","color":"gray"},{"score":{"name":"#max","objective":"c9_peak"},"color":"green"},{"text":" (x0.1m)","color":"dark_green"}]setup #7 Summons the invisible turret pivot stand with three riding block_display passengers (a netherite base, an angled glowing barrel, and a sea lantern core) so the base stays level while the stand rotates.loop #4 Every 12 ticks (0.6 seconds), summons an invisible area_effect_cloud projectile at the tip of the cannon barrel angled 40 degrees upward.loop #10 Propels every active shell forward by 0.95 blocks per tick along its local facing vector while tilting its pitch downward by 2.8 degrees to create a realistic ballistic arc.loop #12 Reads the Y coordinate of each shell multiplied by 10 into the c9_alt scoreboard objective, and command 12 updates #max c9_peak whenever a new record height is reached.loop #14 Refreshes the floating text_display HUD every tick with live scoreboard values for total volleys fired and peak altitude.


Recorded on our own test server: 54 frames at about 9.0 fps. Our image check saw: A turret on a blackstone base with floating HUD text fires arcing trails of blue energy particles into the night sky.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To aim the siege launcher yourself instead of using auto-rotation, replace the second loop command with /execute as @e[tag=c9_turret] at @s facing entity @p[distance=..25] eyes run tp @s ~ ~ ~ ~ ~-40 so the turret tracks your movement or look direction.
/kill @e[tag=c9_all]/scoreboard objectives remove c9_timer/scoreboard objectives remove c9_alt/scoreboard objectives remove c9_peak/scoreboard objectives remove c9_shots/fill ~-2 ~-1 ~-2 ~2 ~ ~2 grass_block replace polished_blackstone_bricks/setblock ~ ~ ~ airMinecraft scoreboards only store whole integers, so multiplying the Y coordinate by 10 lets the HUD show tenths of a block in precision.
No. The projectiles are Area Effect Clouds with a Duration of 100 ticks, meaning they automatically despawn after 5 seconds even if they fly off the stage.
/data/execute/fill/particle/playsound/scoreboard/setblock/summon/tp
▶Ferris-Wheel Gondola Revolver CannonProjectiles & MissilesExpert24 cmds
▶Magnetic Rail-Track Javelin AssemblerProjectiles & MissilesExpert22 cmds
▶Pachinko-Board Trick-Shot CrossbowProjectiles & MissilesExpert24 cmds
▶Steampunk Piston-Hammer Pilebunker GauntletProjectiles & MissilesMedium24 cmds
▶16-Way Automated ArtilleryProjectiles & MissilesHard25 cmds
▶Archimedes Water-Screw Hydro-Vortex CannonProjectiles & MissilesHard24 cmds