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!
=== entitydata === {{/infobox |entitydata |op |1.8|14w32b }} Modifies the data tag of an entity. ;Syntax : <code>entitydata <''entity''> <''dataTag''></code> ;Arguments : ''entity'' :: Specifies the entity(ies) to be modified. Must be an entity UUID or the <code>@e</code> [[#Target selectors|target selector]]. : ''dataTag'' :: Specifies the [[#Data tags|data tag]] elements to be added to, or overwrite elements of, the specified entity (data tags cannot be removed and strings cannot be set to a null value). Must be a compound [[NBT tag]] (for example, <code>{CustomName:Fred}</code>). ;Result : Fails if the arguments are not specified correctly, or if ''entity'' fails to resolve to one or more non-player entities (players can not be changed). : On success, modifies the data tag of the targeted entity(ies). ;Examples : To prevent all current zombies from picking up loot: :: <code>entitydata @e[type=Zombie] {CanPickUpLoot:0}</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