Files
DeltaZern/paper-api/src/main/java/org/bukkit/entity/Evoker.java
T
2017-04-21 16:46:16 +10:00

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);
}