Minecraft:Family: Difference between revisions
From SAS Gaming Wiki
More actions
imported>NRPAN1 |
Sync: updated from Minecraft |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
{{exclusive|bedrock}} | {{exclusive|bedrock}} | ||
A '''family''', or '''entity family''', is a unique technical label for {{el|be}}, which specifies the family to which an [[Minecraft:entity]] belongs. Families are defined by the [https://learn.microsoft.com/en-us/minecraft/creator/reference/content/entityreference/examples/entitycomponents/minecraftcomponent_type_family <code>minecraft:type_family</code>] component in the entities' behavior files. These labels are used for target selection in [[Minecraft:Target_selectors#Selecting_targets_by_family|commands]] and entity behaviors. <!-- Do not link the [[Minecraft:Target selector]] page to the term ‘target selection,’ because that page only covers usage in commands. --> | A '''family''', or '''entity family''', is a unique technical label for {{el|be}}, which specifies the family to which an [[Minecraft:entity]] belongs. Families are defined by the [https://learn.microsoft.com/en-us/minecraft/creator/reference/content/entityreference/examples/entitycomponents/minecraftcomponent_type_family <code>minecraft:type_family</code>] component in the entities' behavior files. This component is necessary to give the mob the ability to ride. These labels are used for target selection in [[Minecraft:Target_selectors#Selecting_targets_by_family|commands]] and entity behaviors. <!-- Do not link the [[Minecraft:Target selector]] page to the term ‘target selection,’ because that page only covers usage in commands. --> | ||
== List of families == | == List of families == | ||
| Line 9: | Line 9: | ||
! style="min-width: 20em;" | Explanation | ! style="min-width: 20em;" | Explanation | ||
! Entity in the family | ! Entity in the family | ||
|- | |||
| <code>actor</code> | |||
| - | |||
| | |||
* {{EntityLink|Cushion}} | |||
|- | |- | ||
| <code>adult_piglin</code> | | <code>adult_piglin</code> | ||
| | | A tag applied to adult piglins, but is only applied to piglin brutes for an unknown reason. | ||
| | | | ||
* {{EntityLink|Piglin Brute}} | * {{EntityLink|Piglin Brute}} | ||
| Line 21: | Line 26: | ||
|- | |- | ||
| <code>animal</code> | | <code>animal</code> | ||
| A tag applied to animal mobs. Due to a bug, this family tag is only applied to goats.<ref>{{bug|MCPE-233650||"animal" family entity type is missing all animals but goats}}</ref> | | A tag applied to animal mobs. Due to a bug, this family tag is only applied to goats and as well as sulfur cubes.<ref>{{bug|MCPE-233650||"animal" family entity type is missing all animals but goats}}</ref> | ||
| | | | ||
* {{EntityLink|Goat}} | * {{EntityLink|Goat}} | ||
* {{EntityLink|Sulfur Cube}} | |||
|- | |- | ||
| <code>armadillo</code> | | <code>armadillo</code> | ||
| Line 84: | Line 90: | ||
| A tag applied to baby [[Minecraft:piglins]]. | | A tag applied to baby [[Minecraft:piglins]]. | ||
| | | | ||
* {{EntityLink|Piglin}} | * {{EntityLink|Baby Piglin}} | ||
|- | |- | ||
| <code>baby_turtle</code> | | <code>baby_turtle</code> | ||
| A tag applied to baby [[Minecraft:turtles]]. | | A tag applied to baby [[Minecraft:turtles]]. | ||
| | | | ||
* {{EntityLink|Turtle}} | * {{EntityLink|Baby Turtle}} | ||
|- | |- | ||
| <code>baby_undead</code> | | <code>baby_undead</code> | ||
| A tag applied to baby zombie variants. | | A tag applied to baby zombie variants. | ||
| | |||
* {{EntityLink|Gurgle}} | |||
* {{EntityLink|Baby Husk}} | |||
* {{EntityLink|Baby Zombie}} | |||
* {{EntityLink|Baby Zombie Villager}}<ref>Note: {{cd|baby_undead}} only applies to baby zombie villagers transformed from baby villagers, or when spawned using the {{cd|minecraft:entity_born}} or {{cd|minecraft:as_baby}} [[Minecraft:spawn event]]s, not ones that have naturally spawned. See {{slink|Zombie Villager|Mounts}}. Also see {{bug|MCPE-234690}} and {{bug|MCPE-234691}}.</ref> | |||
* {{EntityLink|Baby Zombified Piglin}} | |||
|- | |||
| <code>baby_zombie_pigman</code> | |||
| A tag applied to baby zombified piglins. | |||
| | | | ||
* {{EntityLink| | * {{EntityLink|Baby Zombified Piglin}} | ||
|- | |- | ||
| <code>bat</code> | | <code>bat</code> | ||
| Line 111: | Line 122: | ||
|- | |- | ||
| <code>blacksmith</code> | | <code>blacksmith</code> | ||
| A tag applied to [[Minecraft:villagers]] with the [[Minecraft:armorer]], [[Minecraft:toolsmith]], | | A tag applied to [[Minecraft:villagers]] with the [[Minecraft:armorer]], [[Minecraft:toolsmith]], or [[Minecraft:weaponsmith]] profession. | ||
| | | | ||
* {{EntityLink|Old Villager}} | * {{EntityLink|Old Villager}} | ||
| Line 242: | Line 253: | ||
|- | |- | ||
| <code>evocation_illager</code> | | <code>evocation_illager</code> | ||
| A tag applied to | | A tag applied to [[Minecraft:evoker]]s. | ||
| | | | ||
* {{EntityLink|Evoker}} | * {{EntityLink|Evoker}} | ||
| Line 326: | Line 337: | ||
| A tag applied to baby [[Minecraft:hoglins]]. | | A tag applied to baby [[Minecraft:hoglins]]. | ||
| | | | ||
* {{EntityLink|Hoglin}} | * {{EntityLink|Baby Hoglin}} | ||
|- | |- | ||
| <code>hoglin_huntable</code> | | <code>hoglin_huntable</code> | ||
| Line 361: | Line 372: | ||
* {{EntityLink|Boat}} | * {{EntityLink|Boat}} | ||
* {{EntityLink|id=boat-with-chest|Chest Boat}} | * {{EntityLink|id=boat-with-chest|Chest Boat}} | ||
* {{EntityLink|Cushion}} | |||
* {{EntityLink|Minecart}} | * {{EntityLink|Minecart}} | ||
* {{EntityLink|Minecart with Chest}} | * {{EntityLink|Minecart with Chest}} | ||
| Line 394: | Line 406: | ||
| | | | ||
* {{EntityLink|Lightning Bolt}} | * {{EntityLink|Lightning Bolt}} | ||
|- | |- | ||
| <code>llama</code> | | <code>llama</code> | ||
| Line 493: | Line 497: | ||
* {{EntityLink|Stray}} | * {{EntityLink|Stray}} | ||
* {{EntityLink|Strider}} | * {{EntityLink|Strider}} | ||
* {{EntityLink|Sulfur Cube}} | |||
* {{EntityLink|Tadpole}} | * {{EntityLink|Tadpole}} | ||
* {{EntityLink|Trader Llama}} | * {{EntityLink|Trader Llama}} | ||
| Line 510: | Line 515: | ||
* {{EntityLink|Zombie Horse}} | * {{EntityLink|Zombie Horse}} | ||
* {{EntityLink|Zombie Nautilus}} | * {{EntityLink|Zombie Nautilus}} | ||
* {{EntityLink|Zombie Villager}} | * {{EntityLink|Zombie Villager}} | ||
* 99.25% of {{EntityLink|Zombified Piglin|Zombified Piglins}}{{Note| See {{slink|Zombified Piglin|Mounting}}}} | |||
|- | |- | ||
| <code>monster</code> | | <code>monster</code> | ||
| Line 553: | Line 558: | ||
* {{EntityLink|Zombie}} | * {{EntityLink|Zombie}} | ||
* {{EntityLink|Zombie Nautilus}} | * {{EntityLink|Zombie Nautilus}} | ||
* {{EntityLink|Zombie Villager}} | * {{EntityLink|Zombie Villager}} | ||
* 99.25% of {{EntityLink|Zombified Piglin|Zombified Piglins}}{{Note| See {{slink|Zombified Piglin|Mounting}}}} | |||
|- | |- | ||
| <code>mule</code> | | <code>mule</code> | ||
| Line 668: | Line 673: | ||
* {{EntityLink|Old Villager}} | * {{EntityLink|Old Villager}} | ||
* {{EntityLink|Villager}} | * {{EntityLink|Villager}} | ||
|- | |||
| <code>projectile</code> | |||
| A tag applied to [[Minecraft:projectile]]s. | |||
| | |||
* {{EntityLink|Arrow}} | |||
* {{EntityLink|Bottle o' Enchanting}} | |||
* {{EntityLink|Wind Charge|Breeze Wind Charge}} | |||
* {{EntityLink|Dangerous Wither Skull}} | |||
* {{EntityLink|Dragon Fireball}} | |||
* {{EntityLink|Egg}} | |||
* {{EntityLink|Ender Pearl}} | |||
* {{EntityLink|Eye of Ender}} | |||
* {{EntityLink|Fireball}} | |||
* {{EntityLink|Firework Rocket}} | |||
* {{EntityLink|Lingering Potion}} | |||
* {{EntityLink|Llama Spit}} | |||
* {{EntityLink|Shulker Bullet}} | |||
* {{EntityLink|Small Fireball}} | |||
* {{EntityLink|Snowball}} | |||
* {{EntityLink|Splash Potion}} | |||
* {{EntityLink|Trident}} | |||
* {{EntityLink|Wind Charge}} | |||
* {{EntityLink|Wither Skull}} | |||
|- | |- | ||
| <code>pufferfish</code> | | <code>pufferfish</code> | ||
| Line 761: | Line 789: | ||
| <code>stray</code> | | <code>stray</code> | ||
| A tag applied to [[Minecraft:strays]]. | | A tag applied to [[Minecraft:strays]]. | ||
| | | | ||
* {{EntityLink| | * {{EntityLink|Stray}} | ||
|- | |- | ||
| <code>strider</code> | | <code>strider</code> | ||
| Line 777: | Line 805: | ||
| A tag applied to baby [[Minecraft:striders]]. | | A tag applied to baby [[Minecraft:striders]]. | ||
| | | | ||
* {{EntityLink|Strider}} | * {{EntityLink|Baby Strider}} | ||
|- | |||
| <code>sulfur_cube</code> | |||
| A tag applied to [[Minecraft:sulfur cube]]s. | |||
| | |||
* {{EntityLink|Sulfur Cube}} | |||
|- | |- | ||
| <code>tadpole</code> | | <code>tadpole</code> | ||
| Line 818: | Line 851: | ||
|- | |- | ||
| <code>undead</code> | | <code>undead</code> | ||
| A tag applied to mobs | | A tag applied to undead mobs. This allows the mob to be affected by the [[Minecraft:Smite]] enchantment, it also makes the mob immune to [[Minecraft:Regeneration]] and [[Minecraft:Poison]]. | ||
| | | | ||
* {{EntityLink|Bogged}} | * {{EntityLink|Bogged}} | ||
| Line 836: | Line 869: | ||
* {{EntityLink|Zombie Horse}} | * {{EntityLink|Zombie Horse}} | ||
* {{EntityLink|Zombie Nautilus}} | * {{EntityLink|Zombie Nautilus}} | ||
* {{EntityLink|Zombie Villager}} | * {{EntityLink|Zombie Villager}} | ||
* 99.25% of {{EntityLink|Zombified Piglin|Zombified Piglins}}{{Note| See {{slink|Zombified Piglin|Mounting}}}} | |||
|- | |- | ||
| <code>unskilled</code> | | <code>unskilled</code> | ||
| Line 923: | Line 956: | ||
| A tag applied to baby zoglins. | | A tag applied to baby zoglins. | ||
| | | | ||
* {{EntityLink|Zoglin}} | * {{EntityLink|Baby Zoglin}} | ||
|- | |- | ||
| <code>zombie</code> | | <code>zombie</code> | ||
| A tag applied to [[Minecraft:zombies]] and their variants. | | A tag applied to [[Minecraft:zombies]] and their variants. This family allows mobs to convert villagers to zombie villagers, be avoided by villagers, and make [[Minecraft:zombie horse]]s unleashable. | ||
| | | | ||
* {{EntityLink|Drowned}} | * {{EntityLink|Drowned}} | ||
| Line 940: | Line 973: | ||
|- | |- | ||
| <code>zombie_pigman</code> | | <code>zombie_pigman</code> | ||
| A tag applied to [[Minecraft:zombified piglins]]. | | A tag applied to adult unbroken [[Minecraft:zombified piglins]]. | ||
| | | | ||
* {{EntityLink|Zombified Piglin}} | * {{EntityLink|Zombified Piglin}} | ||
| Line 963: | Line 996: | ||
== See also == | == See also == | ||
* [[Minecraft:Tag (Bedrock Edition)]] | * [[Minecraft:Tag (Bedrock Edition)]] | ||
== Notes == | |||
{{notelist}} | |||
== References == | == References == | ||
{{Reflist}} | |||
== External links == | == External links == | ||
Latest revision as of 11:11, 7 October 2026
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
A family, or entity family, is a unique technical label for Template:El, which specifies the family to which an Minecraft:entity belongs. Families are defined by the minecraft:type_family component in the entities' behavior files. This component is necessary to give the mob the ability to ride. These labels are used for target selection in commands and entity behaviors.