Go Back
Inherits all from: none

Entity

Tag Name Tag Type Type Enforced Example Notes
id string - Not written to entity NBT; can neither test for it nor assign it.
It is, however, written to the Entities list in the chunk format.
Pos List (Double) /entitydata @e {Pos:[0.0,0.0,0.0]} Cannot be used with /summon because /summon's coordinates override the "Pos" tag.
Motion List (Double) /entitydata @e {Motion:[0.0,0.5,0.0]} -
Rotation List (Float) /entitydata @e {Rotation:[0.0f,90.0f]} -
FallDistance Float - /summon Creeper ~ ~3 ~ {FallDistance:30}
/testfor @e {FallDistance:30.0f}
-
Fire Short - /summon Creeper ~ ~1 ~ {Fire:100}
/testfor @e {Fire:30s}
-
Air Short - /summon Creeper ~ ~1 ~ {Air:300}
/testfor @e {Air:300s}
-
OnGround Byte (Boolean) - /testfor @e {OnGround:0b} -
Dimension Integer - /summon Creeper ~ ~1 ~ {Dimension:50} Value will only change if the entity travels to another dimension.
Invulnerable Byte (Boolean) - /summon Creeper ~ ~1 ~ {Invulnerable:1}
/testfor @e {Invulnerable:1b}
-
PortalCooldown Integer - /summon Creeper ~ ~1 ~ {PortalCooldown:100} -
UUIDLeast Long /summon Creeper ~ ~1 ~ {UUIDLeast:1l} Requires UUIDMost to be defined. Do not have multiple entities with the same UUID!
UUIDMost Long /summon Creeper ~ ~1 ~ {UUIDMost:1l} Requires UUIDLeast to be defined. Do not have multiple entities with the same UUID!
UUID String /summon Creeper ~ ~1 ~ {UUID:"1-2-3-4-5"} Do not use this tag, use UUIDLeast and UUIDMost instead.
CustomName String /summon Creeper ~ ~1 ~ {CustomName:"Name"} Does not support the JSON text component.
Does not exist unless specified.
CustomNameVisible Byte (Boolean) - /summon Creeper ~ ~1 ~ {CustomNameVisible:1}
/testfor @e {CustomNameVisible:1b}
Does not exist unless "CustomName" exists.
Silent Byte (Boolean) - /summon Creeper ~ ~1 ~ {Silent:1}
/testfor @e {Silent:1b}
Does not exist unless specified.
Riding Compound /testfor @e {Riding:{}} Will not exist if entity is not riding another entity.
Tag Name Tag Type Type Enforced Example Notes
id String /summon Creeper ~ ~1 ~ {Riding:{id:"Creeper"}} -
CommandStats Compound /summon Creeper ~ ~1 ~ {CommandStats:{}} -
Tag Name Tag Type Type Enforced Example Notes
SuccessCountName String /summon Creeper ~ ~1 ~ {CommandStats:{SuccessCountName:"Player"}} Requires "SuccessCountObjective".
SuccessCountObjective String /summon Creeper ~ ~1 ~ {CommandStats:{SuccessCountObjective:"Objective"}} Requires "SuccessCountName".
AffectedItemsName String /summon Creeper ~ ~1 ~ {CommandStats:{AffectedItemsName:"Player"}} Requires "AffectedItemsObjective".
AffectedItemsObjective String /summon Creeper ~ ~1 ~ {CommandStats:{AffectedItemsObjective:"Objective"}} Requires "AffectedItemsName".
AffectedBlocksName String /summon Creeper ~ ~1 ~ {CommandStats:{AffectedBlocksName:"Player"}} Requires "AffectedBlocksObjective".
AffectedBlocksObjective String /summon Creeper ~ ~1 ~ {CommandStats:{AffectedBlocksObjective:"Objective"}} Requires "AffectedBlocksName".
QueryResultName String /summon Creeper ~ ~1 ~ {CommandStats:{QueryResultName:"Player"}} Requires "QueryResultObjective".
QueryResultObjective String /summon Creeper ~ ~1 ~ {CommandStats:{QueryResultObjective:"Objective"}} Requires "QueryResultName".