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

Please add an option to lock / unlock villager careers/professions

XMLWordPrintable

    • This server is running CraftBukkit version git-Spigot-47463c2-6de3aa1 (MC: 1.14) (Implementing API version 1.14-R0.1-SNAPSHOT)
    • Yes

      Currently villagers can change professions until traded with, could we please have a boolean value that can be checked in say the Merchant object?

       

      Example:    A unemployed villager encounters a lectern, he becomes a librarian.   If that villager trades with a player he becomes a librarian permanently unless he dies.    However; if the villager never trades with a player and the lectern is destroyed he reverts back to a normal villager, until he encounters a new workstation.

       

      Suggest adding a flag to the Merchant to lock in their profession which would prevent them from reverting, or if a Merchant IS locked in, clearing the flag would allow them to revert and change jobs.    This would also allow plugins to reset the villagers path without destroying the entity and spawning a new one (once it's locked in).

            Unassigned Unassigned
            whoolieshop Shane Martin
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: