/kill — Kill Entity
minecraft — Console Commands
Instantly kill player or entity. Works on any mob.
Syntax
/kill <target>
Example
/kill @e[type=minecraft:creeper,distance=..10]
💡 Notes
Use carefully — /kill @e kills EVERYTHING including items and minecarts.
👍 Pros
- Clear areas of mobs
- Instant entity removal
- Debugging
👎 Cons
- Can destroy your world with @e
- Items destroyed too
- No undo