Kill All Mobs
Instantly remove every mob from the world except players
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Instantly 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]- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command and press Enter.
- Every non-player entity vanishes instantly.
- To kill only specific types, use /kill @e[type=zombie] or similar.
Related commands
Find the Nearest Village
Get coordinates of the nearest village structure
God Mode (Resistance + Regeneration)
Become nearly invincible
Add Experience Levels
Give yourself XP levels for enchanting
Set Difficulty to Peaceful
Switch to Peaceful mode so hostile mobs don't spawn
Find the Nearest Stronghold
Locate the stronghold with the end portal
Add Experience Levels
Give yourself or a player XP levels