Class OutlawTeleportEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.teleport.OutlawTeleportEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class OutlawTeleportEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
  • Constructor Details

    • OutlawTeleportEvent

      public OutlawTeleportEvent(Resident outlaw, Town town, org.bukkit.Location loc)
  • Method Details

    • getHandlers

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

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

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getOutlaw

      public Resident getOutlaw()
    • getTown

      public Town getTown()
    • getOutlawTownOrNull

      @Nullable public @Nullable Town getOutlawTownOrNull()
    • getOutlawLocation

      public org.bukkit.Location getOutlawLocation()