Bedrock Edition level format/Entity format

This page lists the entity NBT structures $$.

Entity

 * The namespaced ID of this entity.
 * (May not exist) The namespaced ID of this entity and its current and previous component groups.
 * : Unknown
 * The Unique ID of this entity.
 * Three TAG_Floats describing the current X, Y and Z position of the entity.
 * : X
 * : Y
 * : Z
 * Two TAG_Floats representing rotation in degrees.
 * : The entity's rotation clockwise around the Y axis (called yaw). Due south is 0. Does not exceed 360 degrees.
 * : The entity's declination from the horizon (called pitch). Horizontal is 0. Positive values look downward. Does not exceed positive or negative 90 degrees.
 * (May not exist) Three TAG_Floats describing the current dX, dY and dZ velocity of the entity in meters per tick.
 * : dX
 * : dY
 * : dZ
 * (May not exist) The custom name of this entity.
 * (May not exist) If true, and this entity has a custom name, the name always appears above the entity, regardless of where the cursor points. If the entity does not have a custom name, a default name is shown.
 * (May not exist) Unknown.
 * Distance the entity has fallen. Larger values cause more damage when the entity lands.
 * Number of ticks until the fire is put out. Default 0 when not on fire.
 * True if the entity is touching the ground.
 * True if the entity should not take damage. This applies to living and nonliving entities alike: mobs should not take damage from any source (including potion effects), and cannot be moved by fishing rods, attacks, explosions, or projectiles, and objects such as vehicles cannot be destroyed. Invulnerable player entities are also ignored by any hostile mobs. Note that these entities can be damaged by players in Creative mode.
 * The number of ticks before which the entity may be teleported back through a nether portal. Initially starts at 300 ticks (15 seconds) after teleportation and counts down to 0.
 * True if this entity is a global entity (e.g. lightning bolt, ender dragon, arrow)
 * True if this entity is an autonomous entity.
 * (May not exist) Unknown
 * The Unique ID of an entity.
 * Unknown.

EntityFlags

 * Unknown. Defaults to 0.
 * The main color value of the entity. Used by sheep, llama, shulker, etc. Defaults to 0.
 * The entity's second color value. Used by tropical fish. Defaults to 0.
 * Determines the number of items the entity can carry (items = 3 × strength). Used by llama. Defaults to 0.
 * Determines the maximum number of items the entity can carry (items = 3 × strength). Defaults to 0.
 * True if this entity is sheared. Used by sheep and snow golem. Defaults to 0.
 * True if the entity is an illager captain. Used by pillager and vindicator. Defaults to 0.
 * Unknown. Defaults to -1.
 * True if this entity is sitting. Defaults to 0.
 * True if this entity is a baby. Defaults to 0.
 * True if this entity is tamed. Defaults to 0.
 * True if this entity is trusting a player. Defaults to 0.
 * Unknown. Defaults to 0.
 * True if this entity is angry. Defaults to 0.
 * True if the entity is out of control. Used by boat. Defaults to 0.
 * The ID of the variant. Used by cat, villager, horse, etc. Defaults to 0.
 * The ID of the mark variant. Used by villager, horse, bee etc. Defaults to 0.
 * True if this entity is saddled. Defaults to 0.
 * True if this entity is chested. Used by donkey, llama, and mule. Defaults to 0.
 * True if the End Crystal shows the bedrock slate underneath. Defaults to 0.
 * True if this entity is gliding. Defaults to 0.
 * True if this entity is swimming. Defaults to 0.
 * True if this entity is eating. Defaults to 0.
 * True if this entity is scared. Defaults to 0.
 * True if this entity is stunned. Used by ravager. Defaults to 0.
 * True if this entity is roaring. Used by ravager. Defaults to 0.
 * The entity's Skin ID value. Used by villager and zombified villager. Defaults to 0.

others

 * Whether an entity should be persistent in the game world.
 * (May not exist) List of scoreboard tags of this entity.
 * A tag.

Minecart

 * (May not exist) Whether to display the custom tile in this minecart.
 * (May not exist) The custom block in the minecart.
 * (May not exist) The offset of the block displayed in the Minecart in pixels. Positive values move the block upwards, while negative values move it downwards. A value of 16 moves the block up by exactly one multiple of its height.
 * (May not exist) The offset of the block displayed in the Minecart in pixels. Positive values move the block upwards, while negative values move it downwards. A value of 16 moves the block up by exactly one multiple of its height.

Villagers

 * True if the villager is willing to mate. Becomes true after certain trades (those that would cause offers to be refreshed), and false after mating.

Monster

 * True if spawned by night.

