13
0
geforkt von Mirrors/Paper

Add more Evoker API

Dieser Commit ist enthalten in:
BillyGalbreath 2020-08-23 15:22:44 +02:00
Ursprung 52ec2a9db1
Commit a3e3ba54a0

Datei anzeigen

@ -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
}