Build four automated elemental turrets in Minecraft Java Edition that fire fire, ice, lightning, and poison arrows using only vanilla command blocks.
Projectiles & MissilesFireIceLightningOrangeCyanGreenPvPMini-gameAdventure MapArmor standsSummoned mobsBlock building (fill/setblock/clone)Lightning bolts21+ commands
Watch four elemental dispensers arranged around a central target platform take turns firing charged super arrows. Each arrow leaves a glowing trail of particles in the air before striking the target with fire explosions, lightning bolts, freezing clouds, or toxic bursts.
This setup uses custom motion tags, scoreboard timers, and NBT checks to turn ordinary arrows into magical projectiles without needing any mods or data packs.
/scoreboard objectives add c9_tick dummy/fill ~-2 ~ ~-2 ~2 ~ ~2 polished_blackstone_bricks/setblock ~ ~1 ~ target/summon armor_stand ~ ~2 ~ {Tags:["c9_obj","c9_dummy"],NoBasePlate:1b,ShowArms:1b,Glowing:1b,equipment:{head:{id:"minecraft:carved_pumpkin",count:1},chest:{id:"minecraft:iron_chestplate",count:1}}}/setblock ~-8 ~1 ~ dispenser[facing=east]/setblock ~8 ~1 ~ dispenser[facing=west]/setblock ~ ~1 ~-8 dispenser[facing=south]/setblock ~ ~1 ~8 dispenser[facing=north]/summon marker ~ ~ ~ {Tags:["c9_obj","c9_ctrl"]}/scoreboard players add @e[tag=c9_ctrl] c9_tick 1/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 81.. run scoreboard players set @e[tag=c9_ctrl] c9_tick 1/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 10 run summon arrow ~-7 ~1.5 ~ {Motion:[1.15,0.22,0.0],Tags:["c9_obj","c9_arr","c9_fire"],Glowing:1b}/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 30 run summon arrow ~7 ~1.5 ~ {Motion:[-1.15,0.22,0.0],Tags:["c9_obj","c9_arr","c9_ice"],Glowing:1b}/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 50 run summon arrow ~ ~1.5 ~-7 {Motion:[0.0,0.22,1.15],Tags:["c9_obj","c9_arr","c9_bolt"],Glowing:1b}/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 70 run summon arrow ~ ~1.5 ~7 {Motion:[0.0,0.22,-1.15],Tags:["c9_obj","c9_arr","c9_tox"],Glowing:1b}/execute at @e[tag=c9_fire] run particle flame ~ ~ ~ 0.1 0.1 0.1 0.02 6 force/execute at @e[tag=c9_ice] run particle snowflake ~ ~ ~ 0.1 0.1 0.1 0.02 6 force/execute at @e[tag=c9_bolt] run particle electric_spark ~ ~ ~ 0.1 0.1 0.1 0.05 8 force/execute at @e[tag=c9_tox] run particle dust{color:[0.2,1.0,0.1],scale:1.5} ~ ~ ~ 0.15 0.15 0.15 0 6 force/execute as @e[tag=c9_arr] at @s if entity @e[tag=c9_dummy,distance=..2.2] run tag @s add c9_hit/execute as @e[tag=c9_arr,nbt={inGround:1b}] run tag @s add c9_hit/execute at @e[tag=c9_fire,tag=c9_hit] run particle lava ~ ~ ~ 0.6 0.6 0.6 0.1 40 force/execute at @e[tag=c9_bolt,tag=c9_hit] run summon lightning_bolt ~ ~ ~/execute at @e[tag=c9_hit] run particle explosion_emitter ~ ~ ~ 0 0 0 0 1 force/kill @e[tag=c9_hit]loop #3 Summons a glowing fire arrow in front of the west dispenser on tick 10 with exact X and Y velocity so it arcs directly into the center target.loop #10 Draws a bright green dust trail behind the poison arrow as it flies across the platform.loop #11 Detects when any elemental arrow comes within 2.2 blocks of the target dummy and flags it with the c9_hit tag.loop #12 Also flags the arrow with c9_hit if it lands on a block, making sure arrows always detonate even if they miss the dummy.loop #14 Strikes the impact point with a real lightning bolt when the lightning arrow hits.loop #16 Immediately removes arrows once they trigger their impact effect so entities never build up in the world.


Recorded on our own test server: 50 frames at about 9.9 fps. Our image check saw: Two dispensers flank a central blackstone platform with a target block and armor stand, shooting arrows with particle trails that cause lightning strikes and fiery explosions.
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 shoot these elemental arrows from their own bows instead of using the automated turrets, remove loop commands 1 through 6 and run commands like /execute at @a as @e[type=arrow,distance=..3,tag=!c9_arr] run tag @s add c9_fire in a repeating command block to imbue freshly shot arrows with any of the four elemental tags.
/kill @e[tag=c9_obj]/scoreboard objectives remove c9_tick/fill ~-8 ~ ~-8 ~8 ~2 ~8 airNo. The explosion uses the explosion_emitter particle and lava particles for visual impact without breaking blocks, and the lightning strikes the stone platform where fire quickly goes out.
Lower the reset number in the second loop command from 81.. to 41.. and cut the tick match numbers (10, 30, 50, 70) in half so arrows fire twice as fast.
▶Tarot Card Arcana Summoning DeckProjectiles & MissilesExpert25 cmds
▶Magnetic Rail-Track Javelin AssemblerProjectiles & MissilesExpert22 cmds
▶Molten Glassblower Sphere-Launcher PipeProjectiles & MissilesHard22 cmds
▶Old-West Gatling-Organ Steam Calliope CartProjectiles & MissilesHard24 cmds
▶Pachinko-Board Trick-Shot CrossbowProjectiles & MissilesExpert24 cmds
▶Pyrotechnic Dragon-Firework Festival CrossbowProjectiles & MissilesHard24 cmds