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
  • 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()