Remove All Creepers
Kill only creepers in the world, leaving other mobs alone
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Kills all creepers in the loaded world instantly. This is distinct from kill-all-mobs and lets you target specific mob types. Useful for preventing griefing or testing mob mechanics.
/kill @e[type=creeper]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.
- All creepers in the world are removed.
- Other mobs remain unaffected.
Related commands
Become nearly invincible
/effect give @p resistance 999999 255 trueSwitch to Peaceful mode so hostile mobs don't spawn
/difficulty peacefulGet coordinates of the nearest village structure
/locate structure villageLocate the stronghold with the end portal
/locate structure stronghold