Class SuddenDeathDragonTargetEvent
java.lang.Object
org.bukkit.event.Event
me.metallicgoat.tweaksaddon.api.events.gentiers.SuddenDeathDragonTargetEvent
- All Implemented Interfaces:
ArenaEvent,Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionSuddenDeathDragonTargetEvent(Arena arena, SuddenDeathDragon dragon, @Nullable Entity targetEntity, Location targetLocation, Location previousTargetLocation, Entity previousTargetEntity, boolean previouslyTargetingEntity) -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListvoidsetTargetEntity(Entity targetEntity) Change the entity which the dragon is targeting NOTE: The entity must be in the same world as the dragonvoidsetTargetLocation(Location targetLocation) Change the location which the dragon is targeting NOTE: The location must be in the same world as the dragonMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronousMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.marcely.bedwars.api.event.arena.ArenaEvent
getArenaMethods inherited from interface org.bukkit.event.Cancellable
isCancelled, setCancelled
-
Constructor Details
-
SuddenDeathDragonTargetEvent
-
-
Method Details
-
setTargetEntity
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
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
- Specified by:
getHandlersin classEvent
-
getHandlerList
-