Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Clear out junk files and repair common Windows errorsFree Scan →To eliminate all mobs in Minecraft, use /kill @e[family=mob] in Bedrock Edition. In Java Edition, there is no generic type=mob selector, so use a specific mob type such as /kill @e[type=minecraft:zombie], or exclude players with /kill @e[type=!minecraft:player]—while remembering that this also removes items, projectiles, vehicles, and other non-player entities.
What the Minecraft kill command does
The /kill command immediately kills its selected target. With no target selector, it affects the command executor:
| # | Preview | Product | Price | |
|---|---|---|---|---|
| 1 |
|
Minecraft - Nintendo Switch | $29.83 | Buy on Amazon |
| 2 |
|
Minecraft: Switch Edition | $32.65 | Buy on Amazon |
| 3 |
|
Minecraft Legends Deluxe Edition | $49.00 | Buy on Amazon |
| 4 |
|
Minecraft | Standard Edition | XBOX Digital Code | $19.99 | Buy on Amazon |
| 5 |
|
Minecraft | Java & Bedrock Deluxe Collection | Windows Digital Code | $39.99 | Buy on Amazon |
/kill
In both editions, @e means all entities available to the command, not “all mobs.” Depending on the selector, this can include players, dropped items, arrows, snowballs, boats, minecarts, armor stands, experience orbs, and other entities. The command applies to entities in loaded or otherwise active simulation areas; it does not reach every entity in an unlimited world at once.
For living targets, /kill produces the normal death result and bypasses ordinary protection such as high-level Resistance and a Totem of Undying. Use broad selectors carefully.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Fix the driver behind crashes, sound loss and screen glitches3Clear out junk files and repair common Windows errors#1 Best Overall
- Minecraft is a game about placing blocks and going on adventures
- Explore randomly generated worlds and build amazing things from the simplest of homes to the grandest of castles
- Play in creative mode with unlimited resources or mine deep into the world in survival mode, crafting weapons and armor to fend off the dangerous mobs
- Play on the go in handheld or tabletop modes
- Includes Super Mario Mash-Up, Natural Texture Pack, Biome Settlers Skin Pack, Battle & Beasts Skin Pack, Campfire Tales Skin Pack; Compatible with Nintendo Switch only
Bedrock Edition: kill all mobs
In Minecraft Bedrock Edition, the recommended command for removing mobs is:
/kill @e[family=mob]
The family=mob selector targets entities in the mob family, rather than every entity in the world. This is safer than /kill @e when you want to preserve dropped items, projectiles, boats, minecarts, armor stands, and experience orbs.
For hostile mobs only, use:
/kill @e[family=monster]
For a particular mob type, specify its entity identifier, for example:
/kill @e[type=chicken]
Bedrock selectors for exclusions and areas
Selector arguments go inside square brackets immediately after the selector and are separated by commas. For example:
Rank #2
- Explore randomly-generated worlds and build amazing things from the simplest of homes to the grandest of castles
- Play in Creative Mode with unlimited resources or mine deep into the world in survival mode, crafting weapons and armour to fend off the dangerous mobs
/kill @e[type=!arrow,type=!snowball]
An exclamation mark negates a condition. This command excludes entities with the player identifier, but it is not a mobs-only command:
/kill @e[type=!player]
It still targets dropped items, projectiles, vehicles, experience orbs, armor stands, and other non-player entities.
You can restrict a command to a distance from its execution position. This example kills chickens between two and six blocks away:
/kill @e[type=chicken,rm=2,r=6]
r sets the maximum radius, while rm sets the minimum radius. You can also preserve tagged entities. For example, this excludes anything carrying the protected tag:
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Rank #3
/kill @e[family=mob,tag=!protected]
See the Bedrock selector reference for the available selector arguments.
Java Edition: what works and what does not
Java Edition uses the command form:
/kill [targets]
Without a target, it kills the player running the command. To remove a specific mob type, use its namespaced entity ID:
/kill @e[type=minecraft:zombie]
Java does not have a generic mob entity ID. Therefore, this commonly shared command is not a valid Java solution for killing every mob:
/kill @e[type=mob]
To remove every entity except players in Java Edition, use:
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Rank #4
- CREATE YOUR WORLD — Build whatever you imagine in an infinite world that is unique in every playthrough.
- EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world full of surprises.
- SURVIVAL ADVENTURES — Face mysterious foes, travel across varied landscapes, and venture into perilous dimensions.
- PLAY TOGETHER — Play solo or join friends in local split-screen and cross-platform play across console, mobile, and PC. Online multiplayer supports up to 8 players.
- COMMUNITY PLAY — Connect with players on community servers, or subscribe to Realms Plus (sold separately) to play with up to 10 friends on a private server.
/kill @e[type=!minecraft:player]
That command protects players but still removes non-player entities such as items, projectiles, boats, minecarts, armor stands, and experience orbs. It is therefore broader than “kill all mobs.” For Java commands and syntax details, consult the Minecraft kill command reference.
How to use the command
- Open a world where commands or cheats are enabled.
- Open the chat or command input.
- Enter the command for your edition and intended target.
- Press Enter or confirm the command.
In Bedrock Edition, Microsoft lists /kill as requiring cheats and the Game Directors permission level. Enabling cheats can affect achievements in that world. If the command fails, check that you have the required permissions and that the syntax matches your edition. Microsoft’s current Bedrock reference was updated March 10, 2026: Bedrock /kill command documentation.
Useful command choices
| Goal | Bedrock Edition | Java Edition | Important warning |
|---|---|---|---|
| Kill the command executor | /kill |
/kill |
You kill yourself unless another target is supplied. |
| Kill all mobs | /kill @e[family=mob] |
No single generic type=mob selector |
Java requires specific types or a broader exclusion strategy. |
| Kill hostile mobs | /kill @e[family=monster] |
Use specific hostile types or Java selector logic | Verify the target category before running a broad command. |
| Kill all entities | /kill @e |
/kill @e |
Also removes players, items, projectiles, vehicles, armor stands, and XP orbs. |
| Kill all non-player entities | /kill @e[type=!player] |
/kill @e[type=!minecraft:player] |
Still removes non-mob entities. |
One-time cleanup versus continuous removal
Running the command once removes matching entities currently selected by the command. It does not permanently disable natural spawning. New mobs can spawn afterward if normal spawning, gamerules, command blocks, add-ons, and mob-cap conditions allow it.
For a repeating purge, place the appropriate command in a command block and configure the block as Repeat and Always Active. The block will repeatedly remove matching entities instead of performing a one-time cleanup. A repeating command can also prevent intended mobs from remaining in the area, so use a narrow selector or a protected tag when possible.
Best Value
- DELUXE COLLECTION — Includes Minecraft: Java & Bedrock Edition, three Bedrock add-ons, three exclusive Character Creator items, and 700 Minecoins.
- CREATE YOUR WORLD — Build whatever you imagine in an infinite world that’s unique in every playthrough.
- EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world filled with surprises.
- SURVIVE THE ADVENTURE — Face mysterious foes, travel across exciting landscapes, and venture into perilous dimensions.
- PLAY TOGETHER — Play cross-platform with friends in Bedrock Edition on console, mobile, and PC, or join community servers in Java Edition on PC, Mac, and Linux. Online console multiplayer requires a platform-specific subscription (sold separately).
Common mistakes
Using /kill @e to mean “all mobs”
This targets every selected entity. It can kill players and erase valuable items, projectiles, vehicles, armor stands, and experience orbs. Use Bedrock’s family=mob selector when you specifically want mobs.
Using Bedrock syntax in Java
/kill @e[family=mob] is a Bedrock-style family selector. Java does not provide a generic type=mob entity ID. Use Java entity IDs such as minecraft:zombie, or carefully use an exclusion selector.
Forgetting that the command only affects selected areas
The command cannot simultaneously remove entities in unloaded chunks across an unlimited world. Move into the area you want to clean or run the command where the relevant chunks are active.
Expecting spawning to stop
The command is a removal tool, not a permanent spawn switch. If mobs continue appearing, the command worked as a one-time cleanup and normal spawning has resumed. A repeating command block can maintain the purge, but it will continuously remove matching mobs.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




