Bedrock Edition level format/Entity format

Entity NBT structures in Bedrock Edition.

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. Negative values reflect how long the entity can stand in fire before burning. Default -20 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)
 * Unknown. Defauts to 0.
 * (May not exist) Unknown
 * The Unique ID of an entity.
 * Unknown
 * Unknown. Defaults to 0.
 * Unknown. Defauts to 0.
 * Unknown. Defauts to 0.
 * Unknown. Defauts to 0.
 * Unknown. Defauts to 0.
 * True if this entity is sheared.
 * Unknown. Defauts to 0.
 * Unknown. Defauts to -1.
 * True if this entity is sittting.
 * True if this entity is a baby.
 * True if this entity is tamed.
 * True if this entity is trusting a player.
 * Unknown. Defauts to 0.
 * True if this entity is angry.
 * Unknown. Defauts to 0.
 * Unknown. Defauts to 0.
 * Unknown. Defauts to 0.
 * True if this entity is saddled.
 * True if this entity is chested.
 * True if the End Crystal shows the bedrock slate underneath. Defaults to 0.
 * True if this entity is gliding.
 * True if this entity is swimming.
 * True if this entity is eating.
 * True if this entity is scared.
 * True if this entity is stunned.
 * True if this entity is roaring.
 * Unknown. Defauts to 0.
 * (May not exist) List of scoreboard tags of this entity.
 * A tag.
 * Components
 * Components

Minecart

 * (May not exist) Whether to display the custom tile in this minecart.
 * (May not exist) The custom block in the minecart.
 * Block
 * (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

 * Mob
 * 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

 * Mob
 * True if spawned by night.

Humanoid Monster

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

Mob

 * 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) Unknown
 * (May not exist) Unknown
 * 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.
 * ItemStackBase
 * The item being held in the mob's off hand.
 * The item.
 * ItemStackBase
 * The list of items the mob is wearing as armor.
 * The item on the head.
 * ItemStackBase
 * The item on the chest.
 * ItemStackBase
 * The item on the legs.
 * ItemStackBase
 * The item on the feeta.
 * ItemStackBase
 * 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.
 * Unknown. A Unique ID.
 * Whather 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.
 * SharedAttributes
 * (May not exist) The list of potion effects on this mob.
 * An effect.
 * MobEffectInstance
 * (May not exist) Unknown.
 * (May not exist) True if it wants to be Jockey.
 * HideComponent: (Optional)
 * True if the entity is pregnant.
 * (May not exist) Unknown.

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

 * Ticks until the arrow can be picked up by players. This is set to 7 when the arrow initially hits a block.
 * Whether an arrow entity is stuck in the ground.
 * The Unique ID of the entity this projectile was thrown by.

Arrow

 * The level of Power enchantment on the bow that shot this arrow.
 * The level of Punch enchantment on the bow that shot this arrow.
 * The level of Flame enchantment on the bow that shot this arrow.
 * The level of Infinity enchantment on the bow that shot this arrow.
 * Effects on a tipped arrow.
 * An effect.
 * The metadata of this arrow. 0 isnormal arrow.
 * The metadata of this arrow. 0 isnormal arrow.

Player

 * The items the player is holding in off hand.
 * 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.
 * ItemStackBase
 * 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.
 * 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.
 * ItemStackBase
 * Unknown.
 * True if the player is sneaking.
 * The Unique ID of the player's agent.
 * Abilities

Vex

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

Zombie Villager

 * True if spawned from village.

Area Effect Cloud

 * The maximum age of the field after.
 * 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.
 * MobEffectInstance
 * The time when it was spawned.
 * Unknown.
 * Unknown.

Armor Stand

 * The ArmorStand's pose.
 * the index of current pose.
 * Unknown.

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.
 * Unknown.
 * 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
AbstractArrow
 * Unknown.
 * Unknown.
 * ItemStackBase

Endermite

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

Zombiefied 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. The sizes that spawn naturally are 0, 1, and 3. Values that are greater than 126 get clamped to 126.

Rabbit

 * Set to 40 when a carrot crop is eaten, decreases by 0–2 every tick until it reaches 0. Has no effect in game.
 * 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. If set to -32768, the Age does not increase, preventing the item from despawning automatically.
 * The item of this stack.
 * ItemStackBase
 * 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.

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. NBT name with space

Falling Block

 * 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 metadata of the block.

Enderman

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