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+
  • 01 2025-07
    "Witcher 4 Creators Support Blood of Dawnwalker Authors, No Competition with Rebel Wolves"

    Gamers around the world have started to take notice of *The Blood of Dawnwalker*, with many drawing comparisons to *The Witcher 4*. This growing interest is not surprising, especially considering that the project was developed by former members of CD Projekt Red. The stylistic and atmospheric simila

  • 01 2025-07
    Discover Captain Henqua's Spoils in Avowed: A Guide

    One of the most engaging ways players can immerse themselves in the world of *Avowed* is by uncovering hidden treasures through a variety of treasure maps scattered throughout the game. In the early stages of your journey, specifically in the Dawnshore region, you’ll come across a unique opportunity

  • 01 2025-07
    Halfbrick Sports: Football Set to Launch Soon

    If you're a fan of fast-paced, chaotic sports action, Halfbrick Sports: Football is about to become your new obsession. As the name suggests, this 3v3 arcade football simulator strips away the formalities of traditional soccer and serves up non-stop, rule-free gameplay packed with wild tackles, acro