Home News How To Kill All Mobs in Minecraft

How To Kill All Mobs in Minecraft

by Sebastian Mar 19,2025

There are many reasons why you might want to eliminate mobs in Minecraft. The simplest method is using commands, specifically the /kill command. However, even this seemingly straightforward command has some nuances. This guide explains how to use it effectively.

Recommended Videos: How To Use the Kill Command to Kill All Mobs in Minecraft

Before using the /kill command, ensure your world has cheats enabled. Skip to the next section if you already know how to do this.

The basic /kill command is simple: type /kill into the chat box. However, this will kill *you*. To target mobs, you need to add some syntax.

To kill all mobs, use this command:

/kill @e[type=!minecraft:player] – This targets all entities (@e) except players (type=!minecraft:player).

To kill specific mob types (e.g., chickens):

/kill @e[type=minecraft:chicken]

You can also specify a kill radius. To kill all mobs within 15 blocks:

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

To kill a specific mob type within a radius (e.g., sheep within 15 blocks):

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

Both editions offer command autocompletion, so you don't need to memorize these exactly. The /kill command is relatively intuitive; you'll grasp it after a couple of tries.

Beyond @e, other important selectors include:

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

Related: Best Y Levels for Diamonds in Minecraft

How to Enable Cheats/Commands in Minecraft

The mob-killing commands won't work without cheats enabled. Here's how to enable them:

Java Edition

Minecrafr Open to Lan Screen  Java Edition Enter your world, press Esc, select "Open to LAN," and toggle "Allow Commands" to "On." This needs to be done each time you open the world. To permanently enable cheats, create a copy of your world with cheats enabled. In the singleplayer menu, select your world, click "Re-create," and enable "Allow Commands" before creating the copy.

Bedrock Edition

Minecraft Cheats Screen Bedrock edition as part of an article about how to kill mobs. In the world selection menu, click the pencil icon next to your world. In the settings, toggle "Cheats" to "On."

That covers how to kill all mobs in Minecraft.

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

Latest Articles More+
  • 21 2025-09
    Azur Lane's Bismarck: Skills, Tactics & Best Builds

    Bismarck stands as one of the most formidable SR battleships in Azur Lane, embodying the ruthless efficiency of the Iron Blood faction. What sets her apart isn't just raw firepower, but her ability to transform an entire fleet through strategic buffs

  • 21 2025-09
    Kingdom Come 2: Hidden Easter Eggs Revealed

    Kingdom Come 2 transcends traditional gaming to deliver an immersive historical sandbox brimming with cultural references and delightful secrets. Hidden throughout its expansive world lie clever Easter eggs that pay homage to pop culture, gaming lege

  • 20 2025-09
    Beginner's Guide to Mastering Windrider Origins RPG

    Dive into the captivating world of Windrider Origins, a dynamic action RPG where your decisions shape your journey. Whether you're new to RPGs or a veteran seeking a new challenge, this guide equips y