Build an automated multi-part display gunship with spinning rotors that patrols the arena and fires explosive rocket barrages at ground targets.
VehiclesTechnologyFireBlackCyanOrangeBoss FightMini-gameMap MakingParticlesBlock displaysArmor standsSmooth animation (interpolation)Scoreboard timersExecute chainsRiding & passengersGlowing outlinesRotation math21+ commands
The Autonomous Gunship Patrol turns display entities into a hovering military rotorcraft. Built from scaled netherite, cyan glass, and iron block displays, the helicopter circles above the arena with high-speed spinning rotor blades while locking onto armored target dummies below.
As it flies along its circular patrol route, the gunship sweeps a red laser targeting beam across the battlefield and unleashes rapid-fire rocket salvos that detonate on impact with fiery particle shockwaves.
/scoreboard objectives add c9_tick dummy/summon armor_stand ~ ~ ~ {Tags:["c9_all","c9_hub"],NoGravity:1b,Invisible:1b,Marker:1b}/summon armor_stand ~ ~8 ~-9 {Tags:["c9_all","c9_gunship"],NoGravity:1b,Invisible:1b,Marker:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_all","c9_hull"],Glowing:1b,glow_color_override:43690,teleport_duration:2,block_state:{Name:"minecraft:netherite_block"},transformation:{translation:[-0.9f,-0.6f,-1.8f],scale:[1.8f,1.2f,3.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_all","c9_cockpit"],Glowing:1b,glow_color_override:5636095,teleport_duration:2,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{translation:[-0.75f,-0.3f,0.8f],scale:[1.5f,0.9f,1.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_all","c9_tail"],teleport_duration:2,block_state:{Name:"minecraft:polished_blackstone"},transformation:{translation:[-0.35f,-0.2f,-4.8f],scale:[0.7f,0.7f,3.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}]}/summon block_display ~ ~8 ~-9 {Tags:["c9_all","c9_part","c9_wings"],Glowing:1b,glow_color_override:16755200,teleport_duration:2,block_state:{Name:"minecraft:anvil"},transformation:{translation:[-2.6f,-0.4f,-0.5f],scale:[5.2f,0.4f,1.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~8 ~-9 {Tags:["c9_all","c9_part","c9_rotor1"],Glowing:1b,glow_color_override:16777215,teleport_duration:1,block_state:{Name:"minecraft:iron_block"},transformation:{translation:[-3.5f,0.75f,-0.2f],scale:[7.0f,0.12f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~ ~8 ~-9 {Tags:["c9_all","c9_part","c9_rotor2"],Glowing:1b,glow_color_override:16777215,teleport_duration:1,block_state:{Name:"minecraft:iron_block"},transformation:{translation:[-0.2f,0.75f,-3.5f],scale:[0.4f,0.12f,7.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon armor_stand ~5 ~ ~3 {Tags:["c9_all","c9_target"],Glowing:1b,NoGravity:1b,equipment:{head:{id:"minecraft:carved_pumpkin",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1}}}/summon armor_stand ~-5 ~ ~2 {Tags:["c9_all","c9_target"],Glowing:1b,NoGravity:1b,equipment:{head:{id:"minecraft:carved_pumpkin",count:1},chest:{id:"minecraft:chainmail_chestplate",count:1},legs:{id:"minecraft:chainmail_leggings",count:1},feet:{id:"minecraft:chainmail_boots",count:1}}}/summon armor_stand ~ ~ ~-5 {Tags:["c9_all","c9_target"],Glowing:1b,NoGravity:1b,equipment:{head:{id:"minecraft:carved_pumpkin",count:1},chest:{id:"minecraft:golden_chestplate",count:1},legs:{id:"minecraft:golden_leggings",count:1},feet:{id:"minecraft:golden_boots",count:1}}}/scoreboard players add @e[tag=c9_hub] c9_tick 1/execute if score @e[tag=c9_hub,limit=1] c9_tick matches 60.. run scoreboard players set @e[tag=c9_hub] c9_tick 0/execute as @e[tag=c9_hub] at @s run tp @s ~ ~ ~ ~3 ~/execute as @e[tag=c9_hub] at @s positioned ^ ^8 ^9 facing entity @e[tag=c9_target,limit=1,sort=nearest] feet run tp @e[tag=c9_gunship] ~ ~ ~ ~ ~/execute at @e[tag=c9_gunship] run tp @e[tag=c9_wings] ~ ~ ~ ~ ~/execute at @e[tag=c9_gunship] as @e[tag=c9_rotor1] run tp @s ~ ~ ~ ~47 ~/execute at @e[tag=c9_gunship] as @e[tag=c9_rotor2] run tp @s ~ ~ ~ ~47 ~/execute at @e[tag=c9_gunship] rotated ~ 0 run particle cloud ~ ~0.8 ~ 2.2 0.1 2.2 0.05 4 force/execute at @e[tag=c9_gunship] run particle dust{color:[1.0,0.1,0.1],scale:1.2} ^ ^-0.3 ^3 0 0 0 0 1 force/execute at @e[tag=c9_gunship] run particle dust{color:[1.0,0.1,0.1],scale:1.2} ^ ^-0.3 ^6 0 0 0 0 1 force/execute if score @e[tag=c9_hub,limit=1] c9_tick matches 1..21 at @e[tag=c9_gunship] run summon area_effect_cloud ^1.6 ^-0.4 ^1.2 {Tags:["c9_all","c9_missile"],Duration:22,Radius:0f}/execute as @e[tag=c9_missile] at @s facing entity @e[tag=c9_target,limit=1,sort=nearest] eyes run tp @s ^ ^ ^0.95 ~ ~/execute at @e[tag=c9_missile] run particle flame ~ ~ ~ 0.1 0.1 0.1 0.02 3 force/execute as @e[tag=c9_missile] at @s if entity @e[tag=c9_target,distance=..1.8] run particle explosion_emitter ~ ~ ~ 0 0 0 0 1 forcesetup #3 Summons the main <code>c9_gunship</code> carrier stand with three riding <code>block_display</code> passengers that form the scaled netherite fuselage, glowing cyan cockpit, and tail boom.loop #4 Projects a position 8 blocks up and 9 blocks forward from the rotating center hub, then teleports the gunship there while rotating it to face the nearest ground target.loop #6 Teleports the main rotor blade display to the gunship while adding 47 degrees to its yaw rotation every tick for a smooth spinning effect.loop #11 During ticks 1 through 21 of the 60-tick cycle, spawns short-lived <code>area_effect_cloud</code> missile entities from the wing weapon pods.loop #12 Guides each active missile toward the nearest target dummy at 0.95 blocks per tick using local caret coordinates.


Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A custom helicopter made of dark blocks and rotor blades circles above an arena, bombarding glowing armored stands with explosions and fire.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the gunship attack monsters or enemy players instead of the dummy armor stands, replace tag=c9_target in loop commands 4, 12, and 14 with type=#minecraft:raiders or type=zombie. You can also add a real damage command on impact by running /execute at @e[tag=c9_missile] run damage @e[type=zombie,distance=..2,limit=1] 6 minecraft:explosion.
/kill @e[tag=c9_all]/scoreboard objectives remove c9_tickEach block_display entity uses the teleport_duration NBT tag set to 1 or 2 ticks, which tells the Minecraft client to smoothly interpolate movement and rotation between ticks.
No. The missiles are area_effect_cloud entities with a Duration of 22 ticks, so they automatically despawn after just over one second even if they miss a target.
▶Steampunk Dirigible Anchor Winch MooringVehiclesMedium22 cmds
▶Holographic Wind Tunnel Aerodynamics TestVehiclesExpert25 cmds
▶Articulated Hydraulic Demolition ExcavatorVehiclesHard24 cmds
▶Phantom Express Bullet TrainVehiclesHard24 cmds
▶Spinning Biplane PropellerVehiclesMedium24 cmds
▶Armored Vigilante Block-Display CruiserVehiclesHard24 cmds