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

public class ResidentPreJailEvent extends CancellableTownyEvent
  • Constructor Details Link icon

    • ResidentPreJailEvent Link icon

      public ResidentPreJailEvent(Resident resident, Jail jail, int cell, int hours, double bail, JailReason reason)
  • Method Details Link icon

    • getResident Link icon

      public Resident getResident()
    • getJail Link icon

      public Jail getJail()
    • getJailTown Link icon

      public Town getJailTown()
    • getJailTownBlock Link icon

      public TownBlock getJailTownBlock()
    • getCell Link icon

      public int getCell()
    • getHours Link icon

      public int getHours()
    • getBail Link icon

      public double getBail()
    • getReason Link icon

      public JailReason getReason()
    • getHandlerList Link icon

      public static org.bukkit.event.HandlerList getHandlerList()
    • getHandlers Link icon

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event