OGTOOLS

Minecraft /kill command

Instantly removes the selected players or mobs.

🐷 Mobs and entities Operator (level 2) Needs cheats enabled Java Edition 26.3

Syntax

/kill
/kill <targets>

Parts in square brackets are optional, parts in angle brackets are required. You do not type the brackets: Put your own value in their place.

Arguments

ArgumentWhat it does
<targets> The entities to kill. Leave it out and you kill yourself.

Examples

/kill @e[type=zombie]

Clears every zombie in the loaded area.

/kill @e[type=item]

Deletes items lying on the ground and reduces server lag.

/kill @e[type=!player]

Kills everything except players.

Good to know

  • If you type just @e, everything dies, players included, so be careful.
  • Drops fall just as they would in a normal death.

How do I run this command?

Press T in game to open chat (or press / directly), type the command and press Enter. While typing, Tab completes the options. This command counts as a cheat: It needs cheats enabled in a singleplayer world, and operator permission on a server (operator (level 2)).

Related commands

🐷 More Mobs and entities

Another tool Minecraft crafting recipes Would rather make the item than give it with a command? See the recipe on the 3x3 grid.

Minecraft is a product of Mojang Studios. This tool is an independent helper made for players and is not affiliated with Mojang or Microsoft.