Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5036

Villager#setProfession() doesn't work as expected

XMLWordPrintable

    • git-Spigot-baafee9-0fc6922
    • Yes

      The method Villager#setProfession() sets the villager's profession but it's appearance won't change and he won't offer any trades even if you add some by using Villager#setRecipes().

      This could happen because a villager needs a "working block" in order to change it's profession "naturally". By setting the profession using the method Villager#setProfession() he won't get this block, so his appearance won't change and he won't generate (or accept manually added)  offers.

            Unassigned Unassigned
            kit0kat Nico Hofmann
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: