Class RegionDescriptionUpdateEvent

java.lang.Object
org.bukkit.event.Event
me.tayebyassine.homestead.api.events.APIEvent
me.tayebyassine.homestead.api.events.region.RegionDescriptionUpdateEvent

public class RegionDescriptionUpdateEvent extends APIEvent
Fired when a region's description is changed. Contains the old and new descriptions.
  • Constructor Details

    • RegionDescriptionUpdateEvent

      public RegionDescriptionUpdateEvent(@NotNull @NotNull Region region, @Nullable @Nullable String oldDescription, @Nullable @Nullable String newDescription)
  • Method Details

    • getRegion

      @NotNull public @NotNull Region getRegion()
    • getOldDescription

      @Nullable public @Nullable String getOldDescription()
    • getNewDescription

      @Nullable public @Nullable String getNewDescription()
    • getHandlerList

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

      public org.bukkit.event.HandlerList getHandlers()
      Overrides:
      getHandlers in class APIEvent