2019-03-06 06:46:21 +01:00
|
|
|
From 6772c9bcb0f4cad1a8f63120a2b266bd1b129a46 Mon Sep 17 00:00:00 2001
|
2018-10-07 05:31:21 +02:00
|
|
|
From: BillyGalbreath <Blake.Galbreath@GMail.com>
|
|
|
|
Date: Sat, 6 Oct 2018 21:47:09 -0500
|
|
|
|
Subject: [PATCH] Allow setting the vex's summoner
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Vex.java b/src/main/java/org/bukkit/entity/Vex.java
|
2019-03-06 06:46:21 +01:00
|
|
|
index 7b9b21e5..23a15f8f 100644
|
2018-10-07 05:31:21 +02:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Vex.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Vex.java
|
2019-03-06 06:46:21 +01:00
|
|
|
@@ -23,8 +23,19 @@ public interface Vex extends Monster {
|
2018-10-07 05:31:21 +02:00
|
|
|
*/
|
2019-03-06 06:46:21 +01:00
|
|
|
void setCharging(boolean charging);
|
|
|
|
|
2018-10-07 05:31:21 +02:00
|
|
|
+ // Paper start
|
2019-03-06 06:46:21 +01:00
|
|
|
/**
|
|
|
|
- * @return What Entity (most likely an Evoker, but not guaranteed) summoned this Vex
|
2018-10-07 05:31:21 +02:00
|
|
|
+ * Get the Mob that summoned this vex
|
|
|
|
+ *
|
|
|
|
+ * @return Mob that summoned this vex
|
|
|
|
+ */
|
|
|
|
+ Mob getSummoner();
|
2019-03-06 06:46:21 +01:00
|
|
|
+
|
2018-10-07 05:31:21 +02:00
|
|
|
+ /**
|
|
|
|
+ * Set the summoner of this vex
|
|
|
|
+ *
|
|
|
|
+ * @param summoner New summoner
|
2019-03-06 06:46:21 +01:00
|
|
|
*/
|
|
|
|
- Mob getSummoner(); // Paper
|
2018-10-07 05:31:21 +02:00
|
|
|
+ void setSummoner(Mob summoner);
|
|
|
|
+ // Paper end
|
|
|
|
}
|
|
|
|
--
|
2019-03-06 06:46:21 +01:00
|
|
|
2.21.0
|
2018-10-07 05:31:21 +02:00
|
|
|
|