mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Clarify what the Villager.Profession enum can actually do.
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7d3852dda8
commit
245a19e4af
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue