Interface TEvent<T>


public interface TEvent<T>
An event system implementation inspired by and similar to dev.architectury.event's implementation.

The reason for this implementation is customization and avoiding dependencies.
See Also:
  • Method Details

    • invoker

      T invoker()
    • register

      boolean register(T listener)
    • unregister

      boolean unregister(T listener)
    • isRegistered

      boolean isRegistered(T listener)
    • clearListeners

      void clearListeners()