From 75201d066c026d7b1a5dffa53a32f6cf88a1ba5d Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 21 Apr 2017 16:46:16 +1000 Subject: [PATCH] Deprecate Evoker spell methods in preparation for 1.12 By: md_5 --- paper-api/src/main/java/org/bukkit/entity/Evoker.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/entity/Evoker.java b/paper-api/src/main/java/org/bukkit/entity/Evoker.java index 9d5930134f..45101ea2cb 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Evoker.java +++ b/paper-api/src/main/java/org/bukkit/entity/Evoker.java @@ -7,7 +7,11 @@ public interface Evoker extends Monster { /** * Represents the current spell the Evoker is using. + * + * @deprecated future versions of Minecraft have additional spell casting + * entities. */ + @Deprecated public enum Spell { /** @@ -32,13 +36,20 @@ public interface Evoker extends Monster { * Gets the {@link Spell} the Evoker is currently using. * * @return the current spell + * @deprecated future versions of Minecraft have additional spell casting + * entities. + * */ + @Deprecated Spell getCurrentSpell(); /** * Sets the {@link Spell} the Evoker is currently using. * * @param spell the spell the evoker should be using + * @deprecated future versions of Minecraft have additional spell casting + * entities. */ + @Deprecated void setCurrentSpell(Spell spell); }