Interface CastCommandData

All Known Implementing Classes:
CastCommandDataHolder

public interface CastCommandData
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the player is currently casting a spell via the cast command.
    void
    startCastingContinuousSpell(Spell spell, SpellModifiers modifiers, int duration)
    Starts casting the given spell with the given modifiers.
    void
    Stops casting the current spell.
    void
    Casts the current continuous spell, fires relevant events and updates the castCommandTick field.
  • Method Details

    • startCastingContinuousSpell

      void startCastingContinuousSpell(Spell spell, SpellModifiers modifiers, int duration)
      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.