Class ResidentPreJailEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.resident.ResidentPreJailEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionResidentPreJailEvent
(Resident resident, Jail jail, int cell, int hours, double bail, JailReason reason) -
Method Summary
Methods inherited from class com.palmergames.bukkit.towny.event.CancellableTownyEvent
getCancelMessage, isCancelled, setCancelled, setCancelMessage
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
ResidentPreJailEvent
public ResidentPreJailEvent(Resident resident, Jail jail, int cell, int hours, double bail, JailReason reason)
-
-
Method Details
-
getResident
-
getJail
-
getJailTown
-
getJailTownBlock
-
getCell
public int getCell() -
getHours
public int getHours() -
getBail
public double getBail() -
getReason
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-