diff options
author | md_5 <git@md-5.net> | 2017-10-09 18:17:33 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-10-09 18:17:33 +1100 |
commit | dcc4266e331ab53697ba0f56dc3027d2d691cf88 (patch) | |
tree | 64b99c4da0904e1ba66ac20557ce3fb57dc0e7d1 /src/main/java | |
parent | 4f16bdbabbad82b6130b19bcc0a4621dee83e86e (diff) | |
download | bukkit-dcc4266e331ab53697ba0f56dc3027d2d691cf88.tar bukkit-dcc4266e331ab53697ba0f56dc3027d2d691cf88.tar.gz bukkit-dcc4266e331ab53697ba0f56dc3027d2d691cf88.tar.lz bukkit-dcc4266e331ab53697ba0f56dc3027d2d691cf88.tar.xz bukkit-dcc4266e331ab53697ba0f56dc3027d2d691cf88.zip |
SPIGOT-3604: Deprecate unused professions
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/entity/Villager.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/Villager.java b/src/main/java/org/bukkit/entity/Villager.java index 8fc69da0..151c2aaf 100644 --- a/src/main/java/org/bukkit/entity/Villager.java +++ b/src/main/java/org/bukkit/entity/Villager.java @@ -58,7 +58,9 @@ public interface Villager extends Ageable, NPC, InventoryHolder, Merchant { public enum Profession { /** * Normal. <b>Reserved for Zombies.</b> + * @deprecated Unused */ + @Deprecated NORMAL(true), /** * Farmer profession. Wears a brown robe. @@ -86,7 +88,9 @@ public interface Villager extends Ageable, NPC, InventoryHolder, Merchant { NITWIT(false), /** * Husk. <b>Reserved for Zombies</b> + * @deprecated Unused */ + @Deprecated HUSK(true); 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. * * @return zombie profession status + * @deprecated Unused */ + @Deprecated public boolean isZombie() { return zombie; } |