TransWikia.com

How do you make slimes not spawn randomly

Arqade Asked on March 12, 2021

How do you make slimes not spawn? They are very annoying especially in a superflat world. I want to make them not spawn randomly.
In 1.16

2 Answers

I see two simple ways of doing this:

  • Use /gamerule doMobSpawning false to disable spawning of all mobs in your superflat world.
  • Use a repeating command block to /tp @e[type=minecraft:slime] ~ -1000 ~, so that they don't split into multiple slimes.
  • Set the difficulty to peaceful.

Answered by ExpertCoder14 on March 12, 2021

TL;DR; Use 2 repeating command blocks which contains the following:

  1. /kill @e[type=minecraft:slime]
  2. /kill @e[type=minecraft:item,name=Slimeball]

Apart from @ExpertCoder14's answer, you can also use another repeating command block with /kill @e[type=minecraft:slime].

Although this doesn't stop slime from spawning, it at least gets rid of it, though it could be a mess dealing with, because remember, there are slimeballs when slime are killed.

It is easily managed with another repeating command block with /kill @e[type=minecraft:item,name=Slimeball], and you can get rid of them.

Problem solved, no more slimes in the way.

Answered by Mark Giraffe on March 12, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP