geforkt von Mirrors/Paper
Add additional APIs for Evoker / EvokerFangs
By: momothereal <momothereal.mc@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
3b75b77e6e
Commit
b57d05eeea
@ -3,4 +3,42 @@ package org.bukkit.entity;
|
|||||||
/**
|
/**
|
||||||
* Represents an Evoker.
|
* Represents an Evoker.
|
||||||
*/
|
*/
|
||||||
public interface Evoker extends Monster { }
|
public interface Evoker extends Monster {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents the current spell the Evoker is using.
|
||||||
|
*/
|
||||||
|
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
|
||||||
|
*/
|
||||||
|
Spell getCurrentSpell();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the {@link Spell} the Evoker is currently using.
|
||||||
|
*
|
||||||
|
* @param spell the spell the evoker should be using
|
||||||
|
*/
|
||||||
|
void setCurrentSpell(Spell spell);
|
||||||
|
}
|
||||||
|
@ -3,4 +3,19 @@ package org.bukkit.entity;
|
|||||||
/**
|
/**
|
||||||
* Represents Evoker Fangs.
|
* Represents Evoker Fangs.
|
||||||
*/
|
*/
|
||||||
public interface EvokerFangs extends Entity { }
|
public interface EvokerFangs extends Entity {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the {@link LivingEntity} which summoned the fangs.
|
||||||
|
*
|
||||||
|
* @return the {@link LivingEntity} which summoned the fangs
|
||||||
|
*/
|
||||||
|
LivingEntity getOwner();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the {@link LivingEntity} which summoned the fangs.
|
||||||
|
*
|
||||||
|
* @param owner the {@link LivingEntity} which summoned the fangs
|
||||||
|
*/
|
||||||
|
void setOwner(LivingEntity owner);
|
||||||
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren