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:
Bukkit/Spigot
2016-08-12 18:22:33 +10:00
parent e74f8f6b5e
commit 24f6f4f05c
4 changed files with 21 additions and 1 deletions
@@ -6,13 +6,17 @@ public interface Guardian extends Monster {
* Check if the Guardian is an elder Guardian
*
* @return true if the Guardian is an Elder Guardian, false if not
* @deprecated Entity subtypes will be separate entities in a future Minecraft release
*/
@Deprecated
public boolean isElder();
/**
* Set the Guardian to an elder Guardian or not
*
* @param shouldBeElder True if this Guardian should be a elder Guardian, false if not
* @deprecated Entity subtypes will be separate entities in a future Minecraft release
*/
@Deprecated
public void setElder(boolean shouldBeElder);
}