[SPIGOT-3604] Deprecate villager professions normal and husk Created: 08/Oct/17  Updated: 09/Oct/17  Resolved: 09/Oct/17

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Stef van Schie Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: spigot


 Description   

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.



 Comments   
Comment by md_5 [ 09/Oct/17 ]

The javadoc already does implicitly deprecated them btw

Generated at Tue Apr 22 06:49:52 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.