Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/kill

From SAS Gaming Wiki
Revision as of 15:44, 9 April 2026 by SyncBot (talk | contribs) (Remove broken links to missing pages)

Template:Redirect Template:Infobox command

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

Usage

Directly kills living targets compulsorily (directly removes the entity) and prompts Killed <entity display name>, or Killed <number> entities if multiple entities are killed, which is irrespective of any of the targeted mob(s)' protective effects (Minecraft:armor, Protection and Resistance). However, the damage can be adjusted by the ender dragon. Totems of undying can't be triggered when their owner(s) die(s) because of this command.

When the command kills mob(s), it issues the appropriate death message. Players and mobs killed this way drop loot, and slimes and magma cubes that are not of minimum size spawn smaller ones. Non-mob entities disappear if they are targeted.

Template:IN, ender dragons killed by this command will skip their death animation and immediately open the exit portal.

Template:IN, players in Creative mode cannot be killed using this command.

Syntax

  • Java Edition
kill [<targets>]
  • Bedrock Edition
kill [target: target]

Arguments

Template:Argument

Specifies the target(s) to kill. If not specified, defaults to the player who executed the command.
Template:Arg desc

Result

Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table

Output

Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table

Examples

  • To kill the player executing the command: kill @s or kill
  • To kill the player Steve: kill Steve
  • To kill item entities: kill @e[type=item]
  • To kill all entities except players (if there are too many entities, some won’t be killed.) : kill @e[type=!player]
  • To kill all creepers within 10 blocks:
  • To kill all arrows that are stuck in a Minecraft:target: kill @e[type=arrow,nbt={inBlockState:{Name:"minecraft:target"}}]Template:Only

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

External links

Navigation

Template:Navbox commands

de:Befehl/kill es:Comandos/kill fr:Commandes/kill it:Comandi/kill ja:コマンド/kill ko:명령어/kill pt:Comandos/kill ru:Команды консоли/kill uk:Команди консолі/kill zh:命令/kill