Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!


From Minecraft Wiki
Jump to: navigation, search

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

  • Java Edition
kill <target>
  • Bedrock Edition
kill [target: target]
player|entity (BE: target: target)
Specifies the target(s) to be killed (including "non-living" entities like items, vehicles, etc.). Must be a player name or a target selector. In Java Edition 1.13, the target(s) must be specified, or the command will not work. The target is not optional in command blocks, too.
Fails if player|entity fails to resolve to one or more entities (named players must be online).
On success, directly kills non-living targets, or inflicts 3.4 x 1038[verify] void damage to 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 aren't already of minimum size spawn smaller ones. Destroys boats, minecarts, loose items and experience orbs if they are targeted.
To kill yourself: kill[Bedrock Edition only][upcoming: JE 1.15] or kill @s
To kill the player Bob: kill Bob
To kill item entities: kill @e[type=item]
To kill all entities, including yourself: kill @e
To kill all entities but players: kill @e[type=!player]


Java Edition Alpha
v1.2.6Added /kill.
Java Edition
1.6.113w24bThe damage dealt by /kill is changed from 1,000 to 3.4×1038.
1.814w02aAdded player|entity argument to /kill.
14w02cTo fix MC-44371, /kill now directly kills non-living targets, rather than dealing 3.4×1038 void damage.
Upcoming Java Edition
1.1519w38a<target> argument is optional again.
Pocket Edition Alpha
0.16.0build 1Added /kill.