Allow setting the vex's summoner

This commit is contained in:
BillyGalbreath 2018-10-06 21:47:09 -05:00
parent 6d3de60244
commit aa4a072807

View file

@ -73,4 +73,21 @@ public interface Vex extends Monster {
* @return true if the entity has limited life
*/
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
}