Class RegionNameUpdateEvent

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

public class RegionNameUpdateEvent extends APIEvent
Fired when a region's name is changed. Contains the old and new names.
  • Constructor Details

    • RegionNameUpdateEvent

      public RegionNameUpdateEvent(@NotNull @NotNull Region region, @NotNull @NotNull String oldName, @NotNull @NotNull String newName)
  • Method Details

    • getRegion

      @NotNull public @NotNull Region getRegion()
    • getOldName

      @NotNull public @NotNull String getOldName()
    • getNewName

      @NotNull public @NotNull String getNewName()
    • getHandlerList

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

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