Skip to content
/craftcmd

Kill All Mobs

Instantly remove every mob from the world except players

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Instantly kills every entity except players — hostile mobs, animals, dropped items, arrows, minecarts, all gone. Use with extreme caution: it also kills villagers, tamed pets, and any important mobs you might have. Better to kill specific types: /kill @e[type=zombie] or /kill @e[type=!player,type=!armor_stand].

/kill @e[type=!player]
22 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command and press Enter.
  3. Every non-player entity vanishes instantly.
  4. To kill only specific types, use /kill @e[type=zombie] or similar.

Related commands

Find the Nearest Village
Find the Nearest Village Awaiting in-game verification
Both

Get coordinates of the nearest village structure

/locate structure village

Become nearly invincible

/effect give @p resistance 999999 255 true

Give yourself XP levels for enchanting

/experience add @p 30 levels

Switch to Peaceful mode so hostile mobs don't spawn

/difficulty peaceful
Find the Nearest Stronghold
Find the Nearest Stronghold Awaiting in-game verification
Both

Locate the stronghold with the end portal

/locate structure stronghold
Add Experience Levels
Add Experience Levels Awaiting in-game verification
Both

Give yourself or a player XP levels

/xp add @s 10L