geforkt von Mirrors/Paper
Clarify what the Villager.Profession enum can actually do.
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
7d3852dda8
Commit
245a19e4af
@ -115,7 +115,7 @@ public interface Villager extends Ageable, NPC, InventoryHolder {
|
|||||||
*/
|
*/
|
||||||
public enum Profession {
|
public enum Profession {
|
||||||
/**
|
/**
|
||||||
* Villager without a profession.
|
* Normal. <b>Reserved for Zombies.</b>
|
||||||
*/
|
*/
|
||||||
NORMAL,
|
NORMAL,
|
||||||
/**
|
/**
|
||||||
@ -139,7 +139,7 @@ public interface Villager extends Ageable, NPC, InventoryHolder {
|
|||||||
*/
|
*/
|
||||||
BUTCHER,
|
BUTCHER,
|
||||||
/**
|
/**
|
||||||
* Really a zombie.
|
* Husk. <b>Reserved for Zombies</b>
|
||||||
*/
|
*/
|
||||||
HUSK;
|
HUSK;
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ public interface Zombie extends Monster {
|
|||||||
* Sets whether the zombie is a villager
|
* Sets whether the zombie is a villager
|
||||||
*
|
*
|
||||||
* @param flag 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
|
@Deprecated
|
||||||
public void setVillager(boolean flag);
|
public void setVillager(boolean flag);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren