Class StargatePortalEvent

java.lang.Object
org.bukkit.event.Event
org.sgrewritten.stargate.api.event.portal.StargatePortalEvent
Direct Known Subclasses:
CancellableStargatePortalEvent, StargateCreatePortalEvent, StargateDeactivatePortalEvent, StargateEntityPortalEvent, StargatePortalLoadEvent, StargateSignDyeChangePortalEvent, StargateSignFormatPortalEvent

public abstract class StargatePortalEvent extends org.bukkit.event.Event
An abstract event describing any stargate event
  • Nested Class Summary

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

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

    Modifier and Type
    Method
    Description
    Gets the portal involved in this stargate event

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, getHandlers, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • getPortal

      public Portal getPortal()
      Gets the portal involved in this stargate event
      Returns:

      The portal involved in this stargate event