I live in a village and these slimes are ruining my game, please help me get rid of them!
-
3that...seem to be very large number of them to be naturally generated– Memor-XCommented Nov 11, 2014 at 22:33
-
i did say like amd theres 4 viliges #scince– minecraft rulesCommented Nov 12, 2014 at 23:54
-
1@minecraftrules btw. Minecraft Gamepedia says "cap = constant * chunks / 256" with slimes constant being 70. Biggest village I've ever seen was 5x5 chunks, so the cap is 70 * 25 / 256, which makes 6,8 slimes max for a village. So, 24 is the number of maximum slimes in your 4 villages. #Math ps. The number 6,8 and 24 still counts other animals (like Zombie, Creeper, Pig, Cow etc.) and not just slimes!– aveCommented Nov 13, 2014 at 18:09
5 Answers
/kill @e[type=Slime]
will kill all the Slimes in the world while leaving everything else alone. With this command in a Command Block, an automatic elimination of Slimes is possible: Just set it to Repeat and Always Active, and then you're done.
-
-
I would suggest setting
/gamerule doMobLoot
toFalse
before doing this and reverting it toTrue
when done. This avoids loot drop lag. Commented Apr 19, 2021 at 16:58
You can create a redstone loop + command block system to constantly remove any unwanted entities(Mobs, Items, Item frames, etc.)
First, create your RS loop (shown below)
Top-down view
[r][#][B]
[r][r][t]
Key:
[r]
= Redstone wire (dust)
[B]
= Any solid block, wool works fine
[t]
= Redstone torch
[#]
= A redstone repeater set to 3 ticks
Now connect any number of Command Blocks (to get Command Blocks enter /give _USERNAME_ minecraft:command_block 1
into the chat) equal to the amount of entities you want to be cleaned up to the redstone wire on that loop.
Enter the following command into the Command Block(s) connected to your loop, replacing _ENTITY_
with the name of the entity you want removed (ei. Cow, Bat, Pig, Spider, Skeleton, Slime):
/kill @e[type=_ENTITY_]
If you want to get rid of them permanently, run this command (this will prevent all other types of mobs from spawning):
/gamerule doMobSpawning false
And then this:
/tp @e[type=Slime] ~ -300 ~
-
1
-
1The only answer on the internet to actually accomplish what I've been looking for. Thank you.– JimmyCommented Mar 14, 2022 at 23:53
/kill @e[type=Slime]
is how you kill them, but put it on a repeater to help.
-
2This adds nothing beyond what was already said in existing answers.– MrLemonCommented Jul 9, 2015 at 14:13