Skip to content

Latest commit

 

History

History
151 lines (133 loc) · 8.22 KB

File metadata and controls

151 lines (133 loc) · 8.22 KB
author ms.author title description ms.service
iconicNurdle
mikeam
Entity Documentation - minecraft:type_family
A reference document detailing the 'type_family' entity component
minecraft-bedrock-edition

Entity Documentation - minecraft:type_family

minecraft:type_family defines the families this entity belongs to.

Parameters

Name Default Value Type Description
family not set List List of family names.

Example

"minecraft:type_family":{
    "family":[ "villager", "blacksmith", "armorer", "mob"]
}

Vanilla entities examples

armor_stand

"minecraft:type_family": {
        "family": [ "armor_stand", "inanimate", "mob" ]
}

hopper_minecraft

"minecraft:type_family": {
        "family": [ "minecart", "inanimate" ]
}

skeleton

"minecraft:type_family": {
        "family": [ "skeleton", "undead", "monster", "mob" ]
}

villager_v2

Note

In the villager_v2 example, the entity has been set up in different roles such as farmer and fisherman. Below is taken from farmer

"farmer": {
        "minecraft:type_family": {
          "family": [ "villager", "peasant", "farmer", "mob" ]
    }

Vanilla entities using minecraft:type_family