Allow setting the vex's summoner
This commit is contained in:
@@ -73,4 +73,21 @@ public interface Vex extends Monster {
|
|||||||
* @return true if the entity has limited life
|
* @return true if the entity has limited life
|
||||||
*/
|
*/
|
||||||
boolean hasLimitedLife();
|
boolean hasLimitedLife();
|
||||||
|
// Paper start
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the Mob that summoned this vex
|
||||||
|
*
|
||||||
|
* @return Mob that summoned this vex
|
||||||
|
*/
|
||||||
|
@Nullable
|
||||||
|
Mob getSummoner();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the summoner of this vex
|
||||||
|
*
|
||||||
|
* @param summoner New summoner
|
||||||
|
*/
|
||||||
|
void setSummoner(@Nullable Mob summoner);
|
||||||
|
// Paper end
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user