Editing
MinecraftCommands
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== kill === {{/infobox |kill |op |1.3.1|12w16a }} Kills entities (players, mobs, items, etc.). ;Syntax :: <code>kill [''player''<nowiki>|</nowiki>''entity'']</code> ;Arguments : ''player|entity'' :: Specifies the target(s) to be killed (including "non-living" entities like items, vehicles, etc.). Must be a player name or a [[#Target selectors|target selector]]. If not specified, defaults to the command's user. Not optional in command blocks. ;Result : Fails if ''player|entity'' fails to resolve to one or more entities (named players must be online). : On success, inflicts 3.4 x 10<sup>38</sup> void damage to targets β killing them instantly even if in Creative mode or protected by a high-level Resistance [[effect]] β and issues the appropriate [[death message]]. Players and mobs killed this way drop loot, and [[slime]]s and [[magma cube]]s that aren't already of minimum size spawn smaller ones. Destroys [[boat]]s, [[minecart]]s, [[item (entity)|loose items]] and [[experience orb]]s if they are targeted. ;Examples : To kill yourself: <code>kill</code> : To kill a player named Bob: <code>kill Bob</code> : To "kill" all item entities (making them vanish from the world): <code>kill @e[type=Item]</code> : To "kill" all entities within loaded chunks, including yourself: <code>kill @e</code> <!-- please retain double newline above for section differentiation -->
Summary:
Please note that all contributions to Hegemon Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Hegemon Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information