Add more Evoker API

This commit is contained in:
BillyGalbreath 2020-08-23 15:22:44 +02:00
parent 52ec2a9db1
commit a3e3ba54a0

View file

@ -64,4 +64,19 @@ public interface Evoker extends Spellcaster {
*/
@Deprecated(since = "1.11.2")
void setCurrentSpell(@Nullable Spell spell);
// Paper start
/**
* @return the sheep being targeted by the {@link Spell#WOLOLO wololo spell}, or {@code null} if none
*/
@Nullable
Sheep getWololoTarget();
/**
* Set the sheep to be the target of the {@link Spell#WOLOLO wololo spell}, or {@code null} to clear.
*
* @param sheep new wololo target
*/
void setWololoTarget(@Nullable Sheep sheep);
// Paper end
}