Class StargateEntityPortalEvent

java.lang.Object
org.bukkit.event.Event
org.sgrewritten.stargate.api.event.portal.StargatePortalEvent
org.sgrewritten.stargate.api.event.portal.StargateEntityPortalEvent
Direct Known Subclasses:
DeniableStargatePortalEvent, StargateActivatePortalEvent, StargateOpenPortalEvent, StargateTeleportPortalEvent

public abstract class StargateEntityPortalEvent extends StargatePortalEvent
An abstract event describing any stargate event where a player is involved
  • 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
    org.bukkit.entity.Entity
    Gets the entity involved in this event

    Methods inherited from class org.sgrewritten.stargate.api.event.portal.StargatePortalEvent

    getPortal

    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

    • getEntity

      public org.bukkit.entity.Entity getEntity()
      Gets the entity involved in this event
      Returns:

      The entity involved in this event