Class PlotChangeOwnerEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.plot.changeowner.PlotChangeOwnerEvent
Direct Known Subclasses:
PlotClaimEvent, PlotPreClaimEvent, PlotPreUnclaimEvent, PlotUnclaimEvent

public abstract class PlotChangeOwnerEvent extends org.bukkit.event.Event
  • Constructor Details

    • PlotChangeOwnerEvent

      public PlotChangeOwnerEvent(@Nullable @Nullable Resident oldResident, @Nullable @Nullable Resident newResident, @NotNull @NotNull TownBlock townBlock)
  • Method Details

    • getOldResident

      @Nullable public @Nullable Resident getOldResident()
    • getNewResident

      @Nullable public @Nullable Resident getNewResident()
    • getTownBlock

      @NotNull public @NotNull TownBlock getTownBlock()
    • 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()