Home News "Eliminate All Mobs in Minecraft: A Guide"

"Eliminate All Mobs in Minecraft: A Guide"

by Matthew May 12,2025

In *Minecraft*, there are numerous reasons you might want to eliminate mobs, and the most straightforward method to do this is by utilizing commands, specifically the /kill command. While it seems simple, this command has some nuances that are worth exploring. Here's a comprehensive guide on how to use the /kill command to target all mobs in *Minecraft*.

How to Use the Kill Command to Kill All Mobs in Minecraft

Before diving into the /kill command, ensure that you're playing in a world where cheats are enabled. If you're unsure how to activate cheats, you can skip to the next section for instructions.

The /kill command itself is straightforward; you simply type /kill into the chat box. However, this will only result in your own demise, which isn't the intended outcome. To target specific entities, you need to add some syntax before the /kill command.

To kill all mobs, the command you need is:

/kill @e[type=!minecraft:player]

Here, @e represents all entities, and the content within the brackets ensures that you are not included in the kill command.

If you want to eliminate a specific type of mob, such as chickens, the command would be:

/kill @e[type=minecraft:chicken]

You can also specify a distance parameter. For instance, to kill all mobs within a 15-block radius, use:

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

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

To target a specific mob within 15 blocks, you can use:

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

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

Both editions of the game will provide autocomplete suggestions for these commands, making them easier to use without memorization. After a couple of tries, you'll get the hang of it.

Besides @e, there are other selectors that target different entities:

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

How to Turn On Cheats/Commands in Minecraft

For the /kill command to work, you must be in a *Minecraft* world with cheats enabled. Here's how to activate cheats in both Java and Bedrock editions.

Java Edition

Minecraft Open to Lan Screen Java Edition

In Java Edition, enter your world and, once loaded, press Esc and select "Open to LAN." You'll see an option labeled "Allow Commands"; set it to "On." This will enable commands for that session, but you'll need to repeat this process each time you restart your world. For a permanent solution, create a copy of your world with cheats enabled:

  • From the main menu, select "Singleplayer" to view your worlds.
  • Choose the world you want to copy and click "Re-create" at the bottom.
  • In the new menu, set "Allow Commands" to "On" and proceed.

Bedrock Edition

Minecraft Cheats Screen Bedrock Edition

Enabling cheats in Bedrock Edition is simpler. Navigate to your list of worlds and click the pencil icon next to the world where you want to enable cheats. In the settings menu, locate the "Cheats" option in the bottom right and toggle it to "On."

With these steps, you now have all the knowledge you need to efficiently kill mobs in *Minecraft* using the /kill command.

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

Latest Articles More+
  • 07 2026-06
    Jump King Launches with Brutal Platforming Challenge

    Jump King brings its notoriously challenging platforming action to mobile devices.Take on the colossal tower as the aptly named Jump King.Every jump is final—there's no turning back. Master the precise charge-and-release jump mechanics.Not too long a

  • 07 2026-06
    The Pokémon Fossil Museum Is Bringing Real and Fake Pokémon Fossils to the U.S. Next Year

    The Pokémon Company has officially announced that the Pokémon Fossil Museum will arrive in North America this May 2026.Curious about what the Pokémon Fossil Museum actually entails? It lives up to its name. Following its successful launch in Japan, t

  • 05 2026-06
    Chaos Zero Nightmare Pre-Download Available Now

    The developers of Chaos Zero Nightmare have officially revealed the pre-download window and launch timeline. Read on to discover when game servers will go live and what updates are planned following the limited playtest phase.Chaos Zero Nightmare Pre