java.lang.Object
net.neoforged.bus.api.Event
Base Event class that all other events are derived from.
Note on abstract events
Listeners cannot be registered to an abstract event class.
Note on abstract events
Listeners cannot be registered to an abstract event class.
This is useful for classes that extend Event with more data and methods,
but should never be listened to directly.
For example, an event with Pre and Post subclasses might want to
be declared as abstract to prevent user accidentally listening to both.
All the parents of abstract event classes until Event must also be abstract.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Event
protected Event()
-