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

    • ResidentPreJailEvent

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

    • getResident

      public Resident getResident()
    • getJail

      public Jail getJail()
    • getJailTown

      public Town getJailTown()
    • getJailTownBlock

      public TownBlock getJailTownBlock()
    • getCell

      public int getCell()
    • getHours

      public int getHours()
    • getBail

      public double getBail()
    • getReason

      public JailReason getReason()
    • getHandlerList

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

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