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

Deprecate villager professions normal and husk

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None

      Currently the Villager.Professionhttps://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Villager.Profession.html#NORMAL class has two values which seem to be unused: NORMAL and HUSK. Husks are currently different entities and therefore aren't a villager profession. Normal seems to be used for zombie villagers/zombies, but both entities are currently two different ones (as the methods relating to villager professions in the Zombie class are deprecated) and zombie villagers and villagers require a profession which means that normal wouldn't be possible.

       

      My suggestion is to deprecate those two fields as they don't seem to serve a purpose anymore.

            Unassigned Unassigned
            stefvanschie Stef van Schie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: