Build an automated dispenser turret in Minecraft that fires glowing jeb_ sheep across the arena with rainbow dust trails and colorful firework blasts.
Projectiles & MissilesCelebrationCuteRainbowRedCyanMini-gamePvPServer LobbyFireworksSummoned mobsBlock building (fill/setblock/clone)Sounds21+ commands
The Volatile Sheep Cannon turns peaceful farm animals into colorful artillery. An automated dispenser turret on one end of the field fires glowing jeb_ sheep across the arena toward a bullseye target.
As the sheep arc through the air, they leave a thick ribbon of red, yellow, green, cyan, and magenta dust before bursting into a large rainbow firework shower and wool confetti when they touch down.
/scoreboard objectives add c9_timer dummy/fill ~-2 ~ ~-11 ~2 ~ ~-7 polished_blackstone_bricks/fill ~-1 ~1 ~-10 ~1 ~1 ~-8 polished_blackstone_brick_slab[type=bottom]/setblock ~ ~1 ~-9 obsidian/setblock ~ ~2 ~-9 dispenser[facing=south]/setblock ~ ~2 ~-10 stone_button[face=wall,facing=north]/fill ~-2 ~-1 ~3 ~2 ~-1 ~7 red_concrete/fill ~-1 ~-1 ~4 ~1 ~-1 ~6 white_concrete/setblock ~ ~-1 ~5 red_concrete/summon marker ~ ~2 ~-8 {Tags:["c9_root","c9_turret"]}/scoreboard players add @e[tag=c9_turret] c9_timer 1/execute as @e[tag=c9_turret,scores={c9_timer=30..}] at @s run summon sheep ~ ~0.2 ~0.5 {CustomName:"jeb_",Color:14b,Glowing:1b,Invulnerable:1b,Motion:[0.0,0.62,0.78],Tags:["c9_root","c9_sheep"]}/execute as @e[tag=c9_turret,scores={c9_timer=30..}] at @s run particle poof ~ ~0.2 ~0.5 0.25 0.25 0.25 0.08 25 force/execute as @e[tag=c9_turret,scores={c9_timer=30..}] at @s run playsound entity.firework_rocket.launch master @a ~ ~ ~ 2 0.8/execute as @e[tag=c9_turret,scores={c9_timer=30..}] at @s run playsound entity.sheep.ambient master @a ~ ~ ~ 2 1.3/scoreboard players set @e[tag=c9_turret,scores={c9_timer=30..}] c9_timer 0/scoreboard players add @e[tag=c9_sheep] c9_timer 1/execute at @e[tag=c9_sheep] run particle dust{color:[1.0,0.15,0.15],scale:1.7} ~ ~0.65 ~ 0.15 0.05 0.15 0 4 force/execute at @e[tag=c9_sheep] run particle dust{color:[1.0,0.85,0.1],scale:1.7} ~ ~0.48 ~ 0.15 0.05 0.15 0 4 force/execute at @e[tag=c9_sheep] run particle dust{color:[0.15,1.0,0.25],scale:1.7} ~ ~0.31 ~ 0.15 0.05 0.15 0 4 force/execute at @e[tag=c9_sheep] run particle dust{color:[0.15,0.8,1.0],scale:1.7} ~ ~0.14 ~ 0.15 0.05 0.15 0 4 force/execute as @e[tag=c9_sheep,scores={c9_timer=12..},nbt={OnGround:1b}] at @s run summon firework_rocket ~ ~0.5 ~ {Life:0,LifeTime:0,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"large_ball",has_twinkle:1b,colors:[I;16711680,16776960,65280,255,16711935]}]}}}}/execute as @e[tag=c9_sheep,scores={c9_timer=12..},nbt={OnGround:1b}] at @s run particle block{block_state:{Name:"minecraft:magenta_wool"}} ~ ~0.5 ~ 0.7 0.6 0.7 0.25 90 force/kill @e[tag=c9_sheep,scores={c9_timer=12..},nbt={OnGround:1b}]setup #10 Places an invisible marker entity right in front of the dispenser barrel to act as the firing point and hold the firing timer.loop #2 Every 30 ticks (1.5 seconds), summons a glowing sheep named <code>jeb_</code> with upward and forward <code>Motion</code> so it flies in a high arc across the stage center.loop #8 Commands 7 through 10 layer four bright colored dust streams at different heights on every flying sheep to paint a thick rainbow ribbon in the air.loop #12 Checks when a launched sheep lands on the ground and spawns an instant multi-color firework burst along with a splash of wool block particles before removing the sheep.


Recorded on our own test server: 46 frames at about 9.2 fps. Our image check saw: Glowing rainbow sheep are launched from a blackstone base armed with a glowing cyan bow toward a red and white target, leaving colorful particle trails and exploding into rainbow fireworks.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To turn this into a handheld sheep launcher for players, trigger the sheep summon when a player holds a custom item using /execute as @a[nbt={SelectedItem:{id:"minecraft:blaze_rod"}}] at @s anchored eyes run summon sheep ^ ^ ^1.5 ... and calculate the sheep motion using two marker entities along the player's look vector.
/kill @e[tag=c9_root]/scoreboard objectives remove c9_timer/fill ~-2 ~ ~-11 ~2 ~2 ~-7 air/fill ~-2 ~-1 ~3 ~2 ~-1 ~7 grass_blockNo. The blast uses a zero-lifetime firework rocket and wool block particles rather than TNT, so your terrain and builds stay completely safe.
Naming a sheep jeb_ activates a built-in Minecraft easter egg that makes its wool smoothly cycle through all dye colors while it flies.
/execute/fill/kill/particle/playsound/scoreboard/setblock/summon
▶Explosive Sheep ArtilleryProjectiles & MissilesEasy26 cmds
▶Ferris-Wheel Gondola Revolver CannonProjectiles & MissilesExpert24 cmds
▶Japanese Koinobori Carp-Streamer Wind BazookaProjectiles & MissilesHard20 cmds
▶Pachinko-Board Trick-Shot CrossbowProjectiles & MissilesExpert24 cmds
▶Pyrotechnic Dragon-Firework Festival CrossbowProjectiles & MissilesHard24 cmds
▶Billiard Trick-Shot Elemental Cue StickProjectiles & MissilesHard24 cmds