Bug Closed · Resolved

[BUG] Profession and Type options for Villagers do not work

#6477 opened by Unknown 1 year ago

Unknownreported this bug

Setting a profession for villagers does not work. A random profession is still assigned. The same issue is present for Type. https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/Mobs/Options

VillagerDefault:
  Template: Merchant_Base
  Type: VILLAGER
  Faction: TheEmeraldEmpire
  Display: '&aVillager'
  Disguise: VILLAGER setCustomName "&2✦ &aVillager"
  Health: 10
  Level: 1
  AIGoalSelectors:
    - clear
    - randomStroll
    - lookAtPlayers
    - lookAround
  Options:
    Profession: MASON
    Type: DESERT
  Drops:
    - money 100to200
Unknowncommented

It may be because of Lib's Disguises because it can override the mob's appearance. Try using additional params in the disguise options too. Also, a Villager's profession will change if it is at 0 trade xp.

Unknowncommented

I think that did it! May I suggest that the profession section notes that in addition to the Level section? I have never cared much for level so I skimmed it entirely

[Legacy attachment omitted] -> "If you want a villager to hold its profession, they must have a level of 2 or higher. See #https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/Mobs/Options#level"

Sign in to join the discussion.