Humanoid Monster

 * Monster
 * (May not exist) The items in the entity's hand.

Additional
EconomyTradeableComponent
 * The left time in ticks until this entity disapears. Only effects Evoker Fangs. For other entities, it is set to 0.
 * The Unique ID of an entity that is leashing it with a lead. Set to -1 if there's no leasher.
 * (May not exist) Trade tier of this trader entity.
 * (May not exist) Trade experiences of this trader entity.
 * True if this entity can pick up items.
 * True if  has been set by the game.
 * (May not exist) Unknown.
 * (May not exist) Unknown.
 * The item being held in the mob's main hand.
 * The item.
 * The item being held in the mob's off hand.
 * The item.
 * The list of items the mob is wearing as armor.
 * The item on the head.
 * The item on the chest.
 * The item on the legs.
 * The item on the feets.
 * Number of ticks the mob turns red for after being hit. 0 when not recently hit.
 * Number of ticks the mob has been dead for. Controls death animations. 0 when alive.
 * True if dead.
 * Number of ticks the mob attacks for. 0 when not attacking.
 * True if it is naturally spawned on the surface.
 * True if it is naturally spawned.
 * The Unique ID of an entity that this entity is angry at.
 * Whether this mob has bound origin. Only effects Vex. When a vex is idle, it wanders, selecting air blocks from within a 15×11×15 cuboid range centered at BoundX, BoundY, BoundZ. when it summoned the vex, this value is set to 1, and the central spot is the location of the evoker. Or if an evoker was not involved, this value is 0.
 * X of the bound origin.
 * Y of the bound origin.
 * Z of the bound origin.
 * A list of Attributes for this mob. These are used for many purposes in internal calculations. Valid Attributes for a given mob are listed in the main article.
 * An Attribute.
 * (May not exist) The list of potion effects on this mob.
 * An effect.
 * (May not exist) Unknown.
 * (May not exist) Unknown.
 * True if the turtle has eggs.
 * (May not exist) The Unique ID of a captain to follow. Used by pillager and vindicator.
 * (May not exist) The list of potion effects on this mob.
 * An effect.
 * (May not exist) Unknown.
 * (May not exist) Unknown.
 * True if the turtle has eggs.
 * (May not exist) The Unique ID of a captain to follow. Used by pillager and vindicator.
 * True if the turtle has eggs.
 * (May not exist) The Unique ID of a captain to follow. Used by pillager and vindicator.
 * (May not exist) The Unique ID of a captain to follow. Used by pillager and vindicator.

Abstract Arrow

 * The Unique ID of the entity this projectile was thrown by. Set to -1 if it has no owner.
 * True if its owner is a player.
 * True if its owner is a player in Creative mode.

Throwable

 * Unknown.
 * Unknown.
 * The Unique ID of the entity this projectile was thrown by.

Arrow

 * The level of Power enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Power enchantment.
 * The level of Punch enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Punch enchantment.
 * The level of Flame enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Flame enchantment.
 * The level of Infinity enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Infinity enchantment.
 * Effects on a tipped arrow.
 * An effect.
 * The metadata of this arrow. See Arrow.
 * The metadata of this arrow. See Arrow.

Player

 * The item being held in the mob's off hand.
 * The item.
 * Each compound tag in this list is an item in the player's inventory.
 * : An item in the inventory, including the slot tag.
 * : The slot the item is in.
 * The format version of this NBT.
 * The selected inventory slot of the player.
 * Unknown.
 * True if the player is sleeping
 * The number of ticks the player had been in bed. 0 when the player is not sleeping. In bed, increases up to 100, then stops. Skips the night after all players in bed have reached 100. When getting out of bed, instantly changes to 100 and then increases for another 9 ticks (up to 109) before returning to 0.
 * The X coordinate of the player's spawn block.
 * The Y coordinate of the player's spawn block.
 * The Z coordinate of the player's spawn block.
 * The dimension of the player's spawn point.
 * The X coordinate of the player's spawn point.
 * The Y coordinate of the player's spawn point.
 * The Z coordinate of the player's spawn point.
 * The seed used for the next enchantment in enchantment tables.
 * The Unique ID of the entity that the player is riding.
 * The Unique ID of the entity that is on the player's left shoulder.
 * The Unique ID of the entity that is on the player's right shoulder.
 * The game mode of the player.
 * The level shown on the XP bar.
 * The progress/percent across the XP bar to the next level.
 * The ID of the dimension the player is in.
 * Each compound tag in this list is an item in the player's 27-slot ender chest inventory.
 * : An item in the inventory.
 * : The slot the item is in.
 * True if the player has traveled to the Overworld via an End portal.
 * Unknown
 * : An item in the UI, including the slot tag.
 * : The slot the item is in.
 * Unknown.
 * True if the player is sneaking.
 * The Unique ID of the player's agent.
 * Unknown.
 * True if the player is sneaking.
 * The Unique ID of the player's agent.

