mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
39 lines
1.0 KiB
Diff
39 lines
1.0 KiB
Diff
From c2c0ee0dfa314e6df207e32e2bfd9516e9efa0f6 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
|
|
|