Clarify what the Villager.Profession enum can actually do.

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2016-06-09 12:20:59 +10:00
parent 7d3852dda8
commit 245a19e4af
2 changed files with 3 additions and 3 deletions

View file

@ -115,7 +115,7 @@ public interface Villager extends Ageable, NPC, InventoryHolder {
*/
public enum Profession {
/**
* Villager without a profession.
* Normal. <b>Reserved for Zombies.</b>
*/
NORMAL,
/**
@ -139,7 +139,7 @@ public interface Villager extends Ageable, NPC, InventoryHolder {
*/
BUTCHER,
/**
* Really a zombie.
* Husk. <b>Reserved for Zombies</b>
*/
HUSK;
}

View file

@ -30,7 +30,7 @@ public interface Zombie extends Monster {
* Sets whether the zombie is a villager
*
* @param flag Whether the zombie is a villager
* @deprecated Defaults to a basic villager
* @deprecated Defaults to a {@link Villager.Profession#NORMAL}
*/
@Deprecated
public void setVillager(boolean flag);