Interface SpellCasterEntity
public interface SpellCasterEntity
Marks a class as an entity that can cast spells.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetIsCastingSpell(boolean isCastingSpell) Sets whether this entity is currently casting a spell or not.
-
Method Details
-
canCastSpell
boolean canCastSpell()- Returns:
- Whether this entity can currently cast a spell or not.
-
isCastingSpell
boolean isCastingSpell()- Returns:
- Whether this entity is currently casting a spell or not.
-
setIsCastingSpell
void setIsCastingSpell(boolean isCastingSpell) Sets whether this entity is currently casting a spell or not.- Parameters:
isCastingSpell- Whether this entity is currently casting a spell or not.
-