From a3e3ba54a0a4d43c6d5813e509466e4f178bceaa Mon Sep 17 00:00:00 2001 From: BillyGalbreath Date: Sun, 23 Aug 2020 15:22:44 +0200 Subject: [PATCH] Add more Evoker API --- .../src/main/java/org/bukkit/entity/Evoker.java | 15 +++++++++++++++ 1 file changed, 15 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 e9fffd8967..a0a46e6e11 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Evoker.java +++ b/paper-api/src/main/java/org/bukkit/entity/Evoker.java @@ -64,4 +64,19 @@ public interface Evoker extends Spellcaster { */ @Deprecated(since = "1.11.2") void setCurrentSpell(@Nullable Spell spell); + + // Paper start + /** + * @return the sheep being targeted by the {@link Spell#WOLOLO wololo spell}, or {@code null} if none + */ + @Nullable + Sheep getWololoTarget(); + + /** + * Set the sheep to be the target of the {@link Spell#WOLOLO wololo spell}, or {@code null} to clear. + * + * @param sheep new wololo target + */ + void setWololoTarget(@Nullable Sheep sheep); + // Paper end }