Component_Dweller: {
    type: "compound";
    value: {
        DwellingUniqueID: { type: "string"; value: string };
        PreferredProfession?: { type: "string"; value: string };
        RewardPlayersOnFirstFounding: { type: "byte"; value: number };
    };
}

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".

Type declaration

  • type: "compound"
  • value: {
        DwellingUniqueID: { type: "string"; value: string };
        PreferredProfession?: { type: "string"; value: string };
        RewardPlayersOnFirstFounding: { type: "byte"; value: number };
    }
    • DwellingUniqueID: { type: "string"; value: string }

      UNDOCUMENTED.

    • OptionalPreferredProfession?: { type: "string"; value: string }

      (May not exist) UNDOCUMENTED.

    • RewardPlayersOnFirstFounding: { type: "byte"; value: number }

      UNDOCUMENTED.