mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Allow setting the vex's summoner
This commit is contained in:
parent
6d3de60244
commit
aa4a072807
1 changed files with 17 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue