Is there a way to kill all mobs other than /kill @e? For some reason, it kills me too. Someone told me to do something like

 /kill @e{type=Zombie} 

but every time I put it in, nothing happens.

  • minecraftplzhelp nice name lol
    – sysfiend
    Commented Nov 25, 2016 at 17:54
  • @e effects all entities, that includes players and yourself Commented Nov 26, 2016 at 14:52

4 Answers 4


If it's vanilla version, you can use

/kill @e[type=Zombie]

you were using {} instead of [], that was the problem.


You can also use

/kill @e[team=,type=!Player]

to kill all mobs, this saves items and other entities that aren't mobs.

  • 2
    Be aware this will also kill armor stands.
    – Skylinerw
    Commented Nov 25, 2016 at 18:36

Selector parameters must be encased in square brackets, not curly brackets:

/kill @e[type=Zombie]

Additionally, if you wish to kill all entities (Including items, item frames, etc.) excluding the player, you could do:

/kill @e[type=!Player]

Not the answer you're looking for? Browse other questions tagged .