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+
  • 26 2025-06
    "Grave of the Fireflies Blu-ray Steelbook Preorder Now Open"

    If you're a Studio Ghibli enthusiast, here's something to get excited about: Grave of the Fireflies is set to receive a stunning Blu-ray Steelbook edition, scheduled for release on July 8, 2025. With its eye-catching design and premium packaging, this collector’s item will be a standout addition to

  • 26 2025-06
    Top ATHENABlood Twins Heroes of 2025: Tier List

    Blending fast-paced combat with a richly developed lore, ATHENA: Blood Twins delivers an immersive action RPG experience. Featuring fluid hack-and-slash mechanics, in-depth skill customization, and a refined weapon mastery system, the game invites players into a hauntingly beautiful gothic world. Tr

  • 25 2025-06
    Another Eden celebrates eighth anniversary and teases upcoming story expansion

    *Another Eden: The Cat Beyond Time and Space* is celebrating a major milestone—its eighth anniversary—with a generous lineup of in-game rewards for loyal players. As part of the festivities, adventurers can look forward to earning bonus Chronos Stones, which are essential for progressing through the