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.
 * 1 or 0 (true/false) - (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.
 * 1 or 0 (true/false) - true if the entity is touching the ground.
 * 1 or 0 (true/false) - 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.
 * 1 or 0 (true/false) - true if this entity is a global entity (e.g. lightning bolt, ender dragon, arrow).
 * 1 or 0 (true/false) - true if this entity is an autonomous entity.
 * (May not exist) Unknown
 * The Unique ID of an entity.
 * Unknown.
 * 1 or 0 (true/false) - true if this entity can drop loots when died.
 * 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.
 * 1 or 0 (true/false) - true if this entity is sheared. Used by sheep and snow golem.
 * 1 or 0 (true/false) - true if the entity is an illager captain. Used by pillager and vindicator.
 * Unknown. Defaults to -1.
 * 1 or 0 (true/false) - true if this entity is sitting.
 * 1 or 0 (true/false) - true if this entity is a baby.
 * 1 or 0 (true/false) - true if this entity is tamed.
 * 1 or 0 (true/false) - true if this entity is trusting a player. Used by fox and ocelot.
 * 1 or 0 (true/false) - true if this entity is not spawn from its parents. Used by all the mobs that can breed.
 * 1 or 0 (true/false) - true if this entity is angry. Used by wolf and bee.
 * 1 or 0 (true/false) - true if the entity is out of control. Used by boat.
 * 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.
 * 1 or 0 (true/false) - true if this entity is saddled.
 * 1 or 0 (true/false) - true if this entity is chested. Used by donkey, llama, and mule.
 * 1 or 0 (true/false) - true if the End Crystal shows the bedrock slate underneath.
 * 1 or 0 (true/false) - true if this entity is gliding.
 * 1 or 0 (true/false) - true if this entity is swimming.
 * 1 or 0 (true/false) - true if this entity is eating.
 * 1 or 0 (true/false) - true if this entity is scared.
 * 1 or 0 (true/false) - true if this entity is stunned. Used by ravager.
 * 1 or 0 (true/false) - true if this entity is roaring. Used by ravager.
 * The entity's Skin ID value. Used by villager and zombified villager. Defaults to 0.
 * 1 or 0 (true/false) - if an entity should be persistent in the game world.
 * (May not exist) List of scoreboard tags of this entity.
 * A tag.

Minecart

 * 1 or 0 (true/false) - (may not exist) if is displayed 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

 * 1 or 0 (true/false) - 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

 * 1 or 0 (true/false) - true if spawned by night.

Humanoid Monster

 * Additional fields for Monsters.
 * (May not exist) The items in the entity's hand.

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) Trade tier of this trader entity.
 * (May not exist) Trade experiences of this trader entity.
 * 1 or 0 (true/false) - true if this entity can pick up items.
 * 1 or 0 (true/false) - 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.
 * 1 or 0 (true/false) - true if dead.
 * Number of ticks the mob attacks for. 0 when not attacking.
 * 1 or 0 (true/false) - true if it is naturally spawned on the surface.
 * 1 or 0 (true/false) - true if it is naturally spawned.
 * The Unique ID of an entity that this entity is angry at.
 * 1 or 0 (true/false) - if 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 true, and the central spot is the location of the evoker. Or if an evoker was not involved, this value is false.
 * 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.
 * 1 or 0 (true/false) - (may not exist) unknown.
 * (May not exist) The Unique ID of a captain to follow. Used by pillager and vindicator.
 * An Attribute.
 * (May not exist) The list of potion effects on this mob.
 * An effect.
 * (May not exist) Unknown.
 * 1 or 0 (true/false) - (may not exist) unknown.
 * (May not exist) The Unique ID of a captain to follow. Used by pillager and vindicator.
 * 1 or 0 (true/false) - (may not exist) unknown.
 * (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.
 * 1 or 0 (true/false) - true if its owner is a player.
 * 1 or 0 (true/false) - true if its owner is a player in Creative mode.

Throwable

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

Allay

 * The allay's duplication cooldown in ticks. This is set to 6000 ticks (5 minutes) when the allay duplicates.
 * List of items the allay has picked up. Each compound tag in this list is an item in the allay's inventory.
 * An item in the inventory, including the slot tag.
 * The slot the item is in.
 * The vibration event listener of this allay.
 * Unknown.
 * Unknown.
 * Unknown.

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.

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.

Bat

 * 1 when hanging upside down and 0 when flying.

Bee

 * The bee.
 * 1 or 0 (true/false) - true if the bee has nectar.

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.

Endermite

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

Ender Crystal

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

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.

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

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.

Goat

 * Unknown.

Guardian and Elder Guardian

 * 1 or 0 (true/false) - true if it is an elder guardian.

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.

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.

Player

 * A list of all recipes the player has unlocked.
 * The name of a recipe, for instance  or.
 * The number of contexts used for unlocking recipes. Defaults to 2.
 * 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.
 * 1 or 0 (true/false) - 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.
 * 1 or 0 (true/false) - 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.
 * 1 or 0 (true/false) - true if the player is sneaking.
 * The Unique ID of the player's agent.
 * The number of ticks since the player was threatened for warden spawning. Increases by 1 every tick. After 12000 ticks (10 minutes) it will be set back to 0, and the  will be decreased by 1.
 * A threat level between 0 and 4 (inclusive). The warden will spawn at level 4.
 * The number of ticks before the  can be increased again. Decreases by 1 every tick. It is set 200 ticks (10 seconds) every time the threat level is is increased.
 * 1 or 0 (true/false) - true if the player is sneaking.
 * The Unique ID of the player's agent.
 * The number of ticks since the player was threatened for warden spawning. Increases by 1 every tick. After 12000 ticks (10 minutes) it will be set back to 0, and the  will be decreased by 1.
 * A threat level between 0 and 4 (inclusive). The warden will spawn at level 4.
 * The number of ticks before the  can be increased again. Decreases by 1 every tick. It is set 200 ticks (10 seconds) every time the threat level is is increased.

Rabbit

 * Set to 40 when a carrot crop is eaten, decreases by 0–2 every tick until it reaches 0.
 * 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.

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.

Turtle

 * 1 or 0 (true/false) - true if the turtle has eggs.

Vex

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

Warden

 * List of nuisances that have angered the warden.
 * A nuisance.
 * 1 or 0 (true/false) - true if the nuisance is a player.
 * The level of anger. It has a maximum value of 150 and decreases by 1 every second.
 * The Unique ID of the entity that is associated with the anger.
 * The vibration event listener of the warden.
 * Unknown.
 * Unknown.

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.

Zombified Piglin

 * Unknown.

Zombie Villager

 * 1 or 0 (true/false) - true if spawned from village.