Class StargateDestroyPortalEvent

All Implemented Interfaces:
org.bukkit.event.Cancellable

public class StargateDestroyPortalEvent extends CancellableStargatePortalEvent
  • Constructor Details

    • StargateDestroyPortalEvent

      public StargateDestroyPortalEvent(@NotNull @NotNull Portal portal, BlockEventType cause)
      Instantiates a new cancellable stargate event
      Parameters:
      portal -

      The portal involved in this stargate event

  • Method Details

    • getCause

      public BlockEventType getCause()
      Returns:

      The event that caused this portal destruction

    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Gets a handler-list containing all event handlers
      Returns:

      A handler-list with all event handlers

    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event