Exponentially Multiplying Slime Cascade

Watch a single glowing Prime Slime rhythmically leap and double every two seconds in a safe, controlled exponential cascade with colorful magical bursts.

Java EditionMobs & PetsEasy18 commandsTested on a real 26.2 & 26.3 server
Glowing slimes leap into the air and double in number on a grassy platform at night. Download the GIF Video & GIF © www.9minecraft.net

Custom MobsCuteMysticGreenWhiteLearningMini-gameMap MakingSummoned mobs13-20 commands

Exponential growth can crash a Minecraft server in seconds if left unchecked, so this command creation puts a strict, rhythmic harness on the process. A single glowing Prime Slime begins in the center of the arena, and every two seconds on the beat, every slime leaps into the air and splits into two clones with a burst of magical particles and chime sounds.

By capping the cycle after six doublings (from 1 to 64 slimes) and resetting cleanly in a grand poof of smoke, you get all the visual chaos of a slime invasion without ever lagging your world.

1. Setup - type these once 4 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /summon marker ~ ~ ~ {Tags:["c9_ctrl"]}
  3. /scoreboard players set @e[tag=c9_ctrl] c9_timer 0
  4. /summon slime ~ ~1 ~ {Tags:["c9_mob"],Size:1,Glowing:1b,PersistenceRequired:1b,CustomName:{"text":"Prime Slime","color":"aqua"}}

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

  1. /scoreboard players add @e[tag=c9_ctrl] c9_timer 1
  2. /execute as @e[tag=c9_mob] at @s run particle dust{color:[0.2,1.0,0.4],scale:1.4} ~ ~0.5 ~ 0.3 0.2 0.3 0 1 normal
  3. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 40 as @e[tag=c9_mob] at @s run summon slime ~ ~0.5 ~ {Tags:["c9_mob"],Size:1,Glowing:1b,Motion:[0.25,0.45,0.25]}
  4. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 80 as @e[tag=c9_mob] at @s run summon slime ~ ~0.5 ~ {Tags:["c9_mob"],Size:1,Glowing:1b,Motion:[-0.25,0.45,0.25]}
  5. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 120 as @e[tag=c9_mob] at @s run summon slime ~ ~0.5 ~ {Tags:["c9_mob"],Size:1,Glowing:1b,Motion:[0.25,0.45,-0.25]}
  6. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 160 as @e[tag=c9_mob] at @s run summon slime ~ ~0.5 ~ {Tags:["c9_mob"],Size:1,Glowing:1b,Motion:[-0.25,0.45,-0.25]}
  7. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 200 as @e[tag=c9_mob] at @s run summon slime ~ ~0.5 ~ {Tags:["c9_mob"],Size:1,Glowing:1b,Motion:[0.0,0.5,0.3]}
  8. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 240 as @e[tag=c9_mob] at @s run summon slime ~ ~0.5 ~ {Tags:["c9_mob"],Size:1,Glowing:1b,Motion:[0.3,0.5,0.0]}
  9. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 240 at @e[tag=c9_mob] run particle totem_of_undying ~ ~0.5 ~ 0.4 0.5 0.4 0.15 8 force
  10. /execute as @e[tag=c9_mob,distance=14..] run tp @s ~ ~1 ~
  11. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 295 at @e[tag=c9_mob] run particle poof ~ ~0.5 ~ 0.3 0.3 0.3 0.05 15 force
  12. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 295 run tp @e[tag=c9_mob] ~ ~-100 ~
  13. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 300 run summon slime ~ ~1 ~ {Tags:["c9_mob"],Size:1,Glowing:1b,PersistenceRequired:1b,CustomName:{"text":"Prime Slime","color":"aqua"}}
  14. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 300.. run scoreboard players set @e[tag=c9_ctrl] c9_timer 0

How it works

Frames from the test run

Exponentially Multiplying Slime Cascade - frame 1Exponentially Multiplying Slime Cascade - frame 2Exponentially Multiplying Slime Cascade - frame 3

Recorded on our own test server: 60 frames at about 8.5 fps. Our image check saw: Glowing slimes jump in the air and double in number from four to eight, accompanied by small green particles.

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. Stand in the center of a flat open area at least 30x30 blocks wide.
  2. Run the four setup commands in chat to create the timer objective, summon the centre marker, and spawn the first glowing Prime Slime.
  3. Place 14 Repeating Command Blocks set to Always Active near the center of your arena (or one repeating block feeding into a line of 13 Chain Command Blocks).
  4. Paste each of the 14 loop commands into the command blocks in order.
  5. Watch the Prime Slime split every two seconds until 64 slimes fill the arena and reset in a cloud of smoke.

Use it with real players

If you want players to trigger each doubling wave manually instead of running on an automatic clock, replace the timer check if score @e[tag=c9_ctrl,limit=1] c9_timer matches 40 with a check for a player holding a specific item, such as if entity @a[nbt={SelectedItem:{id:"minecraft:slime_ball"}}], and remember to keep a hard entity limit using a count scoreboard so players cannot accidentally crash the server.

Remove it again 3 commands

  1. /tp @e[tag=c9_mob] ~ ~-100 ~
  2. /kill @e[tag=c9_ctrl]
  3. /scoreboard objectives remove c9_timer

FAQ

Why do we teleport the slimes to ~ ~-100 ~ instead of using /kill?

Even size 1 slimes in Minecraft play a death animation and drop slimeballs when killed with /kill. Teleporting them into the void removes them cleanly and silently without cluttering the floor with hundreds of item drops.

Can I add more doubling waves after tick 240?

Be very careful: each wave doubles the entity count. Tick 240 reaches 64 slimes, so one more wave creates 128, and two more creates 256, which will quickly start lagging your client and server.

Commands used

/execute/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides