Home News How To Kill All Mobs in Minecraft

How To Kill All Mobs in Minecraft

Author : Harper Update : Mar 17,2025

There are many reasons why you might want to eliminate mobs in Minecraft. The simplest method is using commands, specifically the /kill command. However, even this seemingly straightforward command has some nuances. This guide explains how to use it effectively.

Recommended Videos: How To Use the Kill Command to Kill All Mobs in Minecraft

Before using the /kill command, ensure your world has cheats enabled. Skip to the next section if you already know how to do this.

The basic /kill command is simple: type /kill into the chat box. However, this will kill *you*. To target mobs, you need to add some syntax.

To kill all mobs, use this command:

/kill @e[type=!minecraft:player] – This targets all entities (@e) except players (type=!minecraft:player).

To kill specific mob types, for example, all chickens:

/kill @e[type=minecraft:chicken]

You can also specify a kill radius. To kill all mobs within 15 blocks:

/kill @e[distance=..15] – Java Edition

/kill @e[r=10] – Bedrock Edition

To kill a specific mob type within a radius (e.g., sheep within 15 blocks):

/kill @e[distance=..15,type=minecraft:sheep] – Java Edition

/kill @e[r=10,type=minecraft:sheep] – Bedrock Edition

Both editions offer command autocompletion, so you don't need to memorize these exactly. The /kill command is relatively intuitive; you'll likely grasp it after a couple of tries.

Beyond @e, other selectors target different entities:

  • @p – the nearest player
  • @r – a random player
  • @a – all players
  • @e – all entities
  • @s – yourself

Related: Best Y Levels for Diamonds in Minecraft

How to Enable Cheats/Commands in Minecraft

Mob-killing commands won't work without cheats enabled. Here's how to do it:

Java Edition

Minecrafr Open to Lan Screen  Java Edition Enter your world, press Esc, select "Open to LAN," and enable "Allow Commands." Commands will work in this session, but you'll need to repeat this each time you open the world. To permanently enable cheats, create a world copy with cheats enabled. In the singleplayer menu, select your world, click "Re-create," and enable "Allow Commands" before creating the copy.

Bedrock Edition

Minecraft Cheats Screen Bedrock edition as part of an article about how to kill mobs. In the world selection menu, click the pencil icon next to your world. In the settings, toggle "Cheats" to "On."

That's all you need to know about killing mobs in Minecraft!

Minecraft is available on PlayStation, Xbox, Nintendo Switch, PC, and mobile devices.