Deprecate some methods which are likely to require changes in the future
Ref http://mojang.com/2016/08/minecraft-snapshot-16w32a/ By: md_5 <git@md-5.net>
This commit is contained in:
@@ -23,14 +23,16 @@ public interface Zombie extends Monster {
|
||||
* Gets whether the zombie is a villager
|
||||
*
|
||||
* @return Whether the zombie is a villager
|
||||
* @deprecated Entity subtypes will be separate entities in a future Minecraft release
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean isVillager();
|
||||
|
||||
/**
|
||||
* Sets whether the zombie is a villager
|
||||
*
|
||||
* @param flag Whether the zombie is a villager
|
||||
* @deprecated Defaults to a {@link Villager.Profession#NORMAL}
|
||||
* @deprecated Entity subtypes will be separate entities in a future Minecraft release
|
||||
*/
|
||||
@Deprecated
|
||||
public void setVillager(boolean flag);
|
||||
@@ -39,7 +41,9 @@ public interface Zombie extends Monster {
|
||||
* Sets whether the zombie is a villager
|
||||
*
|
||||
* @param profession the profession of the villager or null to clear
|
||||
* @deprecated Entity subtypes will be separate entities in a future Minecraft release
|
||||
*/
|
||||
@Deprecated
|
||||
public void setVillagerProfession(Villager.Profession profession);
|
||||
|
||||
/**
|
||||
@@ -47,6 +51,8 @@ public interface Zombie extends Monster {
|
||||
* zombie is a villager
|
||||
*
|
||||
* @return the profession or null
|
||||
* @deprecated Entity subtypes will be separate entities in a future Minecraft release
|
||||
*/
|
||||
@Deprecated
|
||||
public Villager.Profession getVillagerProfession();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user