How to kill all entities in minecraft 1.12.2
Andrew Rivera
Updated on April 29, 2026
/kill
There are other answers below:
In all Minecraft editions, the command for killing everything in the world is “ /kill
In Minecraft Java Edition (PC/Mac) 1.12.2, each entity has a unique entity value assigned to it. These entity values are used in /summon and /entitydata commands.. Traditionally an entity is a mob which is a living creature that moves around in the game. This is true in most cases.
You can also add a radius to it so that every mob with the right type in the area will be killed. /kill @e[type=Skeleton.r=20 for example. WARNING! This next command is very dangerous and if you have complicated minecart/item frame/anything that envolves entities because this command kills EVERYTHING on the map. /kill @etype=!Player]
If you don’t want the slimes to spawn ever again you should first disable mob spawning using /gamerule doMobSpawning false and then execute the kill command in a repeating command block for about 30 seconds (or infinitely if you prefer). Please do note that the gamerule command will disable the mob spawning for the whole world.
The first and the basic way to use the command is to kill all the entities of the game: Open the chatbox by pressing T on your keyboard. Type in the command: /kill @e and hit Enter.
minecraft-commands minecraft-java-edition. In Minecraft 1.12, I’m trying to destroy all mobs and items in a volume, but not players. So far, I have the following command, but in my test world, it won’t necessarily kill all mobs, especially slimes spawned as a result of killing larger slimes: / kill @e [ x = 1000 ,z=- 2500 ,dx= 10 ,dz=- 10 ]
The exact commands to use were already provided to you. So for killing all entities except players I’ve tried: /kill @e [type=!Player] /kill @e [type=!Player] /kill @e {type=!Player} /kill @e {type=!Player} And for Range I tried /kill @e {r=40} But it still kills every entity in the world.
Just a short tutorial of how to stop mobs from spawning in your world and also how to kill all of them in a very fast and efficient way. I hope you… Hey Guys!
For the Java edition of Minecraft (1.12+), you can type /kill