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+
  • 18 2025-12
    Yakuza Merchandise: Fans Vote on Wares

    This year marks the 20th anniversary of Yakuza / Like a Dragon, and developer Ryu Ga Gotoku Studio is celebrating by letting fans vote on potential official merchandise ideas. The options range from cult attire and a traffic cone to golden underwear

  • 18 2025-12
    Marvel Snap Begins Golden Gauntlet Series Next Month

    The Golden Gauntlet tournament series kicks off on August 9thAll events take place online, are free to enter, and welcome players of any skill levelTop performers from each qualifier secure a spot in the Golden Gauntlet World Championship on November

  • 18 2025-12
    Like a Dragon: Pirate Yakuza - Hawaii Chapters & Playtime

    While Like a Dragon: Pirate Yakuza in Hawaii might be the most whimsical installment in the series, many players wonder how its scope compares to Like a Dragon: Infinite Wealth. If you're curious about the game's length and chapter structure, here's