Home News How To Kill All Mobs in Minecraft

How To Kill All Mobs in Minecraft

by Adam Mar 03,2025

Mastering the Minecraft Mob-Killing Commands: A Comprehensive Guide

There are many reasons why you might want to eliminate mobs in Minecraft. The most efficient method is utilizing commands, specifically the /kill command. However, even this seemingly straightforward command has nuances. This guide explains how to effectively target and eliminate mobs in Minecraft.

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

Before employing the /kill command, ensure your world has cheats enabled. Skip ahead if you already know how to activate cheats.

The /kill command itself is basic; simply type /kill into the chat box. However, this will unfortunately kill your player character. To target specific entities, you need to add syntax before /kill.

To eliminate all mobs:

/kill @e[type=!minecraft:player] Here, @e represents all entities, and the bracketed information specifies exclusion of the player.

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

/kill @e[type=minecraft:chicken]

You can also specify distance:

  • Java Edition: /kill @e\[distance=..15\] (kills mobs within 15 blocks)
  • Bedrock Edition: /kill @e\[r=10\] (kills mobs within 10 blocks)

To target a specific mob type within a certain radius:

  • Java Edition: /kill @e\[distance=..15, type=minecraft:sheep\] (kills sheep within 15 blocks)
  • Bedrock Edition: /kill @e\[r=10, type=minecraft:sheep\] (kills sheep within 10 blocks)

Both editions offer command autocompletion, minimizing the need for memorization. The /kill command is user-friendly and easily mastered after a couple of attempts.

Beyond @e, other selectors target different entities:

  • @p: Nearest player
  • @r: Random player
  • @a: All players
  • @e: All entities
  • @s: Yourself

Enabling Cheats/Commands in Minecraft

Mob-killing commands are ineffective without cheats enabled. Here's how to activate them:

Java Edition:

Minecrafr Open to Lan Screen  Java Edition Enter your world, press Esc, select "Open to LAN," and enable "Allow Commands." This needs to be repeated each time you open the world. For permanent cheat activation, create a world copy with cheats enabled. In the singleplayer menu, select your world, click "Re-create," and enable "Allow Commands."

Bedrock Edition:

Minecraft Cheats Screen Bedrock edition as part of an article about how to kill mobs. Locate your worlds, click the pencil icon next to the desired world, and toggle "Cheats" to "On" in the bottom-right menu.

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

Latest Articles More+
  • 07 2026-01
    Pokémon Horizons: Tinkatink Debuts in Pokémon Go

    Tinkatink and its evolved forms make their Pokémon Go debutAdditional Paldea Pokémon will also join the actionPlenty of rewards will be available to earnThe Horizons Celebration returns to Pokémon Go, introducing something sparkling, formidable, and

  • 07 2026-01
    Honkai Star Rail x Fate/Stay Night adds Saber, Archer in Jul 2025

    The exciting collaboration between Honkai: Star Rail and Fate/stay night [Unlimited Blade Works] arrives on July 11, 2025 as part of Version 3.6. Dubbed "Sweet Dreams and the Holy Grail," this special event blends Honkai's sci-fi setting with Fate's

  • 07 2026-01
    Pierre the Maze Detective: Android Pre-Registers Open

    Explore a Vibrant Hand-Drawn World The beloved Pierre the Maze Detective book series springs to life on Android in Labyrinth City! Developed by Darjeeling and published by StoreRider, this colorful adventure brings IC4DESIGN's million-copy bestsell