Interface SuddenDeathDragon


public interface SuddenDeathDragon
Represents a Sudden Death Dragon spawned by the Gen Tier system.
  • Method Details

    • getDragon

      EnderDragon getDragon()
      The Bukkit entity used to power this dragon
      Returns:
      a Bukkit EnderDragon
    • getArena

      Arena getArena()
      The arena which this Dragon is active in
      Returns:
      the Arena the Dragon is playing in
    • getTeam

      Team getTeam()
      The Dragon's Team
      Returns:
      The team the dragon is playing for
    • getDragonTargetLocation

      Location getDragonTargetLocation()
      The location the dragon is currently targeting
      Returns:
      the dragons taget location
    • setDragonTarget

      void setDragonTarget(Location location)
      Change the location the Dragon is targeting
      Parameters:
      location - where the dragon should target
    • setDragonTarget

      void setDragonTarget(Entity entity)
      Change the entity which the Dragon is targeting
      Parameters:
      entity - who the dragon should target
    • remove

      void remove()
      Removes this dragon anf ends the corresponding tasks
    • exists

      boolean exists()
      Check if this dragon is still active
      Returns:
      true if the dragon is still active, false otherwise