Interface EventBus.EventHandler<T extends IModEvent>

Type Parameters:
T - the generic type of the event class.
Enclosing interface:
EventBus
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface EventBus.EventHandler<T extends IModEvent>
The event handler lambda definition.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(T event)
     
  • Method Details

    • apply

      void apply(@NotNull T event)