Class RegionDeletedEvent

java.lang.Object
org.bukkit.event.Event
me.fami6xx.rpuniverse.core.api.RegionDeletedEvent

public class RegionDeletedEvent extends org.bukkit.event.Event
Event that is called when a region is deleted.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new RegionDeletedEvent.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
    Gets the static handler list for this event.
    @NotNull org.bukkit.event.HandlerList
    Gets the list of handlers for this event.
    Gets the region that was deleted.

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RegionDeletedEvent

      public RegionDeletedEvent(Region region)
      Constructs a new RegionDeletedEvent.
      Parameters:
      region - the region that was deleted
  • Method Details

    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Gets the list of handlers for this event.
      Specified by:
      getHandlers in class org.bukkit.event.Event
      Returns:
      the list of handlers
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Gets the static handler list for this event.
      Returns:
      the static handler list
    • getRegion

      public Region getRegion()
      Gets the region that was deleted.
      Returns:
      the region