Contagious Mob Wildfire

Watch a single burning zombie ignite an entire crowd of mobs in a chain reaction of spreading flames, glowing heat waves, and flying embers.

Java EditionMobs & PetsEasy23 commandsTested on a real 26.2 & 26.3 server
Glowing zombies and skeletons burn together around a central magma patch at night. Download the GIF Video & GIF © www.9minecraft.net

Undead & HorrorFireHorrorOrangeRedYellowAdventure MapMini-gameLearningSummoned mobsBlock building (fill/setblock/clone)Sounds21+ commands

In standard Minecraft, fire only spreads across blocks or when a burning zombie directly attacks a target. With a few repeating commands, you can turn fire into a proximity-based contagion where any burning mob ignites nearby creatures just by walking past them.

In this self-running demo, a lone glowing Patient Zero zombie wanders into a ring of zombies and skeletons gathered around a central brazier. As the mobs mill about, the wildfire leaps from creature to creature with bursts of lava sparks, colored smoke, and glowing orange outlines until the whole crowd is ablaze.

1. Setup - type these once 9 commands

  1. /scoreboard objectives add c9_fire dummy
  2. /team add c9_burn
  3. /team modify c9_burn color gold
  4. /team modify c9_burn collisionRule pushOwnTeam
  5. /fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 magma_block
  6. /summon marker ~ ~ ~ {Tags:["c9_ctrl","c9_wf"]}
  7. /scoreboard players set @e[tag=c9_ctrl] c9_fire 0
  8. /summon villager ~ ~2 ~ {Tags:["c9_wf","c9_bait"],NoAI:1b,Invulnerable:1b,Silent:1b,active_effects:[{id:"minecraft:invisibility",duration:999999,show_particles:0b}]}
  9. /summon zombie ~-6 ~ ~ {Tags:["c9_wf","c9_mob","c9_burning","c9_zero"],Fire:1200s, Glowing:1b,PersistenceRequired:1b,CustomName:'{"text":"Patient Zero","color":"gold"}',CustomNameVisible:1b,armor_items:[{},{},{},{id:"minecraft:golden_helmet",count:1}],attributes:[{id:"minecraft:movement_speed",base:0.21d},{id:"minecraft:follow_range",base:32.0d}]}

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

  1. /scoreboard players add @e[tag=c9_ctrl] c9_fire 1
  2. /execute if score @e[tag=c9_ctrl,limit=1] c9_fire matches 1..20 run summon zombie ~4 ~ ~4 {Tags:["c9_wf","c9_mob"],PersistenceRequired:1b,armor_items:[{},{},{},{id:"minecraft:leather_helmet",count:1}],attributes:[{id:"minecraft:movement_speed",base:0.17d}]}
  3. /execute if score @e[tag=c9_ctrl,limit=1] c9_fire matches 1..15 run summon husk ~-3 ~ ~5 {Tags:["c9_wf","c9_mob"],PersistenceRequired:1b,attributes:[{id:"minecraft:movement_speed",base:0.17d}]}
  4. /execute if score @e[tag=c9_ctrl,limit=1] c9_fire matches 1..15 run summon skeleton ~5 ~ ~-4 {Tags:["c9_wf","c9_mob"],PersistenceRequired:1b,armor_items:[{},{},{},{id:"minecraft:iron_helmet",count:1}],attributes:[{id:"minecraft:movement_speed",base:0.17d}]}
  5. /execute if score @e[tag=c9_ctrl,limit=1] c9_fire matches 2..50 as @e[tag=c9_mob,tag=!c9_zero] at @s run spreadplayers ~ ~ 2 8 false @s
  6. /execute as @e[tag=c9_mob,nbt=!{Fire:0s},tag=!c9_burning] at @s run particle lava ~ ~1 ~ 0.4 0.5 0.4 0.1 18 force
  7. /execute as @e[tag=c9_mob,nbt=!{Fire:0s},tag=!c9_burning] at @s run playsound entity.blaze.shoot master @a ~ ~ ~ 0.6 1.3
  8. /execute as @e[tag=c9_mob,nbt=!{Fire:0s},tag=!c9_burning] run tag @s add c9_burning
  9. /team join c9_burn @e[tag=c9_burning]
  10. /execute as @e[tag=c9_burning] at @s run data modify entity @s Glowing set value 1b
  11. /execute as @e[tag=c9_burning] at @s run data modify entity @s Fire set value 600s
  12. /execute as @e[tag=c9_burning] at @s run particle flame ~ ~1 ~ 0.35 0.5 0.35 0.03 3 force
  13. /execute as @e[tag=c9_burning] at @s run particle dust{color:[1.0,0.35,0.0],scale:1.6} ~ ~1.2 ~ 0.6 0.6 0.6 0 2 force
  14. /execute as @e[tag=c9_burning] at @s as @e[tag=c9_mob,tag=!c9_burning,distance=..2.6] at @s run data modify entity @s Fire set value 600s

How it works

Frames from the test run

Contagious Mob Wildfire - frame 1Contagious Mob Wildfire - frame 2Contagious Mob Wildfire - frame 3

Recorded on our own test server: 57 frames at about 9.4 fps. Our image check saw: Numerous glowing zombies and skeletons are burning simultaneously around a central patch of magma blocks at night, before all dying from fire damage in the final frame.

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. Create a flat stage and stand at the exact center block before running each command in the Setup list once in chat.
  2. Place a repeating command block underneath or beside the stage, set it to Always Active, and paste in the first Loop command.
  3. Place 13 chain command blocks in a line pointing away from the repeating block, all set to Unconditional and Always Active.
  4. Paste the remaining 13 Loop commands into the chain command blocks in order.
  5. Watch Patient Zero walk toward the center magma pad and ignite the crowd in a glowing chain reaction.

Use it with real players

To make this work automatically on every naturally spawning mob in a survival world, remove the tag=c9_mob filter from the loop selectors and replace it with type=!player,type=!item,type=!experience_orb. You can also remove loop command 10 (which locks Fire at 600s) so mobs naturally burn out or die after spreading the flames.

Remove it again 5 commands

  1. /tp @e[tag=c9_wf] ~ ~-200 ~
  2. /kill @e[tag=c9_wf]
  3. /team remove c9_burn
  4. /scoreboard objectives remove c9_fire
  5. /fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 grass_block

FAQ

Why are the zombies wearing helmets?

Even though the camera runs at night, giving the zombies and skeletons helmets ensures they never burn prematurely from sunlight if you test the commands during the day.

How do I change how fast the fire spreads?

Adjust the <code>distance=..2.6</code> value in the final loop command. A larger number like <code>distance=..4</code> makes flames jump across gaps quickly, while <code>distance=..1.5</code> requires mobs to bump directly into each other.

Commands used

/data/execute/fill/particle/playsound/scoreboard/spreadplayers/summon/tag/team

Similar creations

Join 9Minecraft News & Guides