Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Bedrock Edition level format/Entity format: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Remove broken links to missing pages
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Upstream update available|Minecraft:Bedrock Edition level format/Entity format/Upstream}}
{{exclusive|bedrock}}
{{exclusive|bedrock}}
This page lists the entity NBT structures {{in|bedrock}}.
This page lists the entity NBT structures {{in|bedrock}}.
Line 8: Line 7:
All entities share this base:
All entities share this base:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{nbt|byte|Chested}}: 1 or 0 (true/false) - true if this entity is chested. Used by donkey, llama, and mule.
<section begin="entity format" />
** {{nbt|byte|Chested}}: {{nbt boolean}} - {{cd|true}} if this entity is chested. Used by donkey, llama, and mule.
** {{nbt|byte|Color}}: The main color value of the entity. Used by sheep, llama, shulker, tropical fish, etc. Defaults to 0.
** {{nbt|byte|Color}}: The main color value of the entity. Used by sheep, llama, shulker, tropical fish, etc. Defaults to 0.
** {{nbt|byte|Color2}}: The entity's second color value. Used by tropical fish. Defaults to 0.
** {{nbt|byte|Color2}}: The entity's second color value. Used by tropical fish. Defaults to 0.
** {{nbt|string|CustomName}}: (May not exist) The custom name of this entity.
** {{nbt|string|CustomName}}: (May not exist) The custom name of this entity.
** {{nbt|byte|CustomNameVisible}}: 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.
** {{nbt|byte|CustomNameVisible}}: {{nbt boolean}} - (may not exist) if {{cd|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.
** {{nbt|list|definitions}}: (May not exist) The namespaced ID of this entity and its current and previous component groups.  
** {{nbt|list|definitions}}: (May not exist) The namespaced ID of this entity and its current and previous component groups.  
*** {{nbt|string}}: Unknown
*** {{nbt|string}}: Unknown
Line 21: Line 21:
*** {{nbt|compound|EntityStorageKeyComponent}}: Unknown.
*** {{nbt|compound|EntityStorageKeyComponent}}: Unknown.
**** {{nbt|string|StorageKey}}: Unknown.
**** {{nbt|string|StorageKey}}: Unknown.
** {{nbt|byte|Invulnerable}}: 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.{{needs testing}}
** {{nbt|byte|Invulnerable}}: {{nbt boolean}} - {{cd|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.{{needs testing}}
** {{nbt|byte|IsAngry}}: 1 or 0 (true/false) - true if this entity is angry. Used by wolf and bee.
** {{nbt|byte|IsAngry}}: {{nbt boolean}} - {{cd|true}} if this entity is angry. Used by wolf and bee.
** {{nbt|byte|IsAutonomous}}: 1 or 0 (true/false) - true if this entity is an autonomous entity.
** {{nbt|byte|IsAutonomous}}: {{nbt boolean}} - {{cd|true}} if this entity is an autonomous entity.
** {{nbt|byte|IsBaby}}: 1 or 0 (true/false) - true if this entity is a baby.
** {{nbt|byte|IsBaby}}: {{nbt boolean}} - {{cd|true}} if this entity is a baby.
** {{nbt|byte|IsEating}}: 1 or 0 (true/false) - true if this entity is eating.
** {{nbt|byte|IsEating}}: {{nbt boolean}} - {{cd|true}} if this entity is eating.
** {{nbt|byte|IsGliding}}: 1 or 0 (true/false) - true if this entity is gliding.
** {{nbt|byte|IsGliding}}: {{nbt boolean}} - {{cd|true}} if this entity is gliding.
** {{nbt|byte|IsGlobal}}: 1 or 0 (true/false) - true if this entity is a global entity (e.g. lightning bolt, ender dragon, arrow).
** {{nbt|byte|IsGlobal}}: {{nbt boolean}} - {{cd|true}} if this entity is a global entity (e.g. lightning bolt, ender dragon, arrow).
** {{nbt|byte|IsIllagerCaptain}}: 1 or 0 (true/false) - true if the entity is an illager captain. Used by pillager and vindicator.
** {{nbt|byte|IsIllagerCaptain}}: {{nbt boolean}} - {{cd|true}} if the entity is an illager captain. Used by pillager and vindicator.
** {{nbt|byte|IsOrphaned}}: 1 or 0 (true/false) - true if this entity is not spawn from its parents. Used by all the mobs that can breed.
** {{nbt|byte|IsOrphaned}}: {{nbt boolean}} - {{cd|true}} if this entity is not spawn from its parents. Used by all the mobs that can breed.
** {{nbt|byte|IsOutOfControl}}: 1 or 0 (true/false) - true if the entity is out of control. Used by boat.
** {{nbt|byte|IsOutOfControl}}: {{nbt boolean}} - {{cd|true}} if the entity is out of control. Used by boat.
** {{nbt|byte|IsRoaring}}: 1 or 0 (true/false) - true if this entity is roaring. Used by ravager.
** {{nbt|byte|IsRoaring}}: {{nbt boolean}} - {{cd|true}} if this entity is roaring. Used by ravager.
** {{nbt|byte|IsScared}}: 1 or 0 (true/false) - true if this entity is scared.
** {{nbt|byte|IsScared}}: {{nbt boolean}} - {{cd|true}} if this entity is scared.
** {{nbt|byte|IsStunned}}: 1 or 0 (true/false) - true if this entity is stunned. Used by ravager.
** {{nbt|byte|IsStunned}}: {{nbt boolean}} - {{cd|true}} if this entity is stunned. Used by ravager.
** {{nbt|byte|IsSwimming}}: 1 or 0 (true/false) - true if this entity is swimming.
** {{nbt|byte|IsSwimming}}: {{nbt boolean}} - {{cd|true}} if this entity is swimming.
** {{nbt|byte|IsTamed}}: 1 or 0 (true/false) - true if this entity is tamed.
** {{nbt|byte|IsTamed}}: {{nbt boolean}} - {{cd|true}} if this entity is tamed.
** {{nbt|byte|IsTrusting}}: 1 or 0 (true/false) - true if this entity is trusting a player. Used by fox and ocelot.
** {{nbt|byte|IsTrusting}}: {{nbt boolean}} - {{cd|true}} if this entity is trusting a player. Used by fox and ocelot.
** {{nbt|int|LastDimensionId}}: (May not exist) Unknown.
** {{nbt|int|LastDimensionId}}: (May not exist) Unknown.
** {{nbt|compound|LinksTag}}: (May not exist) Unknown
** {{nbt|compound|LinksTag}}: (May not exist) Unknown
*** {{nbt|long|entityID}}: The Unique ID of an entity.
*** {{nbt|long|entityID}}: The Unique ID of an entity.
*** {{nbt|int|LinkID}}: Unknown.
*** {{nbt|int|LinkID}}: Unknown.
** {{nbt|byte|LootDropped}}: 1 or 0 (true/false) - true if this entity can drop loot when killed.
** {{nbt|byte|LootDropped}}: {{nbt boolean}} - {{cd|true}} if this entity can drop [[Minecraft:Drops#Mob_drops|loot]] when killed.
** {{nbt|int|MarkVariant}}: The ID of the mark variant. Used by villager, horse, bee etc. Defaults to 0.
** {{nbt|int|MarkVariant}}: The ID of the mark variant. Used by villager, horse, bee etc. Defaults to 0.
** {{nbt|list|Motion}}: (May not exist) Three TAG_Floats describing the current dX, dY and dZ velocity of the entity in meters per tick.
** {{nbt|list|Motion}}: (May not exist) Three TAG_Floats describing the current dX, dY and dZ velocity of the entity in meters per tick.
Line 47: Line 47:
*** {{nbt|float}}: dY
*** {{nbt|float}}: dY
*** {{nbt|float}}: dZ
*** {{nbt|float}}: dZ
** {{nbt|byte|OnGround}}: 1 or 0 (true/false) - true if the entity is touching the ground.
** {{nbt|byte|OnGround}}: {{nbt boolean}} - {{cd|true}} if the entity is touching the ground.
** {{nbt|long|OwnerNew}}: Unknown. Defaults to -1.
** {{nbt|long|OwnerNew}}: Unknown. Defaults to -1.
** {{nbt|byte|Persistent}}: 1 or 0 (true/false) - true if an entity should be persistent in the world.
** {{nbt|byte|Persistent}}: {{nbt boolean}} - {{cd|true}} if an entity should be [[Minecraft:Mob spawning#Despawning|persistent]] in the world.
** {{nbt|int|PortalCooldown}}: 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.
** {{nbt|int|PortalCooldown}}: 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.
** {{nbt|list|Pos}}: Three TAG_Floats describing the current X, Y and Z position of the entity.
** {{nbt|list|Pos}}: Three TAG_Floats describing the current X, Y and Z position of the entity.
Line 58: Line 58:
*** {{nbt|float}}: The entity's rotation clockwise around the Y axis (called yaw). Due south is 0. Does not exceed 360 degrees.
*** {{nbt|float}}: The entity's rotation clockwise around the Y axis (called yaw). Due south is 0. Does not exceed 360 degrees.
*** {{nbt|float}}: The entity's declination from the horizon (called pitch). Horizontal is 0. Positive values look downward. Does not exceed positive or negative 90 degrees.
*** {{nbt|float}}: The entity's declination from the horizon (called pitch). Horizontal is 0. Positive values look downward. Does not exceed positive or negative 90 degrees.
** {{nbt|byte|Saddled}}: 1 or 0 (true/false) - true if this entity is saddled.
** {{nbt|byte|Saddled}}: {{nbt boolean}} - {{cd|true}} if this entity is saddled.
** {{nbt|byte|Sheared}}: 1 or 0 (true/false) - true if this entity is sheared. Used by sheep and snow golem.
** {{nbt|byte|Sheared}}: {{nbt boolean}} - {{cd|true}} if this entity is sheared. Used by sheep and snow golem.
** {{nbt|byte|ShowBottom}}: 1 or 0 (true/false) - true if the End Crystal shows the bedrock slate underneath.{{Needs testing}}
** {{nbt|byte|ShowBottom}}: {{nbt boolean}} - {{cd|true}} if the End Crystal shows the bedrock slate underneath.{{Needs testing}}
** {{nbt|byte|Sitting}}: 1 or 0 (true/false) - true if this entity is sitting.
** {{nbt|byte|Sitting}}: {{nbt boolean}} - {{cd|true}} if this entity is sitting.
** {{nbt|int|SkinID}}: The entity's Skin ID value. Used by villager and zombified villager. Defaults to 0.
** {{nbt|int|SkinID}}: The entity's Skin ID value. Used by villager and zombified villager. Defaults to 0.
** {{nbt|int|Strength}}: Determines the number of items the entity can carry (items = 3 × strength). Used by llama. Defaults to 0.
** {{nbt|int|Strength}}: Determines the number of items the entity can carry (items = 3 × strength). Used by llama. Defaults to 0.
** {{nbt|int|StrengthMax}}: Determines the maximum number of items the entity can carry (items = 3 × strength). Defaults to 0.
** {{nbt|int|StrengthMax}}: Determines the maximum number of items the entity can carry (items = 3 × strength). Defaults to 0.
** {{nbt|list|Tags}}: (May not exist) List of scoreboard tags of this entity.
** {{nbt|list|Tags}}: (May not exist) List of [[Minecraft:Scoreboard|scoreboard tags]] of this entity.
*** {{nbt|string}}: A tag.
*** {{nbt|string}}: A tag.
** {{nbt|long|UniqueID}}: The Unique ID of this entity.
** {{nbt|long|UniqueID}}: The Unique ID of this entity.
** {{nbt|int|Variant}}: The ID of the variant. Used by cat, villager, horse, etc. Defaults to 0.
** {{nbt|int|Variant}}: The ID of the variant. Used by cat, villager, horse, etc. Defaults to 0.<section end="entity format" />


== Additional fields for entity categories ==
== Additional fields for entity categories ==
Line 194: Line 194:
** [[Minecraft:Aquatic#Animals|Water Animal]]
** [[Minecraft:Aquatic#Animals|Water Animal]]
*** {{EntityLink|Dolphin}}
*** {{EntityLink|Dolphin}}
*** Fish
*** [[Minecraft:Fish]]
**** {{EntityLink|Cod}}
**** {{EntityLink|Cod}}
**** {{EntityLink|Salmon}}
**** {{EntityLink|Salmon}}
Line 203: Line 203:
Additional fields for mobs:
Additional fields for mobs:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
<section begin="mob format" />
** {{nbt|list|ActiveEffects}}: (May not exist) The list of potion effects on this mob.
** {{nbt|list|ActiveEffects}}: (May not exist) The list of potion effects on this mob.
*** {{nbt|compound}}: An effect.
*** {{nbt|compound}}: An effect.
**** {{bedrock nbt|Mob Effect}}
**** {{bedrock nbt/mob effect}}
** {{nbt|short|Air}}: How much air the living entity has, in ticks.
** {{nbt|short|Air}}: How much air the living entity has, in ticks.
** {{nbt|list|Armor}}: The list of items the mob is wearing as armor.
** {{nbt|list|Armor}}: The list of items the mob is wearing as armor.
*** {{nbt|compound}}: The item on the head.
*** {{nbt|compound}}: The item on the head.
**** {{bedrock nbt|Item Stack|item}}
*** {{nbt|compound}}: The item on the chest.
*** {{nbt|compound}}: The item on the chest.
**** {{bedrock nbt|Item Stack|item}}
*** {{nbt|compound}}: The item on the legs.
*** {{nbt|compound}}: The item on the legs.
**** {{bedrock nbt|Item Stack|item}}
*** {{nbt|compound}}: The item on the feets.
*** {{nbt|compound}}: The item on the feets.
**** {{bedrock nbt|Item Stack|item}}
**** {{bedrock nbt/itemnoslot|indent=****}}
** {{nbt|short|AttackTime}}: Number of ticks the mob attacks for. 0 when not attacking.
** {{nbt|short|AttackTime}}: Number of ticks the mob attacks for. 0 when not attacking.
** {{nbt|list|Attributes}}: A list of [[Minecraft:Attribute]]s for this mob. These are used for many purposes in internal calculations. Valid Attributes for a given mob are listed in the [[Minecraft:Attribute|main article]].
** {{nbt|list|Attributes}}: A list of [[Minecraft:Attribute]]s for this mob. These are used for many purposes in internal calculations. Valid Attributes for a given mob are listed in the [[Minecraft:Attribute|main article]].
*** {{nbt|compound}}: An Attribute.
*** {{nbt|compound}}: An Attribute.
**** {{bedrock nbt|Attribute}}
**** {{bedrock nbt/Attribute}}
** {{nbt|float|BodyRot}}: (May not exist) Unknown.
** {{nbt|float|BodyRot}}: (May not exist) Unknown.
** {{nbt|int|boundX}}: X of the bound origin.
** {{nbt|int|boundX}}: X of the bound origin.
** {{nbt|int|boundY}}: Y of the bound origin.
** {{nbt|int|boundY}}: Y of the bound origin.
** {{nbt|int|boundZ}}: Z of the bound origin.
** {{nbt|int|boundZ}}: Z of the bound origin.
** {{nbt|byte|canPickupItems}}: 1 or 0 (true/false) - true if this entity can pick up items.
** {{nbt|byte|canPickupItems}}: {{nbt boolean}} - {{cd|true}} if this entity can pick up items.
** {{nbt|byte|Dead}}: 1 or 0 (true/false) - true if dead.
** {{nbt|byte|Dead}}: {{nbt boolean}} - {{cd|true}} if dead.
** {{nbt|short|DeathTime}}: Number of ticks the mob has been dead for. Controls death animations. 0 when alive.
** {{nbt|short|DeathTime}}: Number of ticks the mob has been dead for. Controls death animations. 0 when alive.
** {{nbt|byte|expDropEnabled}}: (May not exist) {{nbt boolean}} - {{cd|true}} if this mob drops experience when killed.
** {{nbt|byte|expDropEnabled}}: (May not exist) {{nbt boolean}} - {{cd|true}} if this mob drops experience when killed.
** {{nbt|byte|hasBoundOrigin}}: 1 or 0 (true/false) - if this mob has bound origin. Only{{needs testing}} effects Vex. When a vex is idle, it wanders, selecting air blocks from within a 15×11×15{{needs testing}} 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.
** {{nbt|byte|hasBoundOrigin}}: {{nbt boolean}} - {{cd|true}} if this mob has bound origin. Only{{needs testing}} effects [[Minecraft:Vex]]. When a vex is idle, it wanders, selecting air blocks from within a 15×11×15{{needs testing}} 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.
** {{nbt|byte|hasSetCanPickupItems}}: 1 or 0 (true/false) - true if <code>canPickupItems</code> has been set by the game.
** {{nbt|byte|hasSetCanPickupItems}}: {{nbt boolean}} - {{cd|true}} if <code>canPickupItems</code> has been set by the game.
** {{nbt|short|HurtTime}}: Number of ticks the mob turns red for after being hit. 0 when not recently hit.
** {{nbt|short|HurtTime}}: Number of ticks the mob turns red for after being hit. 0 when not recently hit.
** {{nbt|long|LeasherID}}: The Unique ID of an entity that is leashing it with a lead. Set to -1 if there's no leasher.
** {{nbt|long|LeasherID}}: The Unique ID of an entity that is leashing it with a lead. Set to -1 if there's no leasher.
** {{nbt|long|limitedLife}}: The left time in ticks until this entity disapears. Only{{needs testing}} effects Evoker Fangs. For other entities, it is set to 0.
** {{nbt|long|limitedLife}}: The left time in ticks until this entity disapears. Only{{needs testing}} effects [[Minecraft:Evoker Fang]]s. For other entities, it is set to 0.
** {{nbt|list|Mainhand}}: The item being held in the mob's main hand.
** {{nbt|list|Mainhand}}: The item being held in the mob's main hand.
*** {{nbt|compound}}: The item.
*** {{nbt|compound}}: The item.
**** {{bedrock nbt|Item Stack|item}}
**** {{bedrock nbt/itemnoslot|indent=****}}
** {{nbt|byte|NaturalSpawn}}: 1 or 0 (true/false) - true if it is naturally spawned.
** {{nbt|byte|NaturalSpawn}}: {{nbt boolean}} - {{cd|true}} if it is naturally spawned.
** {{nbt|list|Offhand}}: The item being held in the mob's off hand.
** {{nbt|list|Offhand}}: The item being held in the mob's off hand.
*** {{nbt|compound}}: The item.
*** {{nbt|compound}}: The item.
**** {{bedrock nbt|Item Stack|item}}
**** {{bedrock nbt/itemnoslot|indent=****}}
** {{nbt|compound|persistingOffers}}: (May not exist) Unknown.
** {{nbt|compound|persistingOffers}}: (May not exist) Unknown.
** {{nbt|int|persistingRiches}}: (May not exist) Unknown.
** {{nbt|int|persistingRiches}}: (May not exist) Unknown.
** {{nbt|byte|Surface}}: 1 or 0 (true/false) - true if it is naturally spawned on the surface.
** {{nbt|byte|Surface}}: {{nbt boolean}} - {{cd|true}} if it is naturally spawned on the surface.
** {{nbt|long|TargetCaptainID}}: (May not exist) The Unique ID of a captain to follow. Used by pillager and vindicator.
** {{nbt|long|TargetCaptainID}}: (May not exist) The Unique ID of a captain to follow. Used by pillager and vindicator.
** {{nbt|long|TargetID}}: The Unique ID of an entity that this entity is angry at.
** {{nbt|long|TargetID}}: The Unique ID of an entity that this entity is angry at.
** {{nbt|int|TradeExperience}}: (May not exist) Trade experiences of this trader entity.
** {{nbt|int|TradeExperience}}: (May not exist) Trade experiences of this trader entity.
** {{nbt|int|TradeTier}}: (May not exist) Trade tier of this trader entity.
** {{nbt|int|TradeTier}}: (May not exist) Trade tier of this trader entity.
** {{nbt|byte|WantsToBeJockey}}: (May not exist) unknown.
** {{nbt|byte|WantsToBeJockey}}: (May not exist) unknown.<section end="mob format" />


=== Abstract Arrow ===
=== Abstract Arrow ===
Line 275: Line 273:
== Additional fields for entity types ==
== Additional fields for entity types ==
=== Allay ===
=== Allay ===
Additional fields for allay:
Additional fields for [[Minecraft:allay]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|inventory|component}}
** {{bedrock nbt|inventory|component}}
Line 292: Line 290:


=== Area Effect Cloud ===
=== Area Effect Cloud ===
Additional fields for area effect cloud:
Additional fields for [[Minecraft:area effect cloud]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{nbt|int|Duration}}: The maximum age of the field.
** {{nbt|int|Duration}}: The maximum age of the field.
** {{nbt|int|DurationOnUse}}: The amount the duration of the field changes upon applying the effect.
** {{nbt|int|DurationOnUse}}: The amount the duration of the field changes upon applying the effect.
** {{nbt|float|InitialRadius}}: The field's initial radius.
** {{nbt|float|InitialRadius}}: The field's initial radius.
** {{nbt|list|mobEffects}}: A list of the applied effects.
** {{nbt|list|mobEffects}}: A list of the applied [[Minecraft:effect]]s.
*** {{bedrock nbt|Mob Effect}}
*** {{bedrock nbt|Mob Effect}}
** {{nbt|long|OwnerId}}: The Unique ID of the entity who created the cloud. If it has no owner, defaults to -1.
** {{nbt|long|OwnerId}}: The Unique ID of the entity who created the cloud. If it has no owner, defaults to -1.
** {{nbt|int|ParticleColor}}: The color of the particles.
** {{nbt|int|ParticleColor}}: The color of the particles.
** {{nbt|int|ParticleId}}: The particles displayed by the field.
** {{nbt|int|ParticleId}}: The particles displayed by the field.
** {{nbt|int|PickupCount}}: How many dragon's breath can be picked up.
** {{nbt|int|PickupCount}}: How many [[Minecraft:dragon's breath]] can be picked up.
** {{nbt|short|PotionId}}: The name of the default potion effect. See [[Minecraft:potion#Item data|potion data values]] for valid IDs.
** {{nbt|short|PotionId}}: The name of the default potion effect. See [[Minecraft:potion#Item data|potion data values]] for valid IDs.
** {{nbt|float|Radius}}: The field's current radius.
** {{nbt|float|Radius}}: The field's current radius.
Line 312: Line 310:


=== Armadillo ===
=== Armadillo ===
Additional fields for armadillo:
Additional fields for [[Minecraft:armadillo]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 323: Line 321:


=== Armor Stand ===
=== Armor Stand ===
Additional fields for armor stand:
Additional fields for [[Minecraft:armor stand]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{nbt|compound|Pose}}: The ArmorStand's pose.
** {{nbt|compound|Pose}}: The ArmorStand's pose.
Line 334: Line 332:
** {{bedrock nbt|projectile|component}}
** {{bedrock nbt|projectile|component}}
** {{nbt|byte|auxValue}}: The metadata of this arrow. See [[Minecraft:Arrow#Metadata]].
** {{nbt|byte|auxValue}}: The metadata of this arrow. See [[Minecraft:Arrow#Metadata]].
** {{nbt|byte|enchantFlame}}: The level of Flame enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Flame enchantment.
** {{nbt|byte|enchantFlame}}: The level of [[Minecraft:Flame]] enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Flame enchantment.
** {{nbt|byte|enchantInfinity}}: The level of Infinity enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Infinity enchantment.
** {{nbt|byte|enchantInfinity}}: The level of [[Minecraft:Infinity]] enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Infinity enchantment.
** {{nbt|list|mobEffects}}: Effects on a tipped arrow.
** {{nbt|list|mobEffects}}: Effects on a tipped arrow.
*** {{nbt|compound}}: An effect.
*** {{nbt|compound}}: An effect.
**** {{bedrock nbt|Mob Effect}}
**** {{bedrock nbt|Mob Effect}}
** {{nbt|byte|enchantPower}}: The level of Power enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Power enchantment.
** {{nbt|byte|enchantPower}}: The level of [[Minecraft:Power]] enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Power enchantment.
** {{nbt|byte|enchantPunch}}: The level of Punch enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Punch enchantment.
** {{nbt|byte|enchantPunch}}: The level of [[Minecraft:Punch]] enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Punch enchantment.


=== Axolotl ===
=== Axolotl ===
Additional fields for axolotl:
Additional fields for [[Minecraft:axolotl]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 352: Line 350:


=== Bat ===
=== Bat ===
Additional fields for bat:
Additional fields for [[Minecraft:bat]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{nbt|byte|BatFlags}}: 1 when hanging upside down and 0 when flying.{{More info}}
** {{nbt|byte|BatFlags}}: 1 when hanging upside down and 0 when flying.{{More info}}


=== Bee ===
=== Bee ===
Additional fields for bee:
Additional fields for [[Minecraft:bee]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 367: Line 365:


=== Boat with Chest ===
=== Boat with Chest ===
Additional fields for boat with chest:
Additional fields for [[Minecraft:boat with chest]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|inventory|component}}
** {{bedrock nbt|inventory|component}}


=== Breeze ===
=== Breeze ===
Additional fields for breeze:
Additional fields for [[Minecraft:breeze]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{nbt|compound|properties}}: The breeze <code>properties</code>.
** {{nbt|compound|properties}}: The breeze <code>properties</code>.
Line 378: Line 376:


=== Camel ===
=== Camel ===
Additional fields for camel:
Additional fields for [[Minecraft:camel]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 385: Line 383:


=== Cat ===
=== Cat ===
Additional fields for cat:
Additional fields for [[Minecraft:cat]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 392: Line 390:


=== Chicken ===
=== Chicken ===
Additional fields for chicken:
Additional fields for [[Minecraft:chicken]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 402: Line 400:


=== Cow ===
=== Cow ===
Additional fields for cow:
Additional fields for [[Minecraft:cow]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 408: Line 406:


=== Creeper ===
=== Creeper ===
Additional fields for creeper:
Additional fields for [[Minecraft:creeper]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|explode|component}}
** {{bedrock nbt|explode|component}}


=== Dolphin ===
=== Dolphin ===
Additional fields for dolphin:
Additional fields for [[Minecraft:dolphin]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 422: Line 420:


=== Donkey ===
=== Donkey ===
Additional fields for donkey:
Additional fields for [[Minecraft:donkey]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 435: Line 433:


=== End Crystal ===
=== End Crystal ===
Additional fields for end crystal:
Additional fields for [[Minecraft:end crystal]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|explode|component}}
** {{bedrock nbt|explode|component}}
Line 449: Line 447:


=== Endermite ===
=== Endermite ===
Additional fields for endermite:
Additional fields for [[Minecraft:endermite]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{nbt|int|Lifetime}}: How long the endermite has existed in ticks. Disappears when this reaches around 2400.
** {{nbt|int|Lifetime}}: How long the endermite has existed in ticks. Disappears when this reaches around 2400.


=== Evoker ===
=== Evoker ===
Additional fields for evoker:
Additional fields for [[Minecraft:evoker]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|dweller|component}}
** {{bedrock nbt|dweller|component}}


=== Experience Orb ===
=== Experience Orb ===
Additional fields for experience orb:
Additional fields for [[Minecraft:experience orb]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{nbt|short|Age}}: The number of ticks the XP orb has been "untouched". After 6000 ticks (5 minutes) the orb is destroyed.{{Needs testing}}
** {{nbt|short|Age}}: The number of ticks the XP orb has been "untouched". After 6000 ticks (5 minutes) the orb is destroyed.{{Needs testing}}
Line 465: Line 463:


=== Experience Potion ===
=== Experience Potion ===
Additional fields for experience potion:
Additional fields for [[Minecraft:experience potion]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|projectile|component}}
** {{bedrock nbt|projectile|component}}


=== Falling Block ===
=== Falling Block ===
Additional fields for falling block:
Additional fields for [[Minecraft:falling block]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{nbt|compound|FallingBlock}}
** {{nbt|compound|FallingBlock}}
Line 477: Line 475:


=== Fireball ===
=== Fireball ===
Additional fields for fireball:
Additional fields for [[Minecraft:fireball]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|explode|component}}
** {{bedrock nbt|explode|component}}
Line 492: Line 490:


=== Fireworks Rocket ===
=== Fireworks Rocket ===
Additional fields for firework rocket:
Additional fields for [[Minecraft:firework|firework rocket]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{nbt|int|Life}}: The number of ticks this fireworks rocket has been flying for.
** {{nbt|int|Life}}: The number of ticks this fireworks rocket has been flying for.
Line 498: Line 496:


=== Fishing Bobber ===
=== Fishing Bobber ===
Additional fields for fishing bobber:
Additional fields for [[Minecraft:fishing bobber]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|projectile|component}}
** {{bedrock nbt|projectile|component}}


=== Fox ===
=== Fox ===
Additional fields for fox:
Additional fields for [[Minecraft:fox]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 511: Line 509:


=== Frog ===
=== Frog ===
Additional fields for frog:
Additional fields for [[Minecraft:frog]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|breedable|component}}
** {{bedrock nbt|breedable|component}}


=== Goat ===
=== Goat ===
Additional fields for goat:
Additional fields for [[Minecraft:goat]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 524: Line 522:


=== Guardian and Elder Guardian ===
=== Guardian and Elder Guardian ===
Additional fields for guardian and elder guardian:
Additional fields for [[Minecraft:guardian]] and [[Minecraft:elder guardian]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|home|component}}
** {{bedrock nbt|home|component}}
Line 531: Line 529:


=== Hoglin ===
=== Hoglin ===
Additional fields for hoglin:
Additional fields for [[Minecraft:hoglin]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 551: Line 549:


=== Iron Golem ===
=== Iron Golem ===
Additional fields for iron golem:
Additional fields for [[Minecraft:iron golem]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|dweller|component}}
** {{bedrock nbt|dweller|component}}
Line 565: Line 563:


=== Llama ===
=== Llama ===
Additional fields for llama:
Additional fields for [[Minecraft:llama]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 573: Line 571:


=== Llama Spit ===
=== Llama Spit ===
Additional fields for llama spit:
Additional fields for [[Minecraft:Llama_Spit|llama spit]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|projectile|component}}
** {{bedrock nbt|projectile|component}}
Line 579: Line 577:
=== Minecart with Chest ===
=== Minecart with Chest ===


Additional fields for minecart with chest:
Additional fields for [[Minecraft:minecart with chest]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|inventory|component}}
** {{bedrock nbt|inventory|component}}


=== Minecart with Command Block ===
=== Minecart with Command Block ===
Additional fields for minecart with command block:
Additional fields for [[Minecraft:minecart with command block]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|Command Block|other}}
** {{bedrock nbt|Command Block|other}}
Line 592: Line 590:


=== Minecart with Hopper ===
=== Minecart with Hopper ===
Additional fields for minecart with hopper:
Additional fields for [[Minecraft:minecart with hopper]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|inventory|component}}
** {{bedrock nbt|inventory|component}}


=== Minecart with TNT ===
=== Minecart with TNT ===
Additional fields for minecart with tnt:
Additional fields for [[Minecraft:minecart with tnt]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|explode|component}}
** {{bedrock nbt|explode|component}}


=== Mooshroom ===
=== Mooshroom ===
Additional fields for mooshroom:
Additional fields for [[Minecraft:mooshroom]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 608: Line 606:


=== Mule ===
=== Mule ===
Additional fields for mule:
Additional fields for [[Minecraft:mule]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 626: Line 624:


=== Ocelot ===
=== Ocelot ===
Additional fields for ocelot:
Additional fields for [[Minecraft:ocelot]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 639: Line 637:


=== Panda ===
=== Panda ===
Additional fields for panda:
Additional fields for [[Minecraft:panda]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 659: Line 657:


=== Piglin Brute ===
=== Piglin Brute ===
Additional fields for piglin brute:
Additional fields for [[Minecraft:piglin brute]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|home|component}}
** {{bedrock nbt|home|component}}
Line 665: Line 663:


=== Pillager ===
=== Pillager ===
Additional fields for pillager:
Additional fields for [[Minecraft:pillager]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|dweller|component}}
** {{bedrock nbt|dweller|component}}


=== Player ===
=== Player ===
Additional fields for player:
Additional fields for [[Minecraft:player]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|Abilities}}
** {{bedrock nbt|Abilities}}
Line 676: Line 674:
** {{nbt|long|AgentID}}: The Unique ID of the player's agent.
** {{nbt|long|AgentID}}: The Unique ID of the player's agent.
** {{nbt|int|DimensionId}}: The ID of the dimension the player is in.
** {{nbt|int|DimensionId}}: The ID of the dimension the player is in.
** {{nbt|int|EnchantmentSeed}}: The seed used for the next enchantment in enchantment tables.
** {{nbt|int|EnchantmentSeed}}: The seed used for the next enchantment in [[Minecraft:enchantment table]]s.
** {{nbt|list|EnderChestInventory}}: Each compound tag in this list is an item in the player's 27-slot ender chest inventory.
** {{nbt|list|EnderChestInventory}}: Each compound tag in this list is an item in the player's 27-slot ender chest inventory.
*** {{nbt|compound}}: An item in the inventory.
*** {{nbt|compound}}: An item in the inventory.
Line 692: Line 690:
** {{nbt|int|MapIndex}}: Unknown.
** {{nbt|int|MapIndex}}: Unknown.
** {{nbt|int|PlayerGameMode}}: The game mode of the player.
** {{nbt|int|PlayerGameMode}}: The game mode of the player.
** {{nbt|int|PlayerLevel}}: The level shown on the XP bar.
** {{nbt|int|PlayerLevel}}: The level shown on the [[Minecraft:XP]] bar.
** {{nbt|float|PlayerLevelProgress}}: The progress/percent across the XP bar to the next level.
** {{nbt|float|PlayerLevelProgress}}: The progress/percent across the XP bar to the next level.
** {{nbt|list|PlayerUIItems}}: Unknown
** {{nbt|list|PlayerUIItems}}: Unknown
Line 722: Line 720:


=== Polar Bear ===
=== Polar Bear ===
Additional fields for polar bear:
Additional fields for [[Minecraft:polar bear]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}


=== Pufferfish ===
=== Pufferfish ===
Additional fields for pufferfish:
Additional fields for [[Minecraft:pufferfish]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|timer|component}}
** {{bedrock nbt|timer|component}}


=== Rabbit ===
=== Rabbit ===
Additional fields for rabbit:
Additional fields for [[Minecraft:rabbit]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 740: Line 738:


=== Ravager ===
=== Ravager ===
Additional fields for ravager:
Additional fields for [[Minecraft:ravager]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|dweller|component}}
** {{bedrock nbt|dweller|component}}
Line 746: Line 744:


=== Sheep ===
=== Sheep ===
Additional fields for sheep:
Additional fields for [[Minecraft:sheep]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 752: Line 750:


=== Shulker Bullet ===
=== Shulker Bullet ===
Additional fields for shulker bullet:
Additional fields for [[Minecraft:shulker bullet]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|projectile|component}}
** {{bedrock nbt|projectile|component}}


=== Skeleton ===
=== Skeleton ===
Additional fields for skeleton:
Additional fields for [[Minecraft:skeleton]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|timer|component}}
** {{bedrock nbt|timer|component}}
Line 764: Line 762:


=== Skeleton Horse ===
=== Skeleton Horse ===
Additional fields for skeleton horse:
Additional fields for [[Minecraft:skeleton horse]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}


=== Slime ===
=== Slime ===
Additional fields for slime:
Additional fields for [[Minecraft:slime]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{nbt|byte|Size}}: The size of the slime. Note that this value is zero-based, so 0 is the smallest slime, 1 is the next larger, etc.
** {{nbt|byte|Size}}: The size of the slime. Note that this value is zero-based, so 0 is the smallest slime, 1 is the next larger, etc.


=== Sniffer ===
=== Sniffer ===
Additional fields for sniffer:
Additional fields for [[Minecraft:sniffer]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 785: Line 783:


=== Strider ===
=== Strider ===
Additional fields for strider:
Additional fields for [[Minecraft:strider]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}
Line 791: Line 789:


=== Sulfur cube ===
=== Sulfur cube ===
Additional fields for sulfur cube:
Additional fields for [[Minecraft:sulfur cube]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt/ageable}}
** {{bedrock nbt|breedable|component}}
** {{nbt|byte|Size}}: The size of the sulfur cube. 1 is the smallest slime, 2 is the next larger.
** {{nbt|byte|Size}}: The size of the sulfur cube. 1 is the smallest slime, 2 is the next larger.
** {{nbt|list|SlotDropChances}}: List of equipment slots and the chance that the item in that slot drops when the sulfur cube dies.
** {{nbt|list|SlotDropChances}}: List of equipment slots and the chance that the item in that slot drops when the sulfur cube dies.
Line 801: Line 798:
**** {{nbt|string|Slot}}: The name of the equipment slot. Can be {{cd|mainhand}}.
**** {{nbt|string|Slot}}: The name of the equipment slot. Can be {{cd|mainhand}}.
** {{nbt|compound|properties}}: The sulfur cube <code>properties</code>.
** {{nbt|compound|properties}}: The sulfur cube <code>properties</code>.
*** {{nbt|byte|minecraft:with_block}}: {{nbt boolean}} - {{cd|true}} if the sulfur cube it has a block.
*** {{nbt|byte|minecraft:with_block}}{{until|be 26.30}}: {{nbt boolean}} - {{cd|true}} if the sulfur cube has a block.
*** {{nbt|string|minecraft:sulfur_cube_archetype}}{{upcoming|be 26.30}}: If the sulfur cube has a block and behavior can be {{cd|none|bouncy|regular|slow_bouncy|slow_flat|fast_flat|light|fast_sliding|slow_sliding|sticky|high_resistance|explosive|hot|d=and}}.


=== Tadpole ===
=== Tadpole ===
Additional fields for tadpole:
Additional fields for [[Minecraft:tadpole]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}


=== Thrown Ender Pearl ===
=== Thrown Ender Pearl ===
Additional fields for thrown ender pearl:
Additional fields for thrown [[Minecraft:ender pearl]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|projectile|component}}
** {{bedrock nbt|projectile|component}}
Line 823: Line 821:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|projectile|component}}
** {{bedrock nbt|projectile|component}}
** {{nbt|int|favoredSlot}}: The slot id when it is thrown out.This means thrown trident with Loyalty prefers to return to this slot when this slot is empty. Set to -1 when without Loyalty enchantment.
** {{nbt|int|favoredSlot}}: The slot id when it is thrown out.This means thrown trident with [[Minecraft:Loyalty]] prefers to return to this slot when this slot is empty. Set to -1 when without [[Minecraft:Loyalty]] enchantment.
** {{nbt|compound|Trident}}: The item that is given when the entity is picked up.
** {{nbt|compound|Trident}}: The item that is given when the entity is picked up.
*** {{bedrock nbt|Item Stack|item}}
*** {{bedrock nbt|Item Stack|item}}


=== TNT ===
=== TNT ===
Additional fields for tnt:
Additional fields for [[Minecraft:tnt]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|explode|component}}
** {{bedrock nbt|explode|component}}
Line 841: Line 839:


=== Vex ===
=== Vex ===
Additional fields for vex:
Additional fields for [[Minecraft:vex]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{nbt|compound|ItemInHand}}: The item in its hand. Defaults to an iron sword.
** {{nbt|compound|ItemInHand}}: The item in its hand. Defaults to an iron sword.
Line 859: Line 857:


=== Vindicator ===
=== Vindicator ===
Additional fields for vindicator:
Additional fields for [[Minecraft:vindicator]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|dweller|component}}
** {{bedrock nbt|dweller|component}}


=== Wandering Trader ===
=== Wandering Trader ===
Additional fields for wandering trader:
Additional fields for [[Minecraft:wandering trader]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|economy_trade_table|component}}
** {{bedrock nbt|economy_trade_table|component}}
Line 894: Line 892:


=== Wind Charge Projectile ===
=== Wind Charge Projectile ===
Additional fields for wind charge projectile:
Additional fields for [[Minecraft:wind charge projectile]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|projectile|component}}
** {{bedrock nbt|projectile|component}}
Line 931: Line 929:
** {{bedrock nbt|breedable|component}}
** {{bedrock nbt|breedable|component}}
** {{nbt|compound|properties}}: The wolf <code>properties</code>.
** {{nbt|compound|properties}}: The wolf <code>properties</code>.
*** {{nbt|byte|minecraft:has_armor}}: 1 or 0 (true/false) - true if the wolf has wolf armor.
*** {{nbt|byte|minecraft:has_armor}}: 1 or 0 (true/false) - true if the wolf has [[Minecraft:wolf armor]].
*** {{nbt|byte|minecraft:has_increased_max_health}}: 1 or 0 (true/false) - true if the wolf's maximum health is {{hp|40}}.
*** {{nbt|byte|minecraft:has_increased_max_health}}: 1 or 0 (true/false) - true if the wolf's maximum health is {{hp|40}}.
*** {{nbt|byte|minecraft:is_armorable}}: 1 or 0 (true/false) - true if the wolf can be equipped with wolf armor.
*** {{nbt|byte|minecraft:is_armorable}}: 1 or 0 (true/false) - true if the wolf can be equipped with [[Minecraft:wolf armor]].


=== Zombie ===
=== Zombie ===
Line 941: Line 939:


=== Zombie Horse ===
=== Zombie Horse ===
Additional fields for zombie horse:
Additional fields for [[Minecraft:zombie horse]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{bedrock nbt|ageable|component}}
** {{bedrock nbt|ageable|component}}


=== Zombie Villager ===
=== Zombie Villager ===
Additional fields for zombie villager:
Additional fields for [[Minecraft:zombie villager]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{nbt|byte|SpawnedFromVillage}}: 1 or 0 (true/false) - true if spawned from village.
** {{nbt|byte|SpawnedFromVillage}}: 1 or 0 (true/false) - true if spawned from village.
Line 952: Line 950:
=== Zombified Piglin ===
=== Zombified Piglin ===


Additional fields for zombified piglin:
Additional fields for [[Minecraft:zombified piglin]]:
* {{nbt|compound}}: The entity's root tag.
* {{nbt|compound}}: The entity's root tag.
** {{nbt|short|Anger}}: Unknown.
** {{nbt|short|Anger}}: Unknown.
</div>
</div>


pt:Formato de nível da Edição Bedrock/Formato de entidade
[[Minecraft:pt:Formato de nível da Edição Bedrock/Formato de entidade]]
zh:基岩版存档格式/实体格式
[[Minecraft:zh:基岩版存档格式/实体格式]]

Latest revision as of 11:02, 7 May 2026

Template:Exclusive This page lists the entity NBT structures Template:In.

Entity

All entities share this base:

<section begin="entity format" />

Additional fields for entity categories

Minecart

Minecart entities include:

Additional fields for minecart entities:

  • Template:Nbt: The entity's root tag.
    • Template:Nbt: 1 or 0 (true/false) - (may not exist) if is displayed the custom tile in this minecart.
    • Template:Nbt: (May not exist) The custom block in the minecart.
    • Template:Nbt: (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.Template:Needs testing

Villagers

Villager entities include:

Additional fields for village entities:

  • Template:Nbt: The entity's root tag.
    • Template:Nbt: 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

Monster entities include:

Additional fields for monsters:

Humanoid Monster

Humanoid monster entities include:

Additional fields for humanoid monsters:

Mob

Mob entities include:

Additional fields for mobs:

<section begin="mob format" />

Abstract Arrow

Abstract arrow entities include:

Additional fields for abstract arrow entities:

  • Template:Nbt: The entity's root tag.
    • Template:Nbt: 1 or 0 (true/false) - true if its owner is a player in Creative mode.
    • Template:Nbt: The Unique ID of the entity this projectile was thrown by. Set to -1 if it has no owner.
    • Template:Nbt: 1 or 0 (true/false) - true if its owner is a player.

Throwable

Throwable entities include:

Additional fields for throwable entities:

Additional fields for entity types

Allay

Additional fields for Minecraft:allay:

Area Effect Cloud

Additional fields for Minecraft:area effect cloud:

Armadillo

Additional fields for Minecraft:armadillo:

Armor Stand

Additional fields for Minecraft:armor stand:

Arrow

Additional fields for Minecraft:arrow:

Axolotl

Additional fields for Minecraft:axolotl:

Bat

Additional fields for Minecraft:bat:

Bee

Additional fields for Minecraft:bee:

Boat with Chest

Additional fields for Minecraft:boat with chest:

Breeze

Additional fields for Minecraft:breeze:

Camel

Additional fields for Minecraft:camel:

Cat

Additional fields for Minecraft:cat:

Chicken

Additional fields for Minecraft:chicken:

Cow

Additional fields for Minecraft:cow:

Creeper

Additional fields for Minecraft:creeper:

Dolphin

Additional fields for Minecraft:dolphin:

Donkey

Additional fields for Minecraft:donkey:

Egg

Additional fields for Minecraft:egg:

End Crystal

Additional fields for Minecraft:end crystal:

Enderman

Additional fields for Minecraft:enderman:

Endermite

Additional fields for Minecraft:endermite:

  • Template:Nbt: The entity's root tag.
    • Template:Nbt: How long the endermite has existed in ticks. Disappears when this reaches around 2400.

Evoker

Additional fields for Minecraft:evoker:

Experience Orb

Additional fields for Minecraft:experience orb:

Experience Potion

Additional fields for Minecraft:experience potion:

Falling Block

Additional fields for Minecraft:falling block:

  • Template:Nbt: The entity's root tag.
    • Template:Nbt
    • Template:Nbt: 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 FallingBlock.Name. If the block at its location has the same ID as its FallingBlock.Name when Time 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. Template:Needs testing

Fireball

Additional fields for Minecraft:fireball:

Fireworks Rocket

Additional fields for firework rocket:

Fishing Bobber

Additional fields for Minecraft:fishing bobber:

Fox

Additional fields for Minecraft:fox:

Frog

Additional fields for Minecraft:frog:

Goat

Additional fields for Minecraft:goat:

Guardian and Elder Guardian

Additional fields for Minecraft:guardian and Minecraft:elder guardian:

Hoglin

Additional fields for Minecraft:hoglin:

Horse

Additional fields for Minecraft:horse:

Husk

Additional fields for Minecraft:husk:

Iron Golem

Additional fields for Minecraft:iron golem:

Item Entity

Additional fields for item entity:

Llama

Additional fields for Minecraft:llama:

Llama Spit

Additional fields for llama spit:

Minecart with Chest

Additional fields for Minecraft:minecart with chest:

Minecart with Command Block

Additional fields for Minecraft:minecart with command block:

Minecart with Hopper

Additional fields for Minecraft:minecart with hopper:

Minecart with TNT

Additional fields for Minecraft:minecart with tnt:

Mooshroom

Additional fields for Minecraft:mooshroom:

Mule

Additional fields for Minecraft:mule:

NPC

Additional fields for Minecraft:NPC:

Ocelot

Additional fields for Minecraft:ocelot:

Painting

Additional fields for Minecraft:painting:

Panda

Additional fields for Minecraft:panda:

Pig

Additional fields for Minecraft:pig:

Piglin

Additional fields for Minecraft:piglin:

Piglin Brute

Additional fields for Minecraft:piglin brute:

Pillager

Additional fields for Minecraft:pillager:

Player

Additional fields for Minecraft:player:

Polar Bear

Additional fields for Minecraft:polar bear:

Pufferfish

Additional fields for Minecraft:pufferfish:

Rabbit

Additional fields for Minecraft:rabbit:

Ravager

Additional fields for Minecraft:ravager:

Sheep

Additional fields for Minecraft:sheep:

Shulker Bullet

Additional fields for Minecraft:shulker bullet:

Skeleton

Additional fields for Minecraft:skeleton:

Skeleton Horse

Additional fields for Minecraft:skeleton horse:

Slime

Additional fields for Minecraft:slime:

  • Template:Nbt: The entity's root tag.
    • Template:Nbt: The size of the slime. Note that this value is zero-based, so 0 is the smallest slime, 1 is the next larger, etc.

Sniffer

Additional fields for Minecraft:sniffer:

Snowball

Additional fields for Minecraft:snowball:

Strider

Additional fields for Minecraft:strider:

Sulfur cube

Additional fields for Minecraft:sulfur cube:

Tadpole

Additional fields for Minecraft:tadpole:

Thrown Ender Pearl

Additional fields for thrown Minecraft:ender pearl:

Thrown Potion

Additional fields for thrown Minecraft:potion:

Thrown Trident

Additional fields for thrown Minecraft:trident:

TNT

Additional fields for Minecraft:tnt:

Turtle

Additional fields for Minecraft:turtle:

Vex

Additional fields for Minecraft:vex:

Villager (V2)

Additional fields for Minecraft:villager (v2):

Vindicator

Additional fields for Minecraft:vindicator:

Wandering Trader

Additional fields for Minecraft:wandering trader:

Warden

Additional fields for Minecraft:warden:

Wind Charge Projectile

Additional fields for Minecraft:wind charge projectile:

Witch

Additional fields for Minecraft:witch:

Wither

Additional fields for Minecraft:wither:

  • Template:Nbt: The entity's root tag.
    • Template:Nbt: Whether the wither exhibits first or second phase behavior, as well as whether the shield effect is visible - 1 for first phase and shield invisible, 0 for second phase and shield visible.
    • Template:Nbt: The number of ticks remaining before the wither explodes during its death animation.
    • Template:Nbt: The delay in ticks between wither skull shots. Does not affect the delay between volleys.
    • Template:Nbt: The remaining number of ticks the wither will be invulnerable for. Updated to match SpawningFrames or dyingFrames every tick during spawn/death animation, otherwise remains static.
    • Template:Nbt: The greatest multiple of 75 that is fewer than the wither's lowest health. Does not increase if the wither is healed.
    • Template:Nbt: Unknown.
    • Template:Nbt: The swellAmount in the previous tick.
    • Template:Nbt: The alpha/brightness of the wither texture overlay during its death animation. Has no effect outside the death animation.
    • Template:Nbt: Which phase the wither is in. Has no effect on wither behavior or shield visibility. Has a value of 1 during spawning and first phase and 0 during second phase and death.
    • Template:Nbt: Unknown.
    • Template:Nbt: The number of ticks remaining before the wither finishes its spawning animation and becomes vulnerable.
    • Template:Nbt: How much the wither has swelled during its death animation. Has no effect outside the death animation.

Wither Skull

Additional fields for wither skull:

Wolf

Additional fields for Minecraft:wolf:

Zombie

Additional fields for Minecraft:zombie:

Zombie Horse

Additional fields for Minecraft:zombie horse:

Zombie Villager

Additional fields for Minecraft:zombie villager:

Zombified Piglin

Additional fields for Minecraft:zombified piglin:

Minecraft:pt:Formato de nível da Edição Bedrock/Formato de entidade Minecraft:zh:基岩版存档格式/实体格式

Contents