Class SuddenDeathDragonTargetEvent

java.lang.Object
org.bukkit.event.Event
me.metallicgoat.tweaksaddon.api.events.gentiers.SuddenDeathDragonTargetEvent
All Implemented Interfaces:
ArenaEvent, Cancellable

public class SuddenDeathDragonTargetEvent extends Event implements ArenaEvent, Cancellable
  • Constructor Details

    • SuddenDeathDragonTargetEvent

      public SuddenDeathDragonTargetEvent(Arena arena, SuddenDeathDragon dragon, @Nullable @Nullable Entity targetEntity, Location targetLocation, Location previousTargetLocation, Entity previousTargetEntity, boolean previouslyTargetingEntity)
  • Method Details

    • setTargetEntity

      public void setTargetEntity(Entity targetEntity)
      Change the entity which the dragon is targeting NOTE: The entity must be in the same world as the dragon
      Parameters:
      targetEntity - to target
    • setTargetLocation

      public void setTargetLocation(Location targetLocation)
      Change the location which the dragon is targeting NOTE: The location must be in the same world as the dragon
      Parameters:
      targetLocation - to target
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()