Minecraft:Bedrock Edition level format/Entity format/Components: Difference between revisions
More actions
imported>Joaololpvp →ageable: These components only generate if it can grow. |
Fix template calls: add MC/ prefix |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|int|Riches}}: Unknown. | ||
**{{ | **{{MC/Nbt|compound|Offers}}: (May not exist) The trade info. | ||
***{{ | ***{{MC/Nbt|list|Recipes}}: The list of trade recipes. | ||
****{{ | ****{{MC/Nbt|compound}}: A recipe. | ||
*****{{ | *****{{MC/Nbt|compound|buyA}}: The first 'cost' item. | ||
******{{ | ******{{MC/Bedrock nbt|Item Stack|item}} | ||
*****{{ | *****{{MC/Nbt|compound|buyB}}: (May not exist) The second 'cost' item | ||
******{{ | ******{{MC/Bedrock nbt|Item Stack|item}} | ||
*****{{ | *****{{MC/Nbt|compound|sell}}: The item being sold for each set of cost items. | ||
******{{ | ******{{MC/Bedrock nbt|Item Stack|item}} | ||
*****{{ | *****{{MC/Nbt|int|tier}}: The tier that the trader needs to reach to access this recipe. | ||
*****{{ | *****{{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. | ||
*****{{ | *****{{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}} | ||
*****{{ | *****{{MC/Nbt|int|traderExp}}: The trade experiences to be rewarded to this trader entity. | ||
*****{{ | *****{{MC/Nbt|byte|rewardExp}}: 1 or 0 (true/false) - true if this trade provides XP orb drops. | ||
*****{{ | *****{{MC/Nbt|int|demand}}: The price adjuster of the first 'cost' item based on demand. Updated when a villager resupply. | ||
*****{{ | *****{{MC/Nbt|int|buyCountA}}: The count needed for the first 'cost' item. | ||
*****{{ | *****{{MC/Nbt|int|buyCountB}}: The count needed for the second 'cost' item. | ||
*****{{ | *****{{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. | ||
*****{{ | *****{{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. | ||
***{{ | ***{{MC/Nbt|list|TierExpRequirements}}: Trade experiences required to become each trade tier. | ||
****{{ | ****{{MC/Nbt|compound}}: A tier. | ||
*****{{ | *****{{MC/Nbt|int|<''tier_level_num''>}}: Trade xperiences required to become this tier. | ||
**{{ | **{{MC/Nbt|byte|ConvertedFromVillagerV1}}: (May not exist) Unknown. | ||
**{{ | **{{MC/Nbt|string|TradeTablePath}}: (May not exist) The path of the json file of the trade table. | ||
**{{ | **{{MC/Nbt|int|LowTierCuredDiscount}}: (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 | ||
**{{ | **{{MC/Nbt|int|NearbyCuredDiscount}}: (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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{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. | ||
** {{ | ** {{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|long|ballon_attached}}: The Unique ID of the attached entity. | ||
**{{ | **{{MC/Nbt|float|ballon_max_height}}: Max height. | ||
**{{ | **{{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{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}}. | ||
**{{ | **{{MC/Nbt|long|LoveCause}}: The Unique ID of the entity that caused this animal to breed. | ||
**{{ | **{{MC/Nbt|int|BreedCooldown}}: Unknown | ||
== bribeable == | == bribeable == | ||
This component is only used by dolphins. | This component is only used by dolphins. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|list|ChestItems}}: | ||
*** {{ | *** {{MC/Nbt|compound}}: An item in the inventory, including the slot tag. | ||
**** {{ | **** {{MC/Nbt|byte|Slot}}: The slot the item is in. | ||
**** {{ | **** {{MC/Bedrock nbt|Item Stack|item}} | ||
**{{ | **{{MC/Nbt|string|InventoryVersion}}: e.g. 1.17.20-beta23 | ||
**{{ | **{{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. | ||
**{{ | **{{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|long|CompleteTick}}: The time when this entity completely dries 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". | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|string|DwellingUniqueID}}: Unknown | ||
**{{ | **{{MC/Nbt|byte|RewardPlayersOnFirstFounding}}: 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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|byte|Fuse}}: (May not exist) Number of ticks before the explosion | ||
**{{ | **{{MC/Nbt|byte|IsFuseLit}}: (May not exist) Does the time before the explosion started decreasing | ||
**{{ | **{{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|list|GeneArray}} | ||
***{{ | ***{{MC/Nbt|compound}}: A gene pair | ||
****{{ | ****{{MC/Nbt|int|HiddenAllele}}: the hidden allele.{{MC/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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|list|HomePos}}: The position of the entity's home. | ||
***{{ | ***{{MC/Nbt|float}}: X | ||
***{{ | ***{{MC/Nbt|float}}: Y | ||
***{{ | ***{{MC/Nbt|float}}: Z | ||
**{{ | **{{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|int|sizeOfTradeFirstTimeVector}}: Unknown | ||
**{{ | **{{MC/Nbt|int|FirstTimeTrade}}: (May not exist) Unknown | ||
**{{ | **{{MC/Nbt|int|TradeTier}}: Unknown | ||
**{{ | **{{MC/Nbt|int|Riches}}: Unknown | ||
**{{ | **{{MC/Nbt|byte|Willing}}: 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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|string|RawtextName}}: (May not exist) The name.{{MC/More info}} | ||
**{{ | **{{MC/Nbt|string|InteractiveText}}: (May not exist) The interactive text.{{MC/More info}} | ||
**{{ | **{{MC/Nbt|string|Actions}}: (May not exist) The actions.{{MC/More info}} | ||
**{{ | **{{MC/Nbt|list|PlayerSceneMapping}}: (May not exist) Unknown | ||
***{{ | ***{{MC/Nbt|compound}}: A key-value pair. | ||
****{{ | ****{{MC/Nbt|long|PlayerID}}: A player's Unique ID. | ||
****{{ | ****{{MC/Nbt|string|SceneName}}: Unknown | ||
== projectile == | == projectile == | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|long|TargetID}}: Optional. The {{MC/Nbt|long|UniqueID}} of the entity which the projectile was launched to. | ||
**{{ | **{{MC/Nbt|list|StuckToBlockPos}}: Unknown. | ||
***{{ | ***{{MC/Nbt|int}}: X | ||
***{{ | ***{{MC/Nbt|int}}: Y | ||
***{{ | ***{{MC/Nbt|int}}: Z | ||
**{{ | **{{MC/Nbt|list|CollisionPos}}: Unknown. | ||
***{{ | ***{{MC/Nbt|float}}: X | ||
***{{ | ***{{MC/Nbt|float}}: Y | ||
***{{ | ***{{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|list|entries}} | ||
***{{ | ***{{MC/Nbt|compound}}: An entry. | ||
****{{ | ****{{MC/Nbt|int|SpawnTimer}}: 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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|long|TimeStamp}}: Unknown | ||
**{{ | **{{MC/Nbt|byte|HasExecuted}}: 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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|byte|HasResupplied}}: Unknown | ||
== trust == | == trust == | ||
This component is only used by foxes. | This component is only used by foxes. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|int|TrustedPlayersAmount}}: The number of players who are trusted by this entity. | ||
**{{ | **{{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]] | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|byte|Ticking}}: Unknown | ||
**{{ | **{{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|list|fogCommandStack}}: 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--> | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{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--> | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{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. | ||
* {{ | * {{MC/Nbt|compound}}: The entity's root tag. | ||
**{{ | **{{MC/Nbt|byte|IsInRaid}}: Unknown | ||
**{{ | **{{MC/Nbt|byte|ReactToBell}}: Unknown | ||
</div> | </div> | ||
pt:Formato de nível da Edição Bedrock/Formato de entidade/Componentes | |||
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.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite Riches: Unknown.
- Template:Nbt/sprite Offers: (May not exist) The trade info.
- Template:Nbt/sprite Recipes: The list of trade recipes.
- Template:Nbt/sprite: A recipe.
- Template:Nbt/sprite buyA: The first 'cost' item.
- Template:Nbt/sprite buyB: (May not exist) The second 'cost' item
- Template:Nbt/sprite sell: The item being sold for each set of cost items.
- Template:Nbt/sprite tier: The tier that the trader needs to reach to access this recipe.
- Template:Nbt/sprite uses: The number of times this trade has been used. The trade becomes disabled when this is greater or equal to maxUses.
- Template:Nbt/sprite 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></needs testing> - Template:Nbt/sprite traderExp: The trade experiences to be rewarded to this trader entity.
- Template:Nbt/sprite rewardExp: 1 or 0 (true/false) - true if this trade provides XP orb drops.
- Template:Nbt/sprite demand: The price adjuster of the first 'cost' item based on demand. Updated when a villager resupply.
- Template:Nbt/sprite buyCountA: The count needed for the first 'cost' item.
- Template:Nbt/sprite buyCountB: The count needed for the second 'cost' item.
- Template:Nbt/sprite priceMultiplierA: The multiplier on the demand and discount price adjuster; the final adjusted price is added to the first 'cost' item's price.
- Template:Nbt/sprite priceMultiplierB: The multiplier on the demand and discount price adjuster; the final adjusted price is added to the second 'cost' item's price.
- Template:Nbt/sprite: A recipe.
- Template:Nbt/sprite TierExpRequirements: Trade experiences required to become each trade tier.
- Template:Nbt/sprite: A tier.
- Template:Nbt/sprite <tier_level_num>: Trade xperiences required to become this tier.
- Template:Nbt/sprite: A tier.
- Template:Nbt/sprite Recipes: The list of trade recipes.
- Template:Nbt/sprite ConvertedFromVillagerV1: (May not exist) Unknown.
- Template:Nbt/sprite TradeTablePath: (May not exist) The path of the json file of the trade table.
- Template:Nbt/sprite LowTierCuredDiscount: (May not exist) The discount price adjuster gained by curing zombie villagers
- Template:Nbt/sprite HighTierCuredDiscount: (May not exist) The discount price adjuster gained by curing zombie villagers
- Template:Nbt/sprite NearbyCuredDiscount: (May not exist) The discount price adjuster gained by curing nearby zombie villagers
- Template:Nbt/sprite NearbyCuredDiscountTimeStamp: (May not exist) The discount price adjuster gained by curing nearby zombie villagers
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:
1or0(true/false) - iftrueand 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.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite ballon_attached: The Unique ID of the attached entity.
- Template:Nbt/sprite ballon_max_height: Max height.
- Template:Nbt/sprite ballon_should_drop: Unknown
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.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite Air: How much air the living entity has, in ticks.
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.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite 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></needs testing>. - Template:Nbt/sprite LoveCause: The Unique ID of the entity that caused this animal to breed.
- Template:Nbt/sprite BreedCooldown: Unknown
- Template:Nbt/sprite InLove: Number of ticks until the entity loses its breeding hearts and stops searching for a mate. 0 when not searching for a mate
bribeable
This component is only used by dolphins.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite BribeTime: Unknown
inventory
This component is used by minecarts with chest, minecarts with command block, minecarts with hopper, horses, donkeys, llamas, mules, pandas, and villagers.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite ChestItems:
- Template:Nbt/sprite: An item in the inventory, including the slot tag.
- Template:Nbt/sprite Slot: The slot the item is in.
- Template:Bedrock nbt/inherit
- Template:Nbt/sprite: An item in the inventory, including the slot tag.
- Template:Nbt/sprite InventoryVersion: e.g. 1.17.20-beta23
- Template:Nbt/sprite LootTable: Loot table to be used to fill the inventory when it is next opened, or the items are otherwise interacted with.
- Template:Nbt/sprite LootTableSeed: Seed for generating the loot table. 0 or omitted uses a random seed
<needs testing></needs testing>.
- Template:Nbt/sprite ChestItems:
damage_over_time
This component is used by axolotls and dolphins.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite DamageTime: Unknown
drying_out_timer
This component is used by axolotls and dolphins.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite CompleteTick: The time when this entity completely dries out.
- Template:Nbt/sprite State: Must be a boolean. 1 if it already dried out.
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".
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite DwellingUniqueID: Unknown
- Template:Nbt/sprite RewardPlayersOnFirstFounding: Unknown
- Template:Nbt/sprite PreferredProfession: (May not exist) Unknown
explode
This component is used by TNT, minecarts with TNT, creepers, ghast fireballs, end crystals, and wither skulls.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite Fuse: (May not exist) Number of ticks before the explosion
- Template:Nbt/sprite IsFuseLit: (May not exist) Does the time before the explosion started decreasing
- Template:Nbt/sprite AllowUnderwater: (May not exist) Explosion will cause damage to territory even underwater
genetics
This component is used by goat and pandas.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite GeneArray
- Template:Nbt/sprite: A gene pair
- Template:Nbt/sprite HiddenAllele: the hidden allele.
- Template:Nbt/sprite: A gene pair
- Template:Nbt/sprite GeneArray
- REDIRECT Template:Info needed
- Template:Nbt/sprite MainAllele: the main allele.
- REDIRECT Template:Info needed
home
This component is used by bees, elder guardians, guardians, piglin brutes, and turtles.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite HomePos: The position of the entity's home.
- Template:Nbt/sprite HomeDimensionId: The dimension where the entity's home is.
insomnia
This component is only used by players.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite TimeSinceRest: The time in ticks since last rest.
trade_table
This component is used by old villagers.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite sizeOfTradeFirstTimeVector: Unknown
- Template:Nbt/sprite FirstTimeTrade: (May not exist) Unknown
- Template:Nbt/sprite TradeTier: Unknown
- Template:Nbt/sprite Riches: Unknown
- Template:Nbt/sprite Willing: Unknown
- Template:Nbt/sprite Offers: (May not exist) Unknown
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.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite RawtextName: (May not exist) The name.
- REDIRECT Template:Info needed
- Template:Nbt/sprite InteractiveText: (May not exist) The interactive text.
- REDIRECT Template:Info needed
- Template:Nbt/sprite Actions: (May not exist) The actions.
- REDIRECT Template:Info needed
- Template:Nbt/sprite PlayerSceneMapping: (May not exist) Unknown
- Template:Nbt/sprite: A key-value pair.
- Template:Nbt/sprite PlayerID: A player's Unique ID.
- Template:Nbt/sprite SceneName: Unknown
- Template:Nbt/sprite: A key-value pair.
- Template:Nbt/sprite PlayerSceneMapping: (May not exist) Unknown
projectile
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite TargetID: Optional. The Template:Nbt/sprite UniqueID of the entity which the projectile was launched to.
- Template:Nbt/sprite StuckToBlockPos: Unknown.
- Template:Nbt/sprite CollisionPos: Unknown.
spawn_entity
This component is used by chickens and wandering traders.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite entries
- Template:Nbt/sprite: An entry.
- Template:Nbt/sprite SpawnTimer: Unknown
- Template:Nbt/sprite StopSpawning: Unknown
- Template:Nbt/sprite: An entry.
- Template:Nbt/sprite entries
timer
This component is used by bees, boats, guardians, hoglins, husks, piglins, piglin brutes, players, pufferfish, ravagers, skeletons, wandering traders, and zombies.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite TimeStamp: Unknown
- Template:Nbt/sprite HasExecuted: Unknown
- Template:Nbt/sprite CountTime: Deprecated. Unknown
trade_resupply
This component is only used by villagers.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite HasResupplied: Unknown
trust
This component is only used by foxes.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite TrustedPlayersAmount: The number of players who are trusted by this entity.
- Template:Nbt/sprite TrustedPlayer<num>: A player's Unique ID. Note that <num> counts from 0.
CommandBlockComponent
This component may be not accessable with Behavior Pack. But it is used by activated Minecraft:Minecart with Command Block
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite Ticking: Unknown
- Template:Nbt/sprite CurrentTickCount: Number of ticks until it executes the command again.
FogCommandComponent
This component may be not accessable with Behavior Pack. But it is used by player entity.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite fogCommandStack: Unknown.
- Template:Nbt/sprite: Unknown.
- Template:Nbt/sprite fogCommandStack: Unknown.
FreezingComponent
This component may be not accessable with Behavior Pack.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite FreezingEffectStrength: (May not exist) Unknown
PropertyComponent
This component may be not accessable with Behavior Pack.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite properties: (May not exist) The entity
properties.
- Template:Nbt/sprite properties: (May not exist) The entity
hide
This component is only used by villagers.
- Template:Nbt/sprite: The entity's root tag.
- Template:Nbt/sprite IsInRaid: Unknown
- Template:Nbt/sprite ReactToBell: Unknown
pt:Formato de nível da Edição Bedrock/Formato de entidade/Componentes zh:基岩版存档格式/实体格式/组件