Class StargateListPortalEvent


public class StargateListPortalEvent extends DeniableStargatePortalEvent
  • Constructor Details

    • StargateListPortalEvent

      public StargateListPortalEvent(@NotNull @NotNull Portal portal, org.bukkit.entity.Entity entity, Portal listedPortal, boolean deny)
      Instantiates a new stargate event
      Parameters:
      portal -

      The portal involved in this stargate event

  • Method Details

    • getListedPortal

      public Portal getListedPortal()
      Returns:

      The portal that will be listed

    • getHandlerList

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

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