Class FunctionEvent<T>

java.lang.Object
org.bukkit.event.Event
ch.njol.skript.lang.function.FunctionEvent<T>

public final class FunctionEvent<T> extends org.bukkit.event.Event
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
    FunctionEvent​(Function<? extends T> function)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Function<? extends T>
     
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • FunctionEvent

      public FunctionEvent(Function<? extends T> function)
  • Method Details

    • getFunction

      public Function<? extends T> getFunction()
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

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