mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-3604: Deprecate unused professions
By: md_5 <git@md-5.net>
This commit is contained in:
parent
28dfa926fd
commit
cb18bb3d6f
1 changed files with 6 additions and 0 deletions
|
@ -58,7 +58,9 @@ public interface Villager extends Ageable, NPC, InventoryHolder, Merchant {
|
||||||
public enum Profession {
|
public enum Profession {
|
||||||
/**
|
/**
|
||||||
* Normal. <b>Reserved for Zombies.</b>
|
* Normal. <b>Reserved for Zombies.</b>
|
||||||
|
* @deprecated Unused
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
NORMAL(true),
|
NORMAL(true),
|
||||||
/**
|
/**
|
||||||
* Farmer profession. Wears a brown robe.
|
* Farmer profession. Wears a brown robe.
|
||||||
|
@ -86,7 +88,9 @@ public interface Villager extends Ageable, NPC, InventoryHolder, Merchant {
|
||||||
NITWIT(false),
|
NITWIT(false),
|
||||||
/**
|
/**
|
||||||
* Husk. <b>Reserved for Zombies</b>
|
* Husk. <b>Reserved for Zombies</b>
|
||||||
|
* @deprecated Unused
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
HUSK(true);
|
HUSK(true);
|
||||||
private final boolean zombie;
|
private final boolean zombie;
|
||||||
|
|
||||||
|
@ -98,7 +102,9 @@ public interface Villager extends Ageable, NPC, InventoryHolder, Merchant {
|
||||||
* Returns if this profession can only be used by zombies.
|
* Returns if this profession can only be used by zombies.
|
||||||
*
|
*
|
||||||
* @return zombie profession status
|
* @return zombie profession status
|
||||||
|
* @deprecated Unused
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public boolean isZombie() {
|
public boolean isZombie() {
|
||||||
return zombie;
|
return zombie;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue