Class AbstractProjectileExpireEvent<T extends CustomProjectile>

java.lang.Object
org.bukkit.event.Event
studio.magemonkey.fabled.api.event.AbstractProjectileExpireEvent<T>
Direct Known Subclasses:
ItemProjectileExpireEvent, ParticleProjectileExpireEvent

public abstract class AbstractProjectileExpireEvent<T extends CustomProjectile> extends org.bukkit.event.Event
  • Nested Class Summary

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

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

    Fields
    Modifier and Type
    Field
    Description
    protected static final org.bukkit.event.HandlerList
     
    protected final T
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Initializes a new event.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
    Bukkit method for taking care of the event handlers.
    org.bukkit.event.HandlerList
    Bukkit method for taking care of the event handlers.
    Retrieves the projectile

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • handlers

      protected static final org.bukkit.event.HandlerList handlers
    • projectile

      protected final T extends CustomProjectile projectile
  • Constructor Details

    • AbstractProjectileExpireEvent

      public AbstractProjectileExpireEvent(T projectile)

      Initializes a new event.

      Parameters:
      projectile - the projectile that hit something
  • Method Details

    • getProjectile

      public T getProjectile()

      Retrieves the projectile

      Returns:
      the projectile that hit something
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()

      Bukkit method for taking care of the event handlers.

      Specified by:
      getHandlers in class org.bukkit.event.Event
      Returns:
      list of event handlers
    • getHandlerList

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

      Bukkit method for taking care of the event handlers.

      Returns:
      list of event handlers