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+
  • 22 2026-10
    LEGO Sets on Sale at Target, Including New Gizmo

    For LEGO collectors, the past year has delivered a wonderful range of exciting new sets to assemble—and the final stretch of the year still offers plenty more to anticipate. If you’re eager to start building a new model, especially with autumn’s cool

  • 18 2026-10
    Wordle May 31, 2026 Answer for 1807 – (5/31/26) - Try Hard Guides

    Wordle is a beloved daily word game where players race to crack the single puzzle released each day. Although the rules are straightforward, the challenge spikes when the target word is obscure or unfamiliar. If you’re stuck on Wordle 1807, this guid

  • 18 2026-10
    Suikoden STAR LEAP Pre-Register and Pre-Order

    Suikoden STAR LEAP Pre-OrderAs of writing, Suikoden STAR LEAP has not been open for pre-order. We'll be sure to update once it is available!