mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
Add more Evoker API
This commit is contained in:
parent
52ec2a9db1
commit
a3e3ba54a0
1 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue