Class RegionBorderEvent

java.lang.Object
org.bukkit.event.Event
ch.njol.skript.hooks.regions.events.RegionBorderEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

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

    • RegionBorderEvent

      public RegionBorderEvent(Region region, org.bukkit.entity.Player player, boolean enter)
  • Method Details

    • isEntering

      public boolean isEntering()
    • getRegion

      public Region getRegion()
    • getPlayer

      public org.bukkit.entity.Player getPlayer()
    • 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

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

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