Package org.geysermc.geyser.api.event
Interface EventSubscriber<R extends EventRegistrar,T extends org.geysermc.event.Event>
- Type Parameters:
T- the class of the event
- All Superinterfaces:
org.geysermc.event.subscribe.OwnedSubscriber<R,T>,org.geysermc.event.subscribe.Subscriber<T>
public interface EventSubscriber<R extends EventRegistrar,T extends org.geysermc.event.Event>
extends org.geysermc.event.subscribe.OwnedSubscriber<R,T>
Represents a subscribed listener to a
Event. Wraps around
the event and is capable of unsubscribing from the event or give
information about it.-
Method Summary
Methods inherited from interface org.geysermc.event.subscribe.OwnedSubscriber
ownerMethods inherited from interface org.geysermc.event.subscribe.Subscriber
eventClass, ignoreCancelled, invoke, order