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 Nov 25 '16 at 17:54
  • @e effects all entities, that includes players and yourself – George Willcox Nov 26 '16 at 14:52

If it's vanilla version, you can use

/kill @e[type=Zombie]

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

| improve this answer | |

You can also use

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

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

| improve this answer | |
  • 2
    Be aware this will also kill armor stands. – Skylinerw Nov 25 '16 at 18:36

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

/kill @e[type=Zombie]
| improve this answer | |

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

/kill @e[type=!Player]

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.