Entity NBT Format
Legend
root label

|
Where the NBT tree starts |
identifier

|
Defines entity type ID.
Example: "minecraft:pig". |
definitions

|
Adds or removes components from the from the baseline entity components. These are entity mostly specific. + adds a component not on the base entity and - removes a component on the base entity.
Example: "+minecraft:can_ride_default"
|
UniqueID

|
Unique numerical ID of the entity used to identify it from others of it type.
Example: "-4294967289".
|
Pos

|
Shows numerical values as to the position of the entity in 3D space.
|
X

|
Shows the X position of the entity.
|
Y

|
Shows the Y position of the entity.
|
Z

|
Shows the Z position of the entity.
|
Rotation

|
Defines the orientation angle of the entity.
|
Yaw

|
The orientation of the entity rotating clockwise around the X axis. (No more than 360°)
|
Pitch

|
The orientation of the entity rotating up and down along the Y axis. (No more than ±90°)
|
Motion

|
Defines the momentum assigned to a given entity.
|
dX

|
Defines momentum along the X axis.
|
dY

|
Defines momentum along the Y axis.
|
dZ

|
Defines momentum along the Z axis.
|
CustomNameVisible

|
Shows a custom name given to an entity regardless if you are looking directly at them or not. |
LastDimensionId

|
Last dimension visited by the entity. (Seemingly deprecated) |
FallDistance

|
Distance the entity has fallen. |
Fire

|
Number of ticks till the fire on the entity is extinguished. |
OnGround

|
Defines if an entity is in the state of being on the ground. (Not falling) |
Invulnerable

|
Makes the target entity unable to be harmed by any natural source. Entities with this tag cannot be moved by fishing rods. Creative players can deal damage regardless of the tag being applied to the target entity. |
PortalCooldown

|
Number of ticks before a given entity can use a nether portal again. |
IsGlobal
IsAutonomous

|
Exact use is unknown. |
LinksTag
 |
Defines a connection between a ride and a rider. |
entityID

|
Unique numerical ID of the rider entity the ride entity has linked to.
Example: "-3410204032983".
|
linkID

|
Numerical value used to determine which rider is which on the ride entity. (Starts at 0 and increments by 1 for each passenger) |
LootDropped
 |
Defines if an entity can or cannot drop loot. This is applied after the entity has received the Dead tag to ensure it doesn't drop loot more than once. |
Color
 |
Defines an entities color type. For example the difference between a black cat and a siamese cat is this value. |
Color2
 |
Defines an entities secondary color. Only tropical fish use this. |
Strength
 |
Defines how much a llama can carry. ( 3 * number = Items carriable ) |
StrengthMax
 |
Does the same thing as "Strength" seemingly. |
Sheared
 |
Defines whether a sheep is sheared. |
IsIllagerCaptain
 |
Defines whether an entity is an Illager Captain. |
OwnerNew
 |
Shows new owner ID. This is often for projectiles.
Example: "-4294967295"
|
OwnerID
 |
Shows current owner ID. This is often for projectiles.
Example: "-4294967295"
|
Sitting
 |
Defines whether an entity is sitting.
|
IsBaby
 |
Defines whether an entity is in its baby variant.
|
IsTamed
 |
Defines whether an entity is tame.
|
IsTrusting
 |
Defines whether an entity is trusting of the player.
|
IsOrphaned
 |
Defines whether an entity is spawned without parents.
|
IsAngry
 |
Defines whether an entity is hostile when it is normally neutral.
|
IsOutOfControl
 |
Is set to true when a player is controlling it and it is a ship.
|
Variant
 |
Defines entity variant type.
|
MarkVariant
 |
Defines the mark variant of an entity.
|
Saddled
 |
Is set to true when a player has mounted it and it is a living entity.
|
IsChested
 |
Defines if a working animal such as a horse carries a chest on its back.
|
ShowBottom
 |
Defines whether an end crystal shows the bedrock slab below it. (Used in the end dimension's crystals)
|
IsGliding
 |
Defines whether an entity is in the gliding state with an elytra.
|
IsSwiming
 |
Defines whether an entity is in the swimming state.
|
IsEating
 |
Defines whether an entity is eating something.
|
IsScared
 |
Defines whether an entity is in the scared state.
|
IsStunned
 |
Defines whether ravager is stunned.
|
IsRoaring
 |
Defines whether ravager is roaring.
|
SkinID
 |
Defines a villager/zombie villagers skin texture.
|
Persistent
 |
Defines if an entity can or cannot despawn when out of the player's mob spawning radius.
|
Tags
 |
Holds player applied tags that an entity has. (these are applied via /tag)
|
tag (not a real namespace)
 |
Tag identifier
Example: "CanopyAdmin"
|
CustomDisplayTile
 |
Set to true when a minecart is displaying a custom block.
|
DisplayBlock
 |
Set to true when a minecart is displaying a custom block.
|
block (not a real namespace)
 |
Block ID of a block to be displayed within the minecart.
Example: "minecraft:dirt"
|
DisplayOffset
 |
Number of pixels the display block of a minecart is offset along the Y axis.
|
Willing
 |
Defines if a villager is willing to breed or not. This value is set to false for a period of time after breeding.
|
SpawnedByNight
 |
Defines if a mob was spawned naturally by the night cycle or not.
|
ItemInHand
 |
Defines what item an entity holding.
|
Count
 |
Count of items in the hand.
|
Name
 |
Defines the item type in the hand.
Example: "minecraft:crossbow"
|
WasPickedUp
 |
Defines if the entity got the item by picking it up.
|
Damage
 |
This may say damage but it does not store the damage for the item.
|
CanPlaceOn
 |
Defines what the item be placed on when the user is in Adventure mode.
|
block (not real namespace)
 |
Block ID it can be placed on.
Example: "minecraft:stone"
|
CanDestroy
 |
Defines what the item can break when the user is in Adventure mode.
|
block (Not real namespace)
 |
Block ID it can destroy.
Example: "minecraft:stone"
|
tag
 |
Defines additional properties.
|
Mainhand
 |
Defines what item is in the entities mainhand.
|
item (not a real namespace)
 |
Item object.
|
Count
 |
Count of items.
|
Name
 |
Defines the item type.
Example: "minecraft:crossbow"
|
WasPickedUp
 |
Defines if the entity got the item by picking it up.
|
Damage
 |
This may say damage but it does not store the damage for the item.
|
CanPlaceOn
 |
Defines what the item be placed on when the user is in Adventure mode.
|
block (not real namespace)
 |
Block ID it can be placed on.
Example: "minecraft:stone"
|
CanDestroy
 |
Defines what the item can break when the user is in Adventure mode.
|
block (Not real namespace)
 |
Block ID it can destroy.
Example: "minecraft:stone"
|
tag
 |
Defines additional properties.
|
Offhand
 |
Defines what item is in the entities offhand.
|
item (not a real namespace)
 |
Item object.
|
Count
 |
Count of items.
|
Name
 |
Defines the item type.
Example: "minecraft:crossbow"
|
WasPickedUp
 |
Defines if the entity got the item by picking it up.
|
Damage
 |
This may say damage but it does not store the damage for the item.
|
CanPlaceOn
 |
Defines what the item be placed on when the user is in Adventure mode.
|
block (not real namespace)
 |
Block ID it can be placed on.
Example: "minecraft:stone"
|
CanDestroy
 |
Defines what the item can break when the user is in Adventure mode.
|
block (Not real namespace)
 |
Block ID it can destroy.
Example: "minecraft:stone"
|
tag
 |
Defines additional properties.
|
limitedLife
 |
Sets a number of ticks before an entity is deleted.
|
TradeTier
 |
Defines a villagers trading level.
|
TradeExperience
 |
Defines a villagers experience progress to next level.
|
canPickupItems
 |
Defines if an entity can pick up items.
|
hasSetCanPickupItems
 |
Set to true if the canPickupItems component has been set by the game.
|
HurtTime
 |
Duration an entity has the invulnerable tag set to true after taking damage. This also controls the duration in which the entity is red after taking damage.
|
DeathTime
 |
Duration an entity executes its death animation to the player before deletion.
|
Dead
 |
Defines if the entity has died.
|
AttackTime
 |
Ticks before attack cooldown is complete.
|
Surface
 |
True if the entity has spawned naturally on the surface. (IE, surface cap)
|
portal_transition
 |
Internally used entity NBT for transitioning entities between dimensions. This is used because when an entity enters the portal it's reference is destroyed, so it needs some way to know the conditions in which it entered the portal.
|
axis
 |
Saves the the axis in which the portal the entity entered is facing. (1 = z, 2 = x)
|
dimension
 |
Defines which dimension the entity is coming from (0 = overworld, 1 = nether, 2 = end)
|
X

|
Shows the X position the entity entered a portal at.
|
Y

|
Shows the Y position the entity entered a portal at.
|
Z

|
Shows the Z position the entity entered a portal at.
|
NaturalSpawn
 |
True if the entity has spawned naturally via cave or surface cap.
|
TargetID
 |
Unique numerical ID of an entity that this entity is targeting for some purpose.
|
Not all NBT tags are used in a standard entity, this just includes all known NBT tags and their known purpose.
No comments to display
No comments to display