Now I will show you how to kill a certain mob and only that mob, for example, /kill @e [type=Skeleton] will kill all skeletons on the map. This works with all mobs.. One of the biggest causes of frame drops and lag is having too many mobs or other entities in your Minecraft world. Luckily, there are Minecraft commands tha.
If you're really committed to the idea of doing this with /kill, however, you can do this one of two ways. You can set up individual command blocks to kill each type of mob, which might be a small set of command blocks if your main problem is slimes. Alternatively, you can use the methods described in this answer to select exceptions.. Is it possible to kill all hostile mobs but keep all peaceful/neutral mobs (excluding endermen) alive? I am trying to do this all in one command but if its not possible what is the minimum amount of commands I need to do? Archived post. New comments cannot be posted and votes cannot be cast.