75201d066c
By: md_5 <git@md-5.net>
56 lines
1.2 KiB
Java
56 lines
1.2 KiB
Java
package org.bukkit.entity;
|
|
|
|
/**
|
|
* Represents an Evoker.
|
|
*/
|
|
public interface Evoker extends Monster {
|
|
|
|
/**
|
|
* Represents the current spell the Evoker is using.
|
|
*
|
|
* @deprecated future versions of Minecraft have additional spell casting
|
|
* entities.
|
|
*/
|
|
@Deprecated
|
|
public enum Spell {
|
|
|
|
/**
|
|
* No spell is being evoked.
|
|
*/
|
|
NONE,
|
|
/**
|
|
* The spell that summons Vexes.
|
|
*/
|
|
SUMMON,
|
|
/**
|
|
* The spell that summons Fangs.
|
|
*/
|
|
FANGS,
|
|
/**
|
|
* The "wololo" spell.
|
|
*/
|
|
WOLOLO;
|
|
}
|
|
|
|
/**
|
|
* Gets the {@link Spell} the Evoker is currently using.
|
|
*
|
|
* @return the current spell
|
|
* @deprecated future versions of Minecraft have additional spell casting
|
|
* entities.
|
|
*
|
|
*/
|
|
@Deprecated
|
|
Spell getCurrentSpell();
|
|
|
|
/**
|
|
* Sets the {@link Spell} the Evoker is currently using.
|
|
*
|
|
* @param spell the spell the evoker should be using
|
|
* @deprecated future versions of Minecraft have additional spell casting
|
|
* entities.
|
|
*/
|
|
@Deprecated
|
|
void setCurrentSpell(Spell spell);
|
|
}
|