Interface TEvent<T>
public interface TEvent<T>
An event system implementation inspired by and similar to
The reason for this implementation is customization and avoiding dependencies.
dev.architectury.event
's implementation.The reason for this implementation is customization and avoiding dependencies.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
invoker()
boolean
isRegistered
(T listener) boolean
boolean
unregister
(T listener)
-
Method Details
-
invoker
T invoker() -
register
-
unregister
-
isRegistered
-
clearListeners
void clearListeners()
-