minecraft:type_family for you with a switch.Get GodCraftOverview
minecraft:type_family is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Gives the entity one or more family names that filters and other components use to recognize it. For example, add "monster" so iron golems attack it.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
family | List | none | The family names this entity belongs to. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:type_family": {
"family": {}
}
}