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/Components: Difference between revisions

From SAS Gaming Wiki
imported>Joaololpvp
ageable: These components only generate if it can grow.
 
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{exclusive|bedrock}}
{{MC/Exclusive|bedrock}}


This page lists the unique NBT tags for entities that have a certain component.
This page lists the unique NBT tags for entities that have a certain component.
Line 6: Line 6:
== economy_trade_table ==
== economy_trade_table ==
This component is used by villagers and wandering traders.
This component is used by villagers and wandering traders.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|int|Riches}}: Unknown.
**{{MC/Nbt|int|Riches}}: Unknown.
**{{nbt|compound|Offers}}: (May not exist) The trade info.
**{{MC/Nbt|compound|Offers}}: (May not exist) The trade info.
***{{nbt|list|Recipes}}: The list of trade recipes.
***{{MC/Nbt|list|Recipes}}: The list of trade recipes.
****{{nbt|compound}}: A recipe.
****{{MC/Nbt|compound}}: A recipe.
*****{{nbt|compound|buyA}}: The first 'cost' item.
*****{{MC/Nbt|compound|buyA}}: The first 'cost' item.
******{{bedrock nbt|Item Stack|item}}
******{{MC/Bedrock nbt|Item Stack|item}}
*****{{nbt|compound|buyB}}: (May not exist) The second 'cost' item
*****{{MC/Nbt|compound|buyB}}: (May not exist) The second 'cost' item
******{{bedrock nbt|Item Stack|item}}
******{{MC/Bedrock nbt|Item Stack|item}}
*****{{nbt|compound|sell}}: The item being sold for each set of cost items.
*****{{MC/Nbt|compound|sell}}: The item being sold for each set of cost items.
******{{bedrock nbt|Item Stack|item}}
******{{MC/Bedrock nbt|Item Stack|item}}
*****{{nbt|int|tier}}: The tier that the trader needs to reach to access this recipe.
*****{{MC/Nbt|int|tier}}: The tier that the trader needs to reach to access this recipe.
*****{{nbt|int|uses}}: The number of times this trade has been used. The trade becomes disabled when this is greater or equal to maxUses.
*****{{MC/Nbt|int|uses}}: The number of times this trade has been used. The trade becomes disabled when this is greater or equal to maxUses.
*****{{nbt|int|maxUses}}: The maximum number of times this trade can be used before it is disabled. Increases by a random amount from 2 to 12 when offers are refreshed.{{needs testing}}
*****{{MC/Nbt|int|maxUses}}: The maximum number of times this trade can be used before it is disabled. Increases by a random amount from 2 to 12 when offers are refreshed.{{MC/Needs testing}}
*****{{nbt|int|traderExp}}: The trade experiences to be rewarded to this trader entity.
*****{{MC/Nbt|int|traderExp}}: The trade experiences to be rewarded to this trader entity.
*****{{nbt|byte|rewardExp}}: 1 or 0 (true/false) - true if this trade provides XP orb drops.
*****{{MC/Nbt|byte|rewardExp}}: 1 or 0 (true/false) - true if this trade provides XP orb drops.
*****{{nbt|int|demand}}: The price adjuster of the first 'cost' item based on demand. Updated when a villager resupply.
*****{{MC/Nbt|int|demand}}: The price adjuster of the first 'cost' item based on demand. Updated when a villager resupply.
*****{{nbt|int|buyCountA}}: The count needed for the first 'cost' item.
*****{{MC/Nbt|int|buyCountA}}: The count needed for the first 'cost' item.
*****{{nbt|int|buyCountB}}: The count needed for the second 'cost' item.
*****{{MC/Nbt|int|buyCountB}}: The count needed for the second 'cost' item.
*****{{nbt|float|priceMultiplierA}}: The multiplier on the demand and discount price adjuster; the final adjusted price is added to the first 'cost' item's price.
*****{{MC/Nbt|float|priceMultiplierA}}: The multiplier on the demand and discount price adjuster; the final adjusted price is added to the first 'cost' item's price.
*****{{nbt|float|priceMultiplierB}}: The multiplier on the demand and discount price adjuster; the final adjusted price is added to the second 'cost' item's price.
*****{{MC/Nbt|float|priceMultiplierB}}: The multiplier on the demand and discount price adjuster; the final adjusted price is added to the second 'cost' item's price.
***{{nbt|list|TierExpRequirements}}: Trade experiences required to become each trade tier.
***{{MC/Nbt|list|TierExpRequirements}}: Trade experiences required to become each trade tier.
****{{nbt|compound}}: A tier.
****{{MC/Nbt|compound}}: A tier.
*****{{nbt|int|<''tier_level_num''>}}: Trade xperiences required to become this tier.
*****{{MC/Nbt|int|<''tier_level_num''>}}: Trade xperiences required to become this tier.
**{{nbt|byte|ConvertedFromVillagerV1}}: (May not exist) Unknown.
**{{MC/Nbt|byte|ConvertedFromVillagerV1}}: (May not exist) Unknown.
**{{nbt|string|TradeTablePath}}: (May not exist) The path of the json file of the trade table.
**{{MC/Nbt|string|TradeTablePath}}: (May not exist) The path of the json file of the trade table.
**{{nbt|int|LowTierCuredDiscount}}: (May not exist) The discount price adjuster gained by curing zombie villagers
**{{MC/Nbt|int|LowTierCuredDiscount}}: (May not exist) The discount price adjuster gained by curing zombie villagers
**{{nbt|int|HighTierCuredDiscount}}: (May not exist) The discount price adjuster gained by curing zombie villagers
**{{MC/Nbt|int|HighTierCuredDiscount}}: (May not exist) The discount price adjuster gained by curing zombie villagers
**{{nbt|int|NearbyCuredDiscount}}: (May not exist) The discount price adjuster gained by curing nearby zombie villagers
**{{MC/Nbt|int|NearbyCuredDiscount}}: (May not exist) The discount price adjuster gained by curing nearby zombie villagers
**{{nbt|int|NearbyCuredDiscountTimeStamp}}: (May not exist) The discount price adjuster gained by curing nearby zombie villagers
**{{MC/Nbt|int|NearbyCuredDiscountTimeStamp}}: (May not exist) The discount price adjuster gained by curing nearby zombie villagers


