Minecraft:Bedrock Edition level format/Entity format/Upstream: Difference between revisions
More actions
Sync: upstream version from Minecraft |
Remove broken links to missing pages |
||
| Line 40: | Line 40: | ||
*** {{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 | ** {{nbt|byte|LootDropped}}: 1 or 0 (true/false) - true if this entity can drop 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 48: | Line 48: | ||
** {{nbt|byte|OnGround}}: 1 or 0 (true/false) - true if the entity is touching the ground. | ** {{nbt|byte|OnGround}}: 1 or 0 (true/false) - 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 | ** {{nbt|byte|Persistent}}: 1 or 0 (true/false) - true if an entity should be 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 64: | Line 64: | ||
** {{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 | ** {{nbt|list|Tags}}: (May not exist) List of 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. | ||
| Line 193: | Line 193: | ||
** [[Minecraft:Aquatic#Animals|Water Animal]] | ** [[Minecraft:Aquatic#Animals|Water Animal]] | ||
*** {{EntityLink|Dolphin}} | *** {{EntityLink|Dolphin}} | ||
*** | *** Fish | ||
**** {{EntityLink|Cod}} | **** {{EntityLink|Cod}} | ||
**** {{EntityLink|Salmon}} | **** {{EntityLink|Salmon}} | ||
| Line 227: | Line 227: | ||
** {{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 | ** {{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|hasSetCanPickupItems}}: 1 or 0 (true/false) - true if <code>canPickupItems</code> has been set by the game. | ** {{nbt|byte|hasSetCanPickupItems}}: 1 or 0 (true/false) - 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 | ** {{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|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. | ||
| Line 274: | Line 274: | ||
== Additional fields for entity types == | == Additional fields for entity types == | ||
=== Allay === | === Allay === | ||
Additional fields for | Additional fields for allay: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|inventory|component}} | ** {{bedrock nbt|inventory|component}} | ||
| Line 291: | Line 291: | ||
=== Area Effect Cloud === | === Area Effect Cloud === | ||
Additional fields for | Additional fields for 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 | ** {{nbt|list|mobEffects}}: A list of the applied effects. | ||
*** {{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 | ** {{nbt|int|PickupCount}}: How many 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 311: | Line 311: | ||
=== Armadillo === | === Armadillo === | ||
Additional fields for | Additional fields for armadillo: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 322: | Line 322: | ||
=== Armor Stand === | === Armor Stand === | ||
Additional fields for | Additional fields for 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 333: | Line 333: | ||
** {{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 | ** {{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|enchantInfinity}}: The level of | ** {{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|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 | ** {{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|enchantPunch}}: The level of | ** {{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. | ||
=== Axolotl === | === Axolotl === | ||
Additional fields for | Additional fields for axolotl: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 351: | Line 351: | ||
=== Bat === | === Bat === | ||
Additional fields for | Additional fields for 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 | Additional fields for bee: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 366: | Line 366: | ||
=== Boat with Chest === | === Boat with Chest === | ||
Additional fields for | Additional fields for 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 | Additional fields for 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 377: | Line 377: | ||
=== Camel === | === Camel === | ||
Additional fields for | Additional fields for camel: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 384: | Line 384: | ||
=== Cat === | === Cat === | ||
Additional fields for | Additional fields for cat: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 391: | Line 391: | ||
=== Chicken === | === Chicken === | ||
Additional fields for | Additional fields for chicken: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 401: | Line 401: | ||
=== Cow === | === Cow === | ||
Additional fields for | Additional fields for cow: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 407: | Line 407: | ||
=== Creeper === | === Creeper === | ||
Additional fields for | Additional fields for 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 | Additional fields for dolphin: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 421: | Line 421: | ||
=== Donkey === | === Donkey === | ||
Additional fields for | Additional fields for donkey: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 434: | Line 434: | ||
=== End Crystal === | === End Crystal === | ||
Additional fields for | Additional fields for 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 448: | Line 448: | ||
=== Endermite === | === Endermite === | ||
Additional fields for | Additional fields for 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 | Additional fields for 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 | Additional fields for 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 464: | Line 464: | ||
=== Experience Potion === | === Experience Potion === | ||
Additional fields for | Additional fields for 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 | Additional fields for falling block: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{nbt|compound|FallingBlock}} | ** {{nbt|compound|FallingBlock}} | ||
| Line 476: | Line 476: | ||
=== Fireball === | === Fireball === | ||
Additional fields for | Additional fields for fireball: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|explode|component}} | ** {{bedrock nbt|explode|component}} | ||
| Line 491: | Line 491: | ||
=== Fireworks Rocket === | === Fireworks Rocket === | ||
Additional fields for | Additional fields for 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 497: | Line 497: | ||
=== Fishing Bobber === | === Fishing Bobber === | ||
Additional fields for | Additional fields for 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 | Additional fields for fox: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 510: | Line 510: | ||
=== Frog === | === Frog === | ||
Additional fields for | Additional fields for 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 | Additional fields for goat: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 523: | Line 523: | ||
=== Guardian and Elder Guardian === | === Guardian and Elder Guardian === | ||
Additional fields for | Additional fields for guardian and 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 530: | Line 530: | ||
=== Hoglin === | === Hoglin === | ||
Additional fields for | Additional fields for hoglin: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 550: | Line 550: | ||
=== Iron Golem === | === Iron Golem === | ||
Additional fields for | Additional fields for 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 564: | Line 564: | ||
=== Llama === | === Llama === | ||
Additional fields for | Additional fields for llama: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 572: | Line 572: | ||
=== Llama Spit === | === Llama Spit === | ||
Additional fields for | Additional fields for 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 578: | Line 578: | ||
=== Minecart with Chest === | === Minecart with Chest === | ||
Additional fields for | Additional fields for 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 | Additional fields for 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 591: | Line 591: | ||
=== Minecart with Hopper === | === Minecart with Hopper === | ||
Additional fields for | Additional fields for 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 | Additional fields for 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 | Additional fields for mooshroom: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 607: | Line 607: | ||
=== Mule === | === Mule === | ||
Additional fields for | Additional fields for mule: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 625: | Line 625: | ||
=== Ocelot === | === Ocelot === | ||
Additional fields for | Additional fields for ocelot: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 638: | Line 638: | ||
=== Panda === | === Panda === | ||
Additional fields for | Additional fields for panda: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 658: | Line 658: | ||
=== Piglin Brute === | === Piglin Brute === | ||
Additional fields for | Additional fields for 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 664: | Line 664: | ||
=== Pillager === | === Pillager === | ||
Additional fields for | Additional fields for 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 | Additional fields for player: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|Abilities}} | ** {{bedrock nbt|Abilities}} | ||
| Line 675: | Line 675: | ||
** {{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 | ** {{nbt|int|EnchantmentSeed}}: The seed used for the next enchantment in enchantment tables. | ||
** {{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 691: | Line 691: | ||
** {{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 | ** {{nbt|int|PlayerLevel}}: The level shown on the 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 721: | Line 721: | ||
=== Polar Bear === | === Polar Bear === | ||
Additional fields for | Additional fields for 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 | Additional fields for 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 | Additional fields for rabbit: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 739: | Line 739: | ||
=== Ravager === | === Ravager === | ||
Additional fields for | Additional fields for ravager: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|dweller|component}} | ** {{bedrock nbt|dweller|component}} | ||
| Line 745: | Line 745: | ||
=== Sheep === | === Sheep === | ||
Additional fields for | Additional fields for sheep: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 751: | Line 751: | ||
=== Shulker Bullet === | === Shulker Bullet === | ||
Additional fields for | Additional fields for 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 | Additional fields for skeleton: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|timer|component}} | ** {{bedrock nbt|timer|component}} | ||
| Line 763: | Line 763: | ||
=== Skeleton Horse === | === Skeleton Horse === | ||
Additional fields for | Additional fields for 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 | Additional fields for 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 | Additional fields for sniffer: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 784: | Line 784: | ||
=== Strider === | === Strider === | ||
Additional fields for | Additional fields for strider: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 790: | Line 790: | ||
=== Sulfur cube === | === Sulfur cube === | ||
Additional fields for | Additional fields for sulfur cube: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|ageable|component}} | ** {{bedrock nbt|ageable|component}} | ||
| Line 803: | Line 803: | ||
=== Tadpole === | === Tadpole === | ||
Additional fields for | Additional fields for 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 | Additional fields for thrown 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 822: | Line 822: | ||
* {{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 | ** {{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|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 | Additional fields for tnt: | ||
* {{nbt|compound}}: The entity's root tag. | * {{nbt|compound}}: The entity's root tag. | ||
** {{bedrock nbt|explode|component}} | ** {{bedrock nbt|explode|component}} | ||
| Line 840: | Line 840: | ||
=== Vex === | === Vex === | ||
Additional fields for | Additional fields for 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 858: | Line 858: | ||
=== Vindicator === | === Vindicator === | ||
Additional fields for | Additional fields for 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 | Additional fields for 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 893: | Line 893: | ||
=== Wind Charge Projectile === | === Wind Charge Projectile === | ||
Additional fields for | Additional fields for 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 930: | Line 930: | ||
** {{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 | *** {{nbt|byte|minecraft:has_armor}}: 1 or 0 (true/false) - true if the wolf has 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 | *** {{nbt|byte|minecraft:is_armorable}}: 1 or 0 (true/false) - true if the wolf can be equipped with wolf armor. | ||
=== Zombie === | === Zombie === | ||
| Line 940: | Line 940: | ||
=== Zombie Horse === | === Zombie Horse === | ||
Additional fields for | Additional fields for 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 | Additional fields for 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 951: | Line 951: | ||
=== Zombified Piglin === | === Zombified Piglin === | ||
Additional fields for | Additional fields for 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 | |||
zh:基岩版存档格式/实体格式 | |||
Revision as of 15:37, 9 April 2026
Template:Exclusive This page lists the entity NBT structures Template:In.
Entity
All entities share this base:
- Template:Nbt: The entity's root tag.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is chested. Used by donkey, llama, and mule.
- Template:Nbt: The main color value of the entity. Used by sheep, llama, shulker, tropical fish, etc. Defaults to 0.
- Template:Nbt: The entity's second color value. Used by tropical fish. Defaults to 0.
- Template:Nbt: (May not exist) The custom name of this entity.
- Template:Nbt: 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.
- Template:Nbt: (May not exist) The namespaced ID of this entity and its current and previous component groups.
- Template:Nbt: Unknown
- Template:Nbt: Distance the entity has fallen. Larger values cause more damage when the entity lands.
- Template:Nbt: Number of ticks until the fire is put out. Default 0 when not on fire.
- Template:Nbt: The namespaced ID of this entity.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: 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.Template:Needs testing
- Template:Nbt: 1 or 0 (true/false) - true if this entity is angry. Used by wolf and bee.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is an autonomous entity.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is a baby.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is eating.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is gliding.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is a global entity (e.g. lightning bolt, ender dragon, arrow).
- Template:Nbt: 1 or 0 (true/false) - true if the entity is an illager captain. Used by pillager and vindicator.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is not spawn from its parents. Used by all the mobs that can breed.
- Template:Nbt: 1 or 0 (true/false) - true if the entity is out of control. Used by boat.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is roaring. Used by ravager.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is scared.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is stunned. Used by ravager.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is swimming.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is tamed.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is trusting a player. Used by fox and ocelot.
- Template:Nbt: (May not exist) Unknown.
- Template:Nbt: (May not exist) Unknown
- Template:Nbt: The Unique ID of an entity.
- Template:Nbt: Unknown.
- Template:Nbt: 1 or 0 (true/false) - true if this entity can drop loot when killed.
- Template:Nbt: The ID of the mark variant. Used by villager, horse, bee etc. Defaults to 0.
- Template:Nbt: (May not exist) Three TAG_Floats describing the current dX, dY and dZ velocity of the entity in meters per tick.
- Template:Nbt: dX
- Template:Nbt: dY
- Template:Nbt: dZ
- Template:Nbt: 1 or 0 (true/false) - true if the entity is touching the ground.
- Template:Nbt: Unknown. Defaults to -1.
- Template:Nbt: 1 or 0 (true/false) - true if an entity should be persistent in the world.
- Template:Nbt: 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.
- Template:Nbt: Three TAG_Floats describing the current X, Y and Z position of the entity.
- Template:Nbt: X
- Template:Nbt: Y
- Template:Nbt: Z
- Template:Nbt: Two TAG_Floats representing rotation in degrees.
- Template:Nbt: The entity's rotation clockwise around the Y axis (called yaw). Due south is 0. Does not exceed 360 degrees.
- Template:Nbt: The entity's declination from the horizon (called pitch). Horizontal is 0. Positive values look downward. Does not exceed positive or negative 90 degrees.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is saddled.
- Template:Nbt: 1 or 0 (true/false) - true if this entity is sheared. Used by sheep and snow golem.
- Template:Nbt: 1 or 0 (true/false) - true if the End Crystal shows the bedrock slate underneath.Template:Needs testing
- Template:Nbt: 1 or 0 (true/false) - true if this entity is sitting.
- Template:Nbt: The entity's Skin ID value. Used by villager and zombified villager. Defaults to 0.
- Template:Nbt: Determines the number of items the entity can carry (items = 3 × strength). Used by llama. Defaults to 0.
- Template:Nbt: Determines the maximum number of items the entity can carry (items = 3 × strength). Defaults to 0.
- Template:Nbt: (May not exist) List of scoreboard tags of this entity.
- Template:Nbt: A tag.
- Template:Nbt: The Unique ID of this entity.
- Template:Nbt: The ID of the variant. Used by cat, villager, horse, etc. Defaults to 0.
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:
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Humanoid Monster
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
Additional fields for monsters:
- Template:Nbt: The entity's root tag.
- Template:Nbt: 1 or 0 (true/false) - true if is spawned by night.Template:More info
Humanoid Monster
Humanoid monster entities include:
Additional fields for humanoid monsters:
- Template:Nbt: The entity's root tag.
- Template:Nbt: (May not exist) The items in the entity's hand.
Mob
Mob entities include:
- Template:EntityLink
- Template:EntityLink
- Minecraft:Animal
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Monsters
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Template:EntityLink
- Villagers
- Template:EntityLink
- Water Animal
- Template:EntityLink
Additional fields for mobs:
- Template:Nbt: The entity's root tag.
- Template:Nbt: (May not exist) The list of potion effects on this mob.
- Template:Nbt: An effect.
- Template:Nbt: How much air the living entity has, in ticks.
- Template:Nbt: The list of items the mob is wearing as armor.
- Template:Nbt: The item on the head.
- Template:Nbt: The item on the chest.
- Template:Nbt: The item on the legs.
- Template:Nbt: The item on the feets.
- Template:Nbt: Number of ticks the mob attacks for. 0 when not attacking.
- Template:Nbt: A list of Minecraft: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.
- Template:Nbt: An Attribute.
- Template:Nbt: (May not exist) Unknown.
- Template:Nbt: X of the bound origin.
- Template:Nbt: Y of the bound origin.
- Template:Nbt: Z of the bound origin.
- Template:Nbt: 1 or 0 (true/false) - true if this entity can pick up items.
- Template:Nbt: 1 or 0 (true/false) - true if dead.
- Template:Nbt: Number of ticks the mob has been dead for. Controls death animations. 0 when alive.
- Template:Nbt: (May not exist) Template:Nbt boolean - Template:Cd if this mob drops experience when killed.
- Template:Nbt: 1 or 0 (true/false) - if this mob has bound origin. OnlyTemplate:Needs testing effects Vex. When a vex is idle, it wanders, selecting air blocks from within a 15×11×15Template: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.
- Template:Nbt: 1 or 0 (true/false) - true if
canPickupItemshas been set by the game. - Template:Nbt: Number of ticks the mob turns red for after being hit. 0 when not recently hit.
- Template:Nbt: The Unique ID of an entity that is leashing it with a lead. Set to -1 if there's no leasher.
- Template:Nbt: The left time in ticks until this entity disapears. OnlyTemplate:Needs testing effects Evoker Fangs. For other entities, it is set to 0.
- Template:Nbt: The item being held in the mob's main hand.
- Template:Nbt: The item.
- Template:Nbt: 1 or 0 (true/false) - true if it is naturally spawned.
- Template:Nbt: The item being held in the mob's off hand.
- Template:Nbt: The item.
- Template:Nbt: (May not exist) Unknown.
- Template:Nbt: (May not exist) Unknown.
- Template:Nbt: 1 or 0 (true/false) - true if it is naturally spawned on the surface.
- Template:Nbt: (May not exist) The Unique ID of a captain to follow. Used by pillager and vindicator.
- Template:Nbt: The Unique ID of an entity that this entity is angry at.
- Template:Nbt: (May not exist) Trade experiences of this trader entity.
- Template:Nbt: (May not exist) Trade tier of this trader entity.
- Template:Nbt: (May not exist) unknown.
- Template:Nbt: (May not exist) The list of potion effects on this mob.
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:
- Template:Nbt: The entity's root tag.
- Template:Nbt: Unknown.
- Template:Nbt: The Unique ID of the entity this projectile was thrown by.
- Template:Nbt: Unknown.
Additional fields for entity types
Allay
Additional fields for allay:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Nbt: The allay's duplication cooldown in ticks. This is set to 6000 ticks (5 minutes) when the allay duplicates.
- Template:Nbt: The vibration event listener of this allay.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
Area Effect Cloud
Additional fields for area effect cloud:
- Template:Nbt: The entity's root tag.
- Template:Nbt: The maximum age of the field.
- Template:Nbt: The amount the duration of the field changes upon applying the effect.
- Template:Nbt: The field's initial radius.
- Template:Nbt: A list of the applied effects.
- Template:Nbt: The Unique ID of the entity who created the cloud. If it has no owner, defaults to -1.
- Template:Nbt: The color of the particles.
- Template:Nbt: The particles displayed by the field.
- Template:Nbt: How many dragon's breath can be picked up.
- Template:Nbt: The name of the default potion effect. See potion data values for valid IDs.
- Template:Nbt: The field's current radius.
- Template:Nbt: The amount the radius changes when picked up by a glass bottle.
- Template:Nbt: The amount the radius changes upon applying the effect. Normally negative.
- Template:Nbt: The amount the radius changes per tick. Normally negative.
- Template:Nbt: The number of ticks before reapplying the effect.
- Template:Nbt: The time when it was spawned.
Armadillo
Additional fields for armadillo:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: The armadillo
properties.- Template:Nbt: 1 or 0 (true/false) - true if the armadillo is rolled up.
- Template:Nbt: 1 or 0 (true/false) - true if the armadillo was hit.
- Template:Nbt: 1 or 0 (true/false) - Template:Info needed.
Armor Stand
Additional fields for armor stand:
- Template:Nbt: The entity's root tag.
- Template:Nbt: The ArmorStand's pose.
- Template:Nbt: The redstone signal level it received.
- Template:Nbt: The index of current pose.
- Template:Nbt: The ArmorStand's pose.
Arrow
Additional fields for Minecraft:arrow:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Nbt: The metadata of this arrow. See Minecraft:Arrow#Metadata.
- Template:Nbt: The level of Flame enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Flame enchantment.
- Template:Nbt: The level of Infinity enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Infinity enchantment.
- Template:Nbt: Effects on a tipped arrow.
- Template:Nbt: An effect.
- Template:Nbt: The level of Power enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Power enchantment.
- Template:Nbt: The level of Punch enchantment on the bow that shot this arrow, where 1 is level 1. 0 if no Punch enchantment.
Axolotl
Additional fields for axolotl:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: (May not exist) Applies a defined amount of damage to the axolotl at specified intervals.
- Template:Nbt: Number of ticks until the axolotl dies when it is on the surface. Initially starts at 6000 ticks (5 minutes) and counts down to 0.
Bat
Additional fields for bat:
- Template:Nbt: The entity's root tag.
- Template:Nbt: 1 when hanging upside down and 0 when flying.Template:More info
Bee
Additional fields for bee:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: The bee
properties.- Template:Nbt: 1 or 0 (true/false) - true if the bee is carrying pollen.
Boat with Chest
Additional fields for boat with chest:
- Template:Nbt: The entity's root tag.
Breeze
Additional fields for breeze:
- Template:Nbt: The entity's root tag.
- Template:Nbt: The breeze
properties.- Template:Nbt: 1 or 0 (true/false) - true if the breeze is playing the
mob.breeze.idle_groundsound.
- Template:Nbt: 1 or 0 (true/false) - true if the breeze is playing the
- Template:Nbt: The breeze
Camel
Additional fields for camel:
- Template:Nbt: The entity's root tag.
Cat
Additional fields for cat:
- Template:Nbt: The entity's root tag.
Chicken
Additional fields for chicken:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt
- Template:Nbt: An entry.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: An entry.
Cow
Additional fields for cow:
- Template:Nbt: The entity's root tag.
Creeper
Additional fields for creeper:
- Template:Nbt: The entity's root tag.
Dolphin
Additional fields for dolphin:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: Unknown.
- Template:Nbt: (May not exist) Applies a defined amount of damage to the dolphin at specified intervals.
- Template:Nbt: Number of ticks until the dolphin dies when it is on the surface. Initially starts at 2400 ticks (2 minutes) and counts down to 0.
Donkey
Additional fields for donkey:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: Random number that ranges from 0 to 100; increases with feeding or trying to tame it. Higher values make the donkey easier to tame.
Egg
Additional fields for Minecraft:egg:
- Template:Nbt: The entity's root tag.
End Crystal
Additional fields for end crystal:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Nbt: (May not exist) The block location its beam points to.
- Template:Nbt: (May not exist) See above.
- Template:Nbt: (May not exist) See above.
Enderman
Additional fields for Minecraft:enderman:
- Template:Nbt: The entity's root tag.
- Template:Nbt: The block carried by the enderman.
Endermite
Additional fields for 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 evoker:
- Template:Nbt: The entity's root tag.
Experience Orb
Additional fields for experience orb:
- Template:Nbt: The entity's root tag.
- Template:Nbt: The number of ticks the XP orb has been "untouched". After 6000 ticks (5 minutes) the orb is destroyed.Template:Needs testing
- Template:Nbt: The amount of experience the orb gives when picked up.
Experience Potion
Additional fields for experience potion:
- Template:Nbt: The entity's root tag.
Falling Block
Additional fields for 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 itsFallingBlock.NamewhenTimeticks 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 fireball:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: List of 3 doubles. Should be identical to Motion.Template:Needs testing
- Template:Nbt: X
- Template:Nbt: Y
- Template:Nbt: Z
- Template:Nbt: Unknown.
- Template:Nbt: List of 3 floats that adds to
Directionevery tick. Act as the acceleration.- Template:Nbt: X
- Template:Nbt: Y
- Template:Nbt: Z
Fireworks Rocket
Additional fields for firework rocket:
- Template:Nbt: The entity's root tag.
- Template:Nbt: The number of ticks this fireworks rocket has been flying for.
- Template:Nbt: The number of ticks before this fireworks rocket explodes. This value is randomized when the firework is launched.Template:Needs testing
Fishing Bobber
Additional fields for fishing bobber:
- Template:Nbt: The entity's root tag.
Fox
Additional fields for fox:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: The number of players who are trusted by the fox.
- Template:Nbt: A player's Unique ID. Note that
<num>counts from 0.
Frog
Additional fields for frog:
- Template:Nbt: The entity's root tag.
Goat
Additional fields for goat:
- Template:Nbt: The entity's root tag.
Guardian and Elder Guardian
Additional fields for guardian and elder guardian:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: 1 or 0 (true/false) - true if it is an elder guardian.
Hoglin
Additional fields for hoglin:
- Template:Nbt: The entity's root tag.
Horse
Additional fields for Minecraft:horse:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: Random number that ranges from 0 to 100; increases with feeding or trying to tame it. Higher values make the horse easier to tame.
Husk
Additional fields for Minecraft:husk:
- Template:Nbt: The entity's root tag.
Iron Golem
Additional fields for iron golem:
- Template:Nbt: The entity's root tag.
Item Entity
Additional fields for item entity:
- Template:Nbt: The entity's root tag.
- Template:Nbt: The number of ticks the item has been "untouched". After 6000 ticks (5 minutes) the item is destroyed.
- Template:Nbt: 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.Template:Needs testing
- Template:Nbt: The item of this stack.
- Template:Nbt: If present, only the playerTemplate:Needs testing with this Unique ID can pick up the item.
Llama
Additional fields for llama:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: Random number that ranges from 0 to 100; increases with feeding or trying to tame it. Higher values make the llama easier to tame.
Llama Spit
Additional fields for llama spit:
- Template:Nbt: The entity's root tag.
Minecart with Chest
Additional fields for minecart with chest:
- Template:Nbt: The entity's root tag.
Minecart with Command Block
Additional fields for minecart with command block:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: Number of ticks until it executes the command again.
- Template:Nbt: Unknown.
Minecart with Hopper
Additional fields for minecart with hopper:
- Template:Nbt: The entity's root tag.
Minecart with TNT
Additional fields for minecart with tnt:
- Template:Nbt: The entity's root tag.
Mooshroom
Additional fields for mooshroom:
- Template:Nbt: The entity's root tag.
Mule
Additional fields for mule:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: Random number that ranges from 0 to 100; increases with feeding or trying to tame it. Higher values make the mule easier to tame.
NPC
Additional fields for Minecraft:NPC:
- Template:Nbt: The entity's root tag.
- Template:Nbt: (May not exist) The actions.Template:More info
- Template:Nbt: (May not exist) The interactive text.Template:More info
- Template:Nbt: (May not exist) Unknown
- Template:Nbt: A key-value pair.
- Template:Nbt: A player's Unique ID.
- Template:Nbt: Unknown
- Template:Nbt: A key-value pair.
- Template:Nbt: (May not exist) The name.Template:More info
Ocelot
Additional fields for ocelot:
- Template:Nbt: The entity's root tag.
Painting
Additional fields for Minecraft:painting:
- Template:Nbt: The entity's root tag.
- Template:Nbt: The direction the painting faces: 0 is south, 1 is west, 2 is north, 3 is east.Template:Needs testing
- Template:Nbt: Unknown.
- Template:Nbt: (May not exist) The ID of the painting's artwork.
Panda
Additional fields for panda:
- Template:Nbt: The entity's root tag.
Pig
Additional fields for Minecraft:pig:
- Template:Nbt: The entity's root tag.
Piglin
Additional fields for Minecraft:piglin:
- Template:Nbt: The entity's root tag.
Piglin Brute
Additional fields for piglin brute:
- Template:Nbt: The entity's root tag.
Pillager
Additional fields for pillager:
- Template:Nbt: The entity's root tag.
Player
Additional fields for player:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: The Unique ID of the player's agent.
- Template:Nbt: The ID of the dimension the player is in.
- Template:Nbt: The seed used for the next enchantment in enchantment tables.
- Template:Nbt: Each compound tag in this list is an item in the player's 27-slot ender chest inventory.
- Template:Nbt: An item in the inventory.
- Template:Nbt: The slot the item is in.
- Template:Bedrock nbt
- Template:Nbt: An item in the inventory.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: The format version of this NBT.
- Template:Nbt: 1 or 0 (true/false) - true if the player has traveled to the Minecraft:Overworld via an Minecraft:End portal.
- Template:Nbt: Each compound tag in this list is an item in the player's inventory.
- Template:Nbt: An item in the inventory, including the slot tag.
- Template:Nbt: The slot the item is in.
- Template:Bedrock nbt
- Template:Nbt: An item in the inventory, including the slot tag.
- Template:Nbt: The Unique ID of the entity that is on the player's left shoulder.
- Template:Nbt: Unknown.
- Template:Nbt: The game mode of the player.
- Template:Nbt: The level shown on the XP bar.
- Template:Nbt: The progress/percent across the XP bar to the next level.
- Template:Nbt: Unknown
- Template:Nbt: An item in the UI, including the slot tag.
- Template:Nbt: The slot the item is in.
- Template:Bedrock nbt
- Template:Nbt: An item in the UI, including the slot tag.
- Template:Nbt: Contains information about the recipes that the player has unlocked.
- Template:Nbt: A list of all recipes the player has unlocked.
- Template:Nbt: The name of a recipe, for instance
minecraft:stickorminecraft:ladder.
- Template:Nbt: The name of a recipe, for instance
- Template:Nbt: Unknown. Defaults to 2.
- Template:Nbt: A list of all recipes the player has unlocked.
- Template:Nbt: The Unique ID of the entity that the player is riding.
- Template:Nbt: The Unique ID of the entity that is on the player's right shoulder.
- Template:Nbt: The ID of the selected container.Template:Needs testing
- Template:Nbt: The selected inventory slot of the player.
- Template:Nbt: 1 or 0 (true/false) - true if the player is sleeping.
- Template:Nbt: 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.Template:Needs testing
- Template:Nbt: 1 or 0 (true/false) - true if the player is sneaking.
- Template:Nbt: The X coordinate of the player's spawn block.
- Template:Nbt: The Y coordinate of the player's spawn block.
- Template:Nbt: The Z coordinate of the player's spawn block.
- Template:Nbt: The dimension of the player's spawn point.
- Template:Nbt: The X coordinate of the player's spawn point.
- Template:Nbt: The Y coordinate of the player's spawn point.
- Template:Nbt: The Z coordinate of the player's spawn point.
- Template:Nbt: The time in ticks since last rest.
- Template:Nbt: 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
WardenThreatLevelwill be decreased by 1. - Template:Nbt: A threat level between 0 and 4 (inclusive). The warden will spawn at level 4.
- Template:Nbt: The number of ticks before the
WardenThreatLevelcan be increased again. Decreases by 1 every tick. It is set 200 ticks (10 seconds) every time the threat level is increased.
Polar Bear
Additional fields for polar bear:
- Template:Nbt: The entity's root tag.
Pufferfish
Additional fields for pufferfish:
- Template:Nbt: The entity's root tag.
Rabbit
Additional fields for rabbit:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: Unknown.
- Template:Nbt: Set to 40 when a carrot crop is eaten, decreases by 0–2 every tick until it reaches 0.Template:Needs testing
Ravager
Additional fields for ravager:
- Template:Nbt: The entity's root tag.
Sheep
Additional fields for sheep:
- Template:Nbt: The entity's root tag.
Shulker Bullet
Additional fields for shulker bullet:
- Template:Nbt: The entity's root tag.
Skeleton
Additional fields for skeleton:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Nbt: The item in its hand. Defaults to a bow.
Skeleton Horse
Additional fields for skeleton horse:
- Template:Nbt: The entity's root tag.
Slime
Additional fields for 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 sniffer:
- Template:Nbt: The entity's root tag.
Snowball
Additional fields for Minecraft:snowball:
- Template:Nbt: The entity's root tag.
Strider
Additional fields for strider:
- Template:Nbt: The entity's root tag.
Sulfur cube
Additional fields for sulfur cube:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: The size of the sulfur cube. 1 is the smallest slime, 2 is the next larger.
- Template:Nbt: List of equipment slots and the chance that the item in that slot drops when the sulfur cube dies.
- Template:Nbt: A slot entry.
- Template:Nbt: The probability that the item in this slot will drop (0.0 to 1.0).
- Template:Nbt: The name of the equipment slot. Can be Template:Cd.
- Template:Nbt: A slot entry.
- Template:Nbt: The sulfur cube
properties.- Template:Nbt: Template:Nbt boolean - Template:Cd if the sulfur cube it has a block.
Tadpole
Additional fields for tadpole:
- Template:Nbt: The entity's root tag.
Thrown Ender Pearl
Additional fields for thrown ender pearl:
- Template:Nbt: The entity's root tag.
Thrown Potion
Additional fields for thrown Minecraft:potion:
- Template:Nbt: The entity's root tag.
Thrown Trident
Additional fields for thrown Minecraft:trident:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Nbt: 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.
- Template:Nbt: The item that is given when the entity is picked up.
TNT
Additional fields for tnt:
- Template:Nbt: The entity's root tag.
Turtle
Additional fields for Minecraft:turtle:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: 1 or 0 (true/false) - true if the turtle has eggs.
Vex
Additional fields for vex:
- Template:Nbt: The entity's root tag.
- Template:Nbt: The item in its hand. Defaults to an iron sword.
Villager (V2)
Additional fields for Minecraft:villager (v2):
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: 1 or 0 (true/false) - true if the villager's trade has been resupplied.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
Vindicator
Additional fields for vindicator:
- Template:Nbt: The entity's root tag.
Wandering Trader
Additional fields for wandering trader:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt
- Template:Nbt: An entry.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: An entry.
Warden
Additional fields for Minecraft:warden:
- Template:Nbt: The entity's root tag.
- Template:Nbt: List of nuisances that have angered the warden.
- Template:Nbt: A nuisance.
- Template:Nbt: The Unique ID of the entity that is associated with the anger.
- Template:Nbt: The level of anger. It has a maximum value of 150 and decreases by 1 every second.
- Template:Nbt: 1 or 0 (true/false) - true if the nuisance is priority.
- Template:Nbt: A nuisance.
- Template:Nbt: The vibration event listener of the warden.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: List of nuisances that have angered the warden.
Wind Charge Projectile
Additional fields for wind charge projectile:
- Template:Nbt: The entity's root tag.
Witch
Additional fields for Minecraft:witch:
- Template:Nbt: The entity's root tag.
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:
- Template:Nbt: The entity's root tag.
Wolf
Additional fields for Minecraft:wolf:
- Template:Nbt: The entity's root tag.
- Template:Bedrock nbt
- Template:Bedrock nbt
- Template:Nbt: The wolf
properties.- Template:Nbt: 1 or 0 (true/false) - true if the wolf has wolf armor.
- Template:Nbt: 1 or 0 (true/false) - true if the wolf's maximum health is Template:Hp.
- Template:Nbt: 1 or 0 (true/false) - true if the wolf can be equipped with wolf armor.
Zombie
Additional fields for Minecraft:zombie:
- Template:Nbt: The entity's root tag.
Zombie Horse
Additional fields for zombie horse:
- Template:Nbt: The entity's root tag.
Zombie Villager
Additional fields for zombie villager:
- Template:Nbt: The entity's root tag.
- Template:Nbt: 1 or 0 (true/false) - true if spawned from village.
Zombified Piglin
Additional fields for zombified piglin:
- Template:Nbt: The entity's root tag.
- Template:Nbt: Unknown.
pt:Formato de nível da Edição Bedrock/Formato de entidade zh:基岩版存档格式/实体格式