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]22 characters
- 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
Get coordinates of the nearest village structure
/locate structure villageBecome nearly invincible
/effect give @p resistance 999999 255 trueSwitch to Peaceful mode so hostile mobs don't spawn
/difficulty peacefulLocate the stronghold with the end portal
/locate structure strongholdGive yourself or a player XP levels
/xp add @s 10L