Our news See more of us on Google? Add
Discord
Mobs Java & Bedrock Requires cheats

Kill mobs

Remove all the mobs around you with the /kill command: a quick way to clear an area.

Commands

/kill @e[type=!player]

Kills all entities except players

/kill @e[type=zombie]

Kills all zombies

/kill @e[type=item]

Removes all items lying on the ground

/kill @e[type=!player,distance=..50]

Kills entities within a 50-block radius

How it works

The /kill command instantly kills the target you give it. /kill @e kills ALL entities in the world (careful: players included!). The safer version, /kill @e[type=!player], kills everything except players. Selectors let you pick your targets precisely: /kill @e[type=zombie] kills only zombies, and /kill @e[type=zombie,distance=..50] kills zombies within a 50-block radius. The /kill command is a must for clearing an area of excess mobs, removing dropped items (type=item) or resetting farms. On PvP servers, /kill @s is a quick way to respawn, though you lose your items (unless keepInventory is turned on). Keep in mind that using /kill on the Ender Dragon doesn't grant the "Free the End" advancement.

Practical tips

1

NEVER type /kill @e without the type=!player filter, or you'll kill yourself too!

2

/kill @e[type=item] clears the lag caused by dropped items.

3

Use distance=..N to limit the range to N blocks around you.

Details

Category Mobs
Edition Java & Bedrock
Requires cheats Yes
Number of commands 4
Tags
killkillingmobsclearingselector

Related cheats

Mobs Java & Bedrock

Summon mobs

/summon minecraft:zombie ~ ~ ~
Mobs Java & Bedrock

Summon a boss

/summon minecraft:ender_dragon ~ ~ ~
Survival Java & Bedrock

Invincibility (god mode)

/gamemode creative
Survival Java & Bedrock

Unlimited items

/give @s minecraft:diamond 64