Vex

 * (May not exist) The item in its hand. Defaults to an iron sword.

Zombie Villager

 * True if spawned from village.

Area Effect Cloud

 * The maximum age of the field.
 * The number of ticks before reapplying the effect.
 * The amount the duration of the field changes upon applying the effect.
 * The field's initial radius.
 * The amount the radius changes upon applying the effect. Normally negative.
 * The amount the radius changes per tick. Normally negative.
 * The field's current radius.
 * The Unique ID of the entity who created the cloud. If it has no owner, defaults to -1.
 * The name of the default potion effect. See potion data values for valid IDs.
 * The particles displayed by the field.
 * The color of the particles.
 * A list of the applied effects.
 * The time when it was spawned.
 * The amount the radius changes when picked up by a glass bottle.
 * How many dragon's breath can be picked up.
 * How many dragon's breath can be picked up.

Armor Stand

 * The ArmorStand's pose.
 * The index of current pose.
 * The redstone signal level it recieved.

Painting

 * (May not exist) The ID of the painting's artwork.
 * Unknown.
 * The direction the painting faces: 0 is south, 1 is west, 2 is north, 3 is east.

Fireball

 * Unknown.
 * List of 3 doubles. Should be identical to Motion.
 * X
 * Y
 * Z
 * List of 3 floats that adds to  every tick. Act as the acceleration.
 * X
 * Y
 * Z

Thrown Potion

 * The ID of the potion effect.

Thrown Trident

 * The slot id when it is thrown out.This means thrown trifent with Loyalty prefers to return to this slot when this slot is empty. Set to -1 when without Loyalty enchantment.
 * The the item that is given when the entity is picked up.

Endermite

 * How long the endermite has existed in ticks. Disappears when this reaches around 2400.

Zombified Piglin

 * Unknown.

Shulker

 * Deprecated
 * X
 * Y
 * Z
 * Deprecated
 * Deprecated

Slime

 * The size of the slime. Note that this value is zero-based, so 0 is the smallest slime, 1 is the next larger, etc.

Rabbit

 * Set to 40 when a carrot crop is eaten, decreases by 0–2 every tick until it reaches 0.
 * Unknown.

Goat

 * Unknown.

Ender Crystal

 * (May not exist) The block location its beam points to.
 * (May not exist) See above.
 * (May not exist) See above.

Fireworks Rocket

 * The number of ticks this fireworks rocket has been flying for.
 * The number of ticks before this fireworks rocket explodes. This value is randomized when the firework is launched.

Item Entity

 * The health of the item, which starts at 5. Items take damage from fire, lava, and explosions. The item is destroyed when its health reaches 0.
 * The number of ticks the item has been "untouched". After 6000 ticks (5 minutes) the item is destroyed.
 * The item of this stack.
 * If present, only the player with this Unique ID can pick up the item.
 * If present, only the player with this Unique ID can pick up the item.

Wither

 * The number of ticks of invulnerability left after being initially created. 0 once invulnerability has expired.
 * Unknown.
 * Unknown.
 * Unknown.
 * Unknown.
 * Unknown.
 * Unknown.
 * Unknown.
 * Unknown.
 * Unknown.
 * Unknown.
 * Unknown.

Bat

 * Unknown. 1 when hanging upside down and 0 when flying.

Guardian and Elder Guardian

 * True if it is an elder guardian.

Experience Orb

 * The number of ticks the XP orb has been "untouched". After 6000 ticks (5 minutes) the orb is destroyed.
 * The amount of experience the orb gives when picked up.

Falling Block

 * The number of ticks the entity has existed. If set to 0, the moment it ticks to 1, it vanishes if the block at its location has a different ID than the entity's . If the block at its location has the same ID as its   when   ticks from 0 to 1, the block is deleted, and the entity continues to fall, having overwritten it. When Time goes above 600, or above 100 while the block is below Y=1 or is outside building height, the entity is deleted.
 * Deprecated. The numeric id of the block.
 * Deprecated. The metadata of the block.
 * Deprecated. The numeric id of the block.
 * Deprecated. The metadata of the block.

Enderman

 * The block carried by the enderman.
 * Deprecated. The numeric id of the block.
 * Deprecated. The metadata of the block.
 * Deprecated. The metadata of the block.