== ageable ==
== ageable ==
This component is used by baby axolotls, bees, cats, chickens, cows, dolphins, donkeys, foxes, goats, hoglins, horses, llamas, mooshrooms, mules, ocelots, pandas, pigs, polar bears, rabbits, sheep, skeleton horses, sniffers, striders, tadpoles, turtles, villagers, wolves, and zombie horses.
This component is used by baby axolotls, bees, cats, chickens, cows, dolphins, donkeys, foxes, goats, hoglins, horses, llamas, mooshrooms, mules, ocelots, pandas, pigs, polar bears, rabbits, sheep, skeleton horses, sniffers, striders, tadpoles, turtles, villagers, wolves, and zombie horses.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|int|Age}}: Represents the age of the entity in ticks; when negative, the entity is a baby. When 0, the entity becomes an adult.
**{{MC/Nbt|int|Age}}: Represents the age of the entity in ticks; when negative, the entity is a baby. When 0, the entity becomes an adult.
** {{nbt|bool|GrowthPaused‌}}: {{nbt boolean}} - if <code>true</code> and the mob is a baby, the mob will not age naturally and cannot be fed.
** {{MC/Nbt|bool|GrowthPaused‌}}: {{MC/Nbt boolean}} - if <code>true</code> and the mob is a baby, the mob will not age naturally and cannot be fed.


== balloon ==
== balloon ==
This component is used by allays, bees, chickens, cows, donkeys, foxes, glow squids, horses, iron golems, llamas, mooshrooms, mules, pandas, pigs, rabbits, sheep, skeleton horses, snow golems, and zombie horses.
This component is used by allays, bees, chickens, cows, donkeys, foxes, glow squids, horses, iron golems, llamas, mooshrooms, mules, pandas, pigs, rabbits, sheep, skeleton horses, snow golems, and zombie horses.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|long|ballon_attached}}: The Unique ID of the attached entity.
**{{MC/Nbt|long|ballon_attached}}: The Unique ID of the attached entity.
**{{nbt|float|ballon_max_height}}: Max height.
**{{MC/Nbt|float|ballon_max_height}}: Max height.
**{{nbt|byte|ballon_should_drop}}: Unknown
**{{MC/Nbt|byte|ballon_should_drop}}: Unknown


== breathable ==
== breathable ==
This component is used by axolotls, bats, bees, cats, cave spiders, chickens, cows, creepers, dolphins, donkeys, drowned, elder guardians, endermen, endermites, evokers, fish, foxes, frogs, ghasts, glow squids, goats, guardians, hoglins, horses, husks, llamas, magma cubes, mooshrooms, mules, ocelots, pandas, parrots, phantoms, piglins, piglin brutes, pillagers, pigs, players, polar bears, pufferfish, rabbits, ravagers, salmon, sheep, shulkers, silverfish, skeletons, skeleton horses, slimes, sniffers, snow golems, tropical fish, spiders, squids, sea turtles, strays, villagers, vindicators, wardens, wandering traders, withers, wither skeletons, tadpoles, witches, wolves, zombies, zoglins, zombie horses, zombified piglins, and zombie villagers.
This component is used by axolotls, bats, bees, cats, cave spiders, chickens, cows, creepers, dolphins, donkeys, drowned, elder guardians, endermen, endermites, evokers, fish, foxes, frogs, ghasts, glow squids, goats, guardians, hoglins, horses, husks, llamas, magma cubes, mooshrooms, mules, ocelots, pandas, parrots, phantoms, piglins, piglin brutes, pillagers, pigs, players, polar bears, pufferfish, rabbits, ravagers, salmon, sheep, shulkers, silverfish, skeletons, skeleton horses, slimes, sniffers, snow golems, tropical fish, spiders, squids, sea turtles, strays, villagers, vindicators, wardens, wandering traders, withers, wither skeletons, tadpoles, witches, wolves, zombies, zoglins, zombie horses, zombified piglins, and zombie villagers.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|short|Air}}: How much air the living entity has, in ticks.
**{{MC/Nbt|short|Air}}: How much air the living entity has, in ticks.


== breedable ==
== breedable ==
This component is used by axolotls, bees, cats, chickens, cows, dolphins, donkeys, foxes, goats, hoglins, horses, llamas, mooshrooms, mules, ocelots, pandas, pigs, polar bears, rabbits, sheep, skeleton horses, sniffers, striders, tadpoles, turtles, villagers, wolves, and zombie horses.
This component is used by axolotls, bees, cats, chickens, cows, dolphins, donkeys, foxes, goats, hoglins, horses, llamas, mooshrooms, mules, ocelots, pandas, pigs, polar bears, rabbits, sheep, skeleton horses, sniffers, striders, tadpoles, turtles, villagers, wolves, and zombie horses.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|int|InLove}}: Number of ticks until the entity loses its breeding hearts and stops searching for a mate. 0 when not searching for a mate{{needs testing}}.
**{{MC/Nbt|int|InLove}}: Number of ticks until the entity loses its breeding hearts and stops searching for a mate. 0 when not searching for a mate{{MC/Needs testing}}.
**{{nbt|long|LoveCause}}: The Unique ID of the entity that caused this animal to breed.
**{{MC/Nbt|long|LoveCause}}: The Unique ID of the entity that caused this animal to breed.
**{{nbt|int|BreedCooldown}}: Unknown
**{{MC/Nbt|int|BreedCooldown}}: Unknown


== bribeable ==
== bribeable ==
This component is only used by dolphins.
This component is only used by dolphins.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|int|BribeTime}}: Unknown<!--Time in ticks before the Entity can be bribed again.{{needs testing}}-->
**{{MC/Nbt|int|BribeTime}}: Unknown<!--Time in ticks before the Entity can be bribed again.{{MC/Needs testing}}-->


== inventory ==
== inventory ==
This component is used by minecarts with chest, minecarts with command block, minecarts with hopper, horses, donkeys, llamas, mules, pandas, and villagers.
This component is used by minecarts with chest, minecarts with command block, minecarts with hopper, horses, donkeys, llamas, mules, pandas, and villagers.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|list|ChestItems}}:
**{{MC/Nbt|list|ChestItems}}:
*** {{nbt|compound}}: An item in the inventory, including the slot tag.
*** {{MC/Nbt|compound}}: An item in the inventory, including the slot tag.
**** {{nbt|byte|Slot}}: The slot the item is in.
**** {{MC/Nbt|byte|Slot}}: The slot the item is in.
**** {{bedrock nbt|Item Stack|item}}
**** {{MC/Bedrock nbt|Item Stack|item}}
**{{nbt|string|InventoryVersion}}: e.g. 1.17.20-beta23
**{{MC/Nbt|string|InventoryVersion}}: e.g. 1.17.20-beta23
**{{nbt|string|LootTable}}: Loot table to be used to fill the inventory when it is next opened, or the items are otherwise interacted with.
**{{MC/Nbt|string|LootTable}}: Loot table to be used to fill the inventory when it is next opened, or the items are otherwise interacted with.
**{{nbt|int|LootTableSeed}}: Seed for generating the loot table. 0 or omitted uses a random seed{{needs testing}}.
**{{MC/Nbt|int|LootTableSeed}}: Seed for generating the loot table. 0 or omitted uses a random seed{{MC/Needs testing}}.


== damage_over_time ==
== damage_over_time ==
This component is used by axolotls and dolphins.
This component is used by axolotls and dolphins.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|short|DamageTime}}: Unknown
**{{MC/Nbt|short|DamageTime}}: Unknown


== drying_out_timer ==
== drying_out_timer ==
This component is used by axolotls and dolphins.
This component is used by axolotls and dolphins.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|long|CompleteTick}}: The time when this entity completely dries out.
**{{MC/Nbt|long|CompleteTick}}: The time when this entity completely dries out.
**{{nbt|int|State}}: Must be a boolean. 1 if it already dried out.
**{{MC/Nbt|int|State}}: Must be a boolean. 1 if it already dried out.


== dweller ==
== dweller ==
This component is used by cats, iron golems, villagers, evokers, pillagers, ravagers, vindicators, and witches. These mobs are classified into "roles" in the component, with cats being "passive", iron golems being "defenders", evokers, pillagers, ravagers, vindicators, and witches being "hostile", and villagers being "inhabitants".
This component is used by cats, iron golems, villagers, evokers, pillagers, ravagers, vindicators, and witches. These mobs are classified into "roles" in the component, with cats being "passive", iron golems being "defenders", evokers, pillagers, ravagers, vindicators, and witches being "hostile", and villagers being "inhabitants".
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|string|DwellingUniqueID}}: Unknown
**{{MC/Nbt|string|DwellingUniqueID}}: Unknown
**{{nbt|byte|RewardPlayersOnFirstFounding}}: Unknown
**{{MC/Nbt|byte|RewardPlayersOnFirstFounding}}: Unknown
**{{nbt|string|PreferredProfession}}: (May not exist) Unknown
**{{MC/Nbt|string|PreferredProfession}}: (May not exist) Unknown


== explode ==
== explode ==
This component is used by TNT, minecarts with TNT, creepers, ghast fireballs, end crystals, and wither skulls.
This component is used by TNT, minecarts with TNT, creepers, ghast fireballs, end crystals, and wither skulls.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|byte|Fuse}}: (May not exist)  Number of ticks before the explosion
**{{MC/Nbt|byte|Fuse}}: (May not exist)  Number of ticks before the explosion
**{{nbt|byte|IsFuseLit}}: (May not exist)  Does the time before the explosion started decreasing
**{{MC/Nbt|byte|IsFuseLit}}: (May not exist)  Does the time before the explosion started decreasing
**{{nbt|byte|AllowUnderwater}}: (May not exist)  Explosion will cause damage to territory even underwater
**{{MC/Nbt|byte|AllowUnderwater}}: (May not exist)  Explosion will cause damage to territory even underwater


== genetics ==
== genetics ==
This component is used by goat and pandas.
This component is used by goat and pandas.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|list|GeneArray}}
**{{MC/Nbt|list|GeneArray}}
***{{nbt|compound}}: A gene pair
***{{MC/Nbt|compound}}: A gene pair
****{{nbt|int|HiddenAllele}}: the hidden allele.{{more info}}
****{{MC/Nbt|int|HiddenAllele}}: the hidden allele.{{MC/More info}}
****{{nbt|int|MainAllele}}: the main allele.{{more info}}
****{{MC/Nbt|int|MainAllele}}: the main allele.{{MC/More info}}


== home ==
== home ==
This component is used by bees, elder guardians, guardians, piglin brutes, and turtles.
This component is used by bees, elder guardians, guardians, piglin brutes, and turtles.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|list|HomePos}}: The position of the entity's home.
**{{MC/Nbt|list|HomePos}}: The position of the entity's home.
***{{nbt|float}}: X
***{{MC/Nbt|float}}: X
***{{nbt|float}}: Y
***{{MC/Nbt|float}}: Y
***{{nbt|float}}: Z
***{{MC/Nbt|float}}: Z
**{{nbt|int|HomeDimensionId}}: The dimension where the entity's home is.
**{{MC/Nbt|int|HomeDimensionId}}: The dimension where the entity's home is.


== insomnia ==
== insomnia ==
This component is only used by players.
This component is only used by players.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|int|TimeSinceRest}}: The time in ticks since last rest.
**{{MC/Nbt|int|TimeSinceRest}}: The time in ticks since last rest.


== trade_table ==
== trade_table ==
This component is used by old villagers.
This component is used by old villagers.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|int|sizeOfTradeFirstTimeVector}}: Unknown
**{{MC/Nbt|int|sizeOfTradeFirstTimeVector}}: Unknown
**{{nbt|int|FirstTimeTrade}}: (May not exist) Unknown
**{{MC/Nbt|int|FirstTimeTrade}}: (May not exist) Unknown
**{{nbt|int|TradeTier}}: Unknown
**{{MC/Nbt|int|TradeTier}}: Unknown
**{{nbt|int|Riches}}: Unknown
**{{MC/Nbt|int|Riches}}: Unknown
**{{nbt|byte|Willing}}: Unknown
**{{MC/Nbt|byte|Willing}}: Unknown
**{{nbt|list|Offers}}: (May not exist) Unknown
**{{MC/Nbt|list|Offers}}: (May not exist) Unknown


== tamemount ==
== tamemount ==
This component is used by horses, donkeys, mules, and llamas.
This component is used by horses, donkeys, mules, and llamas.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|int|Temper}}: Random number that ranges from 0 to 100; increases with feeding or trying to tame it. Higher values make a horse easier to tame.
**{{MC/Nbt|int|Temper}}: Random number that ranges from 0 to 100; increases with feeding or trying to tame it. Higher values make a horse easier to tame.


== npc ==
== npc ==
This component is only used by NPCs.
This component is only used by NPCs.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|string|RawtextName}}: (May not exist) The name.{{more info}}
**{{MC/Nbt|string|RawtextName}}: (May not exist) The name.{{MC/More info}}
**{{nbt|string|InteractiveText}}: (May not exist) The interactive text.{{more info}}
**{{MC/Nbt|string|InteractiveText}}: (May not exist) The interactive text.{{MC/More info}}
**{{nbt|string|Actions}}: (May not exist) The actions.{{more info}}
**{{MC/Nbt|string|Actions}}: (May not exist) The actions.{{MC/More info}}
**{{nbt|list|PlayerSceneMapping}}: (May not exist) Unknown
**{{MC/Nbt|list|PlayerSceneMapping}}: (May not exist) Unknown
***{{nbt|compound}}: A key-value pair.
***{{MC/Nbt|compound}}: A key-value pair.
****{{nbt|long|PlayerID}}: A player's Unique ID.
****{{MC/Nbt|long|PlayerID}}: A player's Unique ID.
****{{nbt|string|SceneName}}: Unknown
****{{MC/Nbt|string|SceneName}}: Unknown


== projectile ==
== projectile ==
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|long|TargetID}}: Optional. The {{nbt|long|UniqueID}} of the entity which the projectile was launched to.
**{{MC/Nbt|long|TargetID}}: Optional. The {{MC/Nbt|long|UniqueID}} of the entity which the projectile was launched to.
**{{nbt|list|StuckToBlockPos}}: Unknown.
**{{MC/Nbt|list|StuckToBlockPos}}: Unknown.
***{{nbt|int}}: X
***{{MC/Nbt|int}}: X
***{{nbt|int}}: Y
***{{MC/Nbt|int}}: Y
***{{nbt|int}}: Z
***{{MC/Nbt|int}}: Z
**{{nbt|list|CollisionPos}}: Unknown.
**{{MC/Nbt|list|CollisionPos}}: Unknown.
***{{nbt|float}}: X
***{{MC/Nbt|float}}: X
***{{nbt|float}}: Y
***{{MC/Nbt|float}}: Y
***{{nbt|float}}: Z
***{{MC/Nbt|float}}: Z


== spawn_entity ==
== spawn_entity ==
This component is used by chickens and wandering traders.
This component is used by chickens and wandering traders.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|list|entries}}
**{{MC/Nbt|list|entries}}
***{{nbt|compound}}: An entry.
***{{MC/Nbt|compound}}: An entry.
****{{nbt|int|SpawnTimer}}: Unknown
****{{MC/Nbt|int|SpawnTimer}}: Unknown
****{{nbt|byte|StopSpawning}}: Unknown
****{{MC/Nbt|byte|StopSpawning}}: Unknown


== timer ==
== timer ==
This component is used by bees, boats, guardians, hoglins, husks, piglins, piglin brutes, players, pufferfish, ravagers, skeletons, wandering traders, and zombies.
This component is used by bees, boats, guardians, hoglins, husks, piglins, piglin brutes, players, pufferfish, ravagers, skeletons, wandering traders, and zombies.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|long|TimeStamp}}: Unknown
**{{MC/Nbt|long|TimeStamp}}: Unknown
**{{nbt|byte|HasExecuted}}: Unknown
**{{MC/Nbt|byte|HasExecuted}}: Unknown
**{{nbt|int|CountTime}}: Deprecated. Unknown
**{{MC/Nbt|int|CountTime}}: Deprecated. Unknown


== trade_resupply ==
== trade_resupply ==
This component is only used by villagers.
This component is only used by villagers.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|byte|HasResupplied}}: Unknown
**{{MC/Nbt|byte|HasResupplied}}: Unknown


== trust ==
== trust ==
This component is only used by foxes.
This component is only used by foxes.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|int|TrustedPlayersAmount}}: The number of players who are trusted by this entity.
**{{MC/Nbt|int|TrustedPlayersAmount}}: The number of players who are trusted by this entity.
**{{nbt|long|TrustedPlayer<''num''>}}: A player's Unique ID. Note that <num> counts from 0.
**{{MC/Nbt|long|TrustedPlayer<''num''>}}: A player's Unique ID. Note that <num> counts from 0.


== CommandBlockComponent ==
== CommandBlockComponent ==
This component may be not accessable with [[Minecraft:Add-on|Behavior Pack]]. But it is used by activated [[Minecraft:Minecart with Command Block]]
This component may be not accessable with [[Minecraft:Add-on|Behavior Pack]]. But it is used by activated [[Minecraft:Minecart with Command Block]]
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|byte|Ticking}}: Unknown
**{{MC/Nbt|byte|Ticking}}: Unknown
**{{nbt|int|CurrentTickCount}}: Number of ticks until it executes the command again.
**{{MC/Nbt|int|CurrentTickCount}}: Number of ticks until it executes the command again.


== FogCommandComponent ==
== FogCommandComponent ==
This component may be not accessable with [[Minecraft:Add-on|Behavior Pack]]. But it is used by player entity.
This component may be not accessable with [[Minecraft:Add-on|Behavior Pack]]. But it is used by player entity.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|list|fogCommandStack}}: Unknown.
**{{MC/Nbt|list|fogCommandStack}}: Unknown.
***{{nbt|string}}: Unknown.
***{{MC/Nbt|string}}: Unknown.


== FreezingComponent ==
== FreezingComponent ==
This component may be not accessable with [[Minecraft:Add-on|Behavior Pack]].<!-- But it is used by idk-->
This component may be not accessable with [[Minecraft:Add-on|Behavior Pack]].<!-- But it is used by idk-->
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|float|FreezingEffectStrength}}: (May not exist) Unknown
**{{MC/Nbt|float|FreezingEffectStrength}}: (May not exist) Unknown


==PropertyComponent==
==PropertyComponent==
This component may be not accessable with [[Minecraft:Add-on|Behavior Pack]].<!-- But it is used by idk-->
This component may be not accessable with [[Minecraft:Add-on|Behavior Pack]].<!-- But it is used by idk-->
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|compound|properties}}: (May not exist) The entity <code>properties</code>.
**{{MC/Nbt|compound|properties}}: (May not exist) The entity <code>properties</code>.


== hide ==
== hide ==
This component is only used by villagers.
This component is only used by villagers.
* {{nbt|compound}}: The entity's root tag.
* {{MC/Nbt|compound}}: The entity's root tag.
**{{nbt|byte|IsInRaid}}: Unknown
**{{MC/Nbt|byte|IsInRaid}}: Unknown
**{{nbt|byte|ReactToBell}}: Unknown
**{{MC/Nbt|byte|ReactToBell}}: Unknown
</div>
</div>


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

Latest revision as of 19:51, 9 April 2026

Script error: No such module "Exclusive".

This page lists the unique NBT tags for entities that have a certain component.

economy_trade_table

This component is used by villagers and wandering traders.

ageable

This component is used by baby axolotls, bees, cats, chickens, cows, dolphins, donkeys, foxes, goats, hoglins, horses, llamas, mooshrooms, mules, ocelots, pandas, pigs, polar bears, rabbits, sheep, skeleton horses, sniffers, striders, tadpoles, turtles, villagers, wolves, and zombie horses.

  • Template:Nbt/sprite: The entity's root tag.
    • Template:Nbt/sprite Age: Represents the age of the entity in ticks; when negative, the entity is a baby. When 0, the entity becomes an adult.
    • Template:Nbt/sprite GrowthPaused‌: 1 or 0 (true/false) - if true and the mob is a baby, the mob will not age naturally and cannot be fed.

balloon

This component is used by allays, bees, chickens, cows, donkeys, foxes, glow squids, horses, iron golems, llamas, mooshrooms, mules, pandas, pigs, rabbits, sheep, skeleton horses, snow golems, and zombie horses.

breathable

This component is used by axolotls, bats, bees, cats, cave spiders, chickens, cows, creepers, dolphins, donkeys, drowned, elder guardians, endermen, endermites, evokers, fish, foxes, frogs, ghasts, glow squids, goats, guardians, hoglins, horses, husks, llamas, magma cubes, mooshrooms, mules, ocelots, pandas, parrots, phantoms, piglins, piglin brutes, pillagers, pigs, players, polar bears, pufferfish, rabbits, ravagers, salmon, sheep, shulkers, silverfish, skeletons, skeleton horses, slimes, sniffers, snow golems, tropical fish, spiders, squids, sea turtles, strays, villagers, vindicators, wardens, wandering traders, withers, wither skeletons, tadpoles, witches, wolves, zombies, zoglins, zombie horses, zombified piglins, and zombie villagers.

breedable

This component is used by axolotls, bees, cats, chickens, cows, dolphins, donkeys, foxes, goats, hoglins, horses, llamas, mooshrooms, mules, ocelots, pandas, pigs, polar bears, rabbits, sheep, skeleton horses, sniffers, striders, tadpoles, turtles, villagers, wolves, and zombie horses.

bribeable

This component is only used by dolphins.

inventory

This component is used by minecarts with chest, minecarts with command block, minecarts with hopper, horses, donkeys, llamas, mules, pandas, and villagers.

damage_over_time

This component is used by axolotls and dolphins.

drying_out_timer

This component is used by axolotls and dolphins.

dweller

This component is used by cats, iron golems, villagers, evokers, pillagers, ravagers, vindicators, and witches. These mobs are classified into "roles" in the component, with cats being "passive", iron golems being "defenders", evokers, pillagers, ravagers, vindicators, and witches being "hostile", and villagers being "inhabitants".

explode

This component is used by TNT, minecarts with TNT, creepers, ghast fireballs, end crystals, and wither skulls.

genetics

This component is used by goat and pandas.

  1. REDIRECT Template:Info needed

Template:Redr

  1. REDIRECT Template:Info needed

Template:Redr

home

This component is used by bees, elder guardians, guardians, piglin brutes, and turtles.

insomnia

This component is only used by players.

trade_table

This component is used by old villagers.

tamemount

This component is used by horses, donkeys, mules, and llamas.

  • Template:Nbt/sprite: The entity's root tag.
    • Template:Nbt/sprite Temper: Random number that ranges from 0 to 100; increases with feeding or trying to tame it. Higher values make a horse easier to tame.

npc

This component is only used by NPCs.

  1. REDIRECT Template:Info needed

Template:Redr

  1. REDIRECT Template:Info needed

Template:Redr

  1. REDIRECT Template:Info needed

Template:Redr

projectile

spawn_entity

This component is used by chickens and wandering traders.

timer

This component is used by bees, boats, guardians, hoglins, husks, piglins, piglin brutes, players, pufferfish, ravagers, skeletons, wandering traders, and zombies.

trade_resupply

This component is only used by villagers.

trust

This component is only used by foxes.

CommandBlockComponent

This component may be not accessable with Behavior Pack. But it is used by activated Minecraft:Minecart with Command Block

FogCommandComponent

This component may be not accessable with Behavior Pack. But it is used by player entity.

FreezingComponent

This component may be not accessable with Behavior Pack.

PropertyComponent

This component may be not accessable with Behavior Pack.

hide

This component is only used by villagers.

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