Swarm-Spawning Bee Bomb

Build a Swarm-Spawning Bee Bomb in Minecraft Java Edition using command blocks that turns scattered floor items into an angry swarm of glowing bees.

Java EditionWands, Weapons & ToolsEasy22 commandsTested on a real 26.2 & 26.3 server
A swarm of glowing orange bees attacks a husk after a bee bomb explodes on a grassy plain. Download the GIF Video & GIF © www.9minecraft.net

TrapsNatureGoldOrangeYellowPvPMini-gameAdventure MapBlock displaysArmor standsSummoned mobsSoundsRotation math21+ commands

The Swarm-Spawning Bee Bomb is a custom explosive device made with vanilla commands. When placed on the ground, a glowing golden core spins faster and faster while dripping honey particles, before detonating in a bright flash of yellow and orange light.

Any dropped items caught within the blast radius are instantly transformed into an angry swarm of glowing bees that immediately attack nearby monsters, turning stray loot and clutter into a buzzing defense system.

1. Setup - type these once 6 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /team add c9_gold
  3. /team modify c9_gold color gold
  4. /summon marker ~ ~ ~ {Tags:["c9_center","c9_entity"]}
  5. /summon armor_stand ~-5 ~ ~ {Tags:["c9_actor","c9_entity"],ShowArms:1b,Rotation:[-90f,0f],ArmorItems:[{id:"minecraft:golden_boots",count:1},{id:"minecraft:golden_leggings",count:1},{id:"minecraft:golden_chestplate",count:1},{id:"minecraft:carved_pumpkin",count:1}],HandItems:[{id:"minecraft:honeycomb",count:1},{}]}
  6. /scoreboard players set @e[tag=c9_center] c9_timer 0

2. Loop - one repeating command block each (Always Active) 16 commands

  1. /execute as @e[tag=c9_center] run scoreboard players add @s c9_timer 1
  2. /execute as @e[tag=c9_center,scores={c9_timer=120..}] run scoreboard players set @s c9_timer 1
  3. /execute if score @e[tag=c9_center,limit=1] c9_timer matches 1 run kill @e[tag=c9_temp]
  4. /execute if score @e[tag=c9_center,limit=1] c9_timer matches 5 at @e[tag=c9_center] run summon block_display ~ ~0.4 ~ {Tags:["c9_bomb","c9_temp","c9_entity"],Glowing:1b,block_state:{Name:"minecraft:honeycomb_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.35f,-0.35f,-0.35f],scale:[0.7f,0.7f,0.7f]}}
  5. /execute if score @e[tag=c9_center,limit=1] c9_timer matches 5 at @e[tag=c9_center] run summon husk ~3 ~ ~2.5 {Tags:["c9_target","c9_temp","c9_entity"],CustomName:'{"text":"Swarm Target","color":"red"}',CustomNameVisible:1b,Health:40f,attributes:[{id:"minecraft:max_health",base:40d},{id:"minecraft:movement_speed",base:0.15d}]}
  6. /execute if score @e[tag=c9_center,limit=1] c9_timer matches 6..26 at @e[tag=c9_center] run summon item ~ ~1.8 ~ {Tags:["c9_item","c9_temp","c9_entity"],Glowing:1b,PickupDelay:32767,Motion:[0.0,0.25,0.0],Item:{id:"minecraft:dandelion",count:1}}
  7. /execute if score @e[tag=c9_center,limit=1] c9_timer matches 6..26 as @e[tag=c9_item] at @s run spreadplayers ~ ~ 1 4 false @s
  8. /execute as @e[tag=c9_bomb] at @s run tp @s ~ ~ ~ ~18 ~
  9. /execute as @e[tag=c9_bomb] at @s run particle dust{color:[1.0,0.8,0.0],scale:1.5} ~ ~0.2 ~ 0.3 0.3 0.3 0 4
  10. /execute if score @e[tag=c9_center,limit=1] c9_timer matches 55 at @e[tag=c9_bomb] run particle explosion_emitter ~ ~ ~ 0 0 0 0 1
  11. /execute if score @e[tag=c9_center,limit=1] c9_timer matches 55 at @e[tag=c9_bomb] run playsound entity.generic.explode master @a ~ ~ ~ 1 1.2
  12. /execute if score @e[tag=c9_center,limit=1] c9_timer matches 55 at @e[tag=c9_item] run summon bee ~ ~0.5 ~ {Tags:["c9_bee","c9_temp","c9_entity"],Glowing:1b,AngerTime:600}
  13. /execute if score @e[tag=c9_center,limit=1] c9_timer matches 55 run team join c9_gold @e[tag=c9_bee]
  14. /execute if score @e[tag=c9_center,limit=1] c9_timer matches 55 run kill @e[tag=c9_bomb]
  15. /execute if score @e[tag=c9_center,limit=1] c9_timer matches 55 run kill @e[tag=c9_item]
  16. /execute as @e[tag=c9_bee] at @s run damage @s 0 generic by @e[tag=c9_target,limit=1]

How it works

Frames from the test run

Swarm-Spawning Bee Bomb - frame 1Swarm-Spawning Bee Bomb - frame 2Swarm-Spawning Bee Bomb - frame 3

Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: A glowing golden block explodes in white smoke, turning dropped iron nuggets into a swarm of glowing orange bees that attack a husk.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Open a creative flat world in Minecraft Java Edition 26.2 or newer and enable command blocks.
  2. Run each of the 6 setup commands once in your chat window while standing at the center of your build area.
  3. Place a line of 16 Repeating Command Blocks set to Always Active near your stage.
  4. Paste one loop command into each repeating command block in order.
  5. Watch the demo actor toss out the honeycomb bomb and scattered flowers, which detonate into a golden swarm of angry bees every 6 seconds.

Use it with real players

To let real players throw Bee Bombs, remove the demo reset commands and summon the c9_bomb display entity whenever a player drops a named Honeycomb item (/execute as @e[type=item,nbt={Item:{id:"minecraft:honeycomb"}}] at @s run ...). Then run a scoreboard timer directly on the bomb entity itself so it detonates 50 ticks after hitting the ground and converts any nearby @e[type=item,distance=..6] into angry bees.

Remove it again 3 commands

  1. /kill @e[tag=c9_entity]
  2. /scoreboard objectives remove c9_timer
  3. /team remove c9_gold

FAQ

Why do the bees immediately attack the Husk?

The final loop command uses the /damage command with 0 damage attributed to the Husk. Even though no health is lost, Minecraft's AI registers the Husk as the attacker and makes every bee swarm it.

Can the Bee Bomb transform any dropped item in survival?

Yes! In the demo we tag the dandelion items with c9_item for safety, but if you change the selector to @e[type=item,distance=..6], the explosion will turn cobblestone, dirt, or mob drops into bees.

Commands used

/damage/execute/kill/particle/playsound/scoreboard/spreadplayers/summon/team/tp

Similar creations

Join 9Minecraft News & Guides