Commands/kill

Kills entities (players, mobs, items, etc.).

Syntax
Java Edition

Bedrock Edition

Arguments

 * Specifies the target(s) to kill. If not specified, defaults to the executor who executed the command.
 * Specifies the target(s) to kill. If not specified, defaults to the executor who executed the command.

Note
On success, directly kills non-living targets, even if they are protected by a high-level Resistance effect or by a totem of undying, and issues the appropriate death message. Players and mobs killed this way drop loot, and slimes and magma cubes that are not already of minimum size spawn smaller ones. Destroys boats, minecarts, loose items, paintings, armor stands, and experience orbs if they are targeted.

$$, players in creative mode cannot be killed.

Examples

 * To kill the player executing the command:
 * To kill the player Steve:
 * To kill item entities:
 * To kill all entities within 10 blocks:
 * To kill all entities except players:
 * To kill all entities except players:
 * To kill all entities except players:

History
Befehl/kill Comandos/kill Команды консоли/kill Команди консолі/kill 命令/kill