Interface CastCommandData
- All Known Implementing Classes:
CastCommandDataHolder
public interface CastCommandData
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the player is currently casting a spell via the cast command.voidstartCastingContinuousSpell(Spell spell, SpellModifiers modifiers, int duration) Starts casting the given spell with the given modifiers.voidStops casting the current spell.voidtick()Casts the current continuous spell, fires relevant events and updates the castCommandTick field.
-
Method Details
-
startCastingContinuousSpell
Starts casting the given spell with the given modifiers. -
stopCastingContinuousSpell
void stopCastingContinuousSpell()Stops casting the current spell. -
tick
void tick()Casts the current continuous spell, fires relevant events and updates the castCommandTick field. -
isCommandCasting
boolean isCommandCasting()Returns whether the player is currently casting a spell via the cast command.
-