Class EventDispatcher

java.lang.Object
net.minestom.server.event.EventDispatcher

public final class EventDispatcher extends Object
  • Constructor Details

    • EventDispatcher

      public EventDispatcher()
  • Method Details

    • call

      public static void call(@NotNull @NotNull Event event)
    • getHandle

      public static <E extends Event> ListenerHandle<E> getHandle(@NotNull @NotNull Class<E> handleType)
    • callCancellable

      public static void callCancellable(@NotNull @NotNull CancellableEvent event, @NotNull @NotNull Runnable successCallback)