Package org.geysermc.geyser.api.event
Interface EventRegistrar
- All Known Subinterfaces:
Extension
public interface EventRegistrar
Represents an owner for an event that allows it
to be registered through an
EventBus.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic @NonNull EventRegistrarCreates anEventRegistrarinstance.
-
Method Details
-
of
Creates anEventRegistrarinstance.- Parameters:
object- the object to wrap around- Returns:
- an event registrar instance
-