From ed4de91ce14776b268c13b40d31e75e477fb96c5 Mon Sep 17 00:00:00 2001 From: Aikar Date: Wed, 4 Jul 2018 15:29:21 -0400 Subject: [PATCH] Vex#getSummoner API Get's the Mob that summoned this Vex diff --git a/src/main/java/org/bukkit/entity/Vex.java b/src/main/java/org/bukkit/entity/Vex.java index 6b61c4ab..7b9b21e5 100644 --- a/src/main/java/org/bukkit/entity/Vex.java +++ b/src/main/java/org/bukkit/entity/Vex.java @@ -22,4 +22,9 @@ public interface Vex extends Monster { * @param charging new state */ void setCharging(boolean charging); + + /** + * @return What Entity (most likely an Evoker, but not guaranteed) summoned this Vex + */ + Mob getSummoner(); // Paper } -- 2.21.0