Class PlayerRegionsEvent

java.lang.Object
org.bukkit.event.Event
com.guflimc.brick.regions.spigot.api.events.PlayerRegionsEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable
Direct Known Subclasses:
PlayerRegionsBlockEvent, PlayerRegionsContainerOpenEvent, PlayerRegionsEntityEvent

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

    • PlayerRegionsEvent

      public PlayerRegionsEvent(org.bukkit.entity.Player player, Collection<Region> regions)
  • Method Details

    • player

      public org.bukkit.entity.Player player()
    • regions

      public Collection<Region> regions()
    • isCancelled

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

      public void setCancelled(boolean cancel)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • 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()