fabric-api-base
/
net.fabricmc.fabric.api.event
/
Event
Event
public abstract class
Event
<T>
Content copied to clipboard
Base class for Event implementations.
Functions
Parameters
Sources
See also
See also
net.fabricmc.fabric.api.event.EventFactory
Parameters
<T>
The listener type.
Functions
invoker
Link copied to clipboard
final
T
invoker
()
Content copied to clipboard
Returns the invoker instance.
register
Link copied to clipboard
abstract void
register
(
T
listener)
Content copied to clipboard
Register a listener to the event.
Sources
jvm source
Link copied to clipboard