Files
Purpur/patches/api/0019-Add-more-evoker-API.patch
William Blake Galbreath dd928e3864 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
8d036cea Expose the internal current tick
0c715390 [PATCH] bounding box check for hanging entities (#2664)
527073aa Update config version
0d3b35c3 Rename baby zombie movement config option
2019-10-31 13:51:33 -05:00

39 lines
1.1 KiB
Diff

From d39d81493739e7454eaa6d595e207971ed2bb086 Mon Sep 17 00:00:00 2001
From: William Blake Galbreath <blake.galbreath@gmail.com>
Date: Sat, 19 Oct 2019 00:28:53 -0500
Subject: [PATCH] Add more evoker API
---
src/main/java/org/bukkit/entity/Evoker.java | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/src/main/java/org/bukkit/entity/Evoker.java b/src/main/java/org/bukkit/entity/Evoker.java
index f8d173adc..f2a03f7f8 100644
--- a/src/main/java/org/bukkit/entity/Evoker.java
+++ b/src/main/java/org/bukkit/entity/Evoker.java
@@ -64,4 +64,21 @@ public interface Evoker extends Spellcaster {
*/
@Deprecated
void setCurrentSpell(@Nullable Spell spell);
+
+ // Purpur start
+ /**
+ * Get the sheep being targeted by the Wololo spell
+ *
+ * @return Targeted sheep
+ */
+ @Nullable
+ Sheep getWololoTarget();
+
+ /**
+ * Set the sheep targeted by the Wololo spell
+ *
+ * @param sheep Sheep to target
+ */
+ void setWololoTarget(@Nullable Sheep sheep);
+ // Purpur end
}
--
2.24.0.rc1