Class UnjailedResidentTeleportEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.teleport.UnjailedResidentTeleportEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class UnjailedResidentTeleportEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionUnjailedResidentTeleportEvent
(Resident resident, org.bukkit.Location location) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
org.bukkit.Location
boolean
void
setCancelled
(boolean cancelled) void
setLocation
(org.bukkit.Location location) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
UnjailedResidentTeleportEvent
-
-
Method Details
-
getResident
-
getLocation
public org.bukkit.Location getLocation() -
setLocation
public void setLocation(org.bukkit.Location location) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-