Uses of Class
org.geysermc.geyser.event.handlers.EventHandler
Package
Description
-
Uses of EventHandler in org.geysermc.geyser.event
Modifier and TypeMethodDescriptionMap<Object,ArrayList<EventHandler<?>>>
EventManager.getClassEventHandlers()
Map<Class<? extends GeyserEvent>,PriorityBlockingQueue<EventHandler<?>>>
EventManager.getEventHandlers()
Modifier and TypeMethodDescription<T extends GeyserEvent>
voidEventManager.register(EventHandler<T> handler)
Register an EventHandler<T extends GeyserEvent>
voidEventManager.unregister(EventHandler<T> handler)
Unregister an EventHandlerModifier and TypeMethodDescription<T extends GeyserEvent>
LambdaEventHandler<T>EventManager.on(Class<T> cls, BiConsumer<T,EventHandler<T>> consumer)
-
Uses of EventHandler in org.geysermc.geyser.event.handlers
Modifier and TypeClassDescriptionclass
LambdaEventHandler<T extends GeyserEvent>
Provides an event handler for an annotated methodclass
MethodEventHandler<T extends GeyserEvent>
Provides an event handler for an annotated methodModifier and TypeMethodDescriptionBiConsumer<T,EventHandler<T>>
LambdaEventHandler.getConsumer()
Modifier and TypeMethodDescriptionint
EventHandler.compare(EventHandler<T> left, EventHandler<T> right)
int
EventHandler.compareTo(EventHandler<T> other)
ModifierConstructorDescriptionLambdaEventHandler(EventManager manager, Class<T> cls, BiConsumer<T,EventHandler<T>> consumer)
-
Uses of EventHandler in org.geysermc.geyser.extension
Modifier and TypeMethodDescriptionList<EventHandler<?>>
GeyserExtension.getExtensionEventHandlers()
Modifier and TypeMethodDescription<T extends GeyserEvent>
voidGeyserExtension.register(EventHandler<T> handler)
Register an event handler<T extends GeyserEvent>
voidGeyserExtension.unregister(EventHandler<T> handler)
Unregister an event handlerModifier and TypeMethodDescription<T extends GeyserEvent>
ExtensionLambdaEventHandler<T>GeyserExtension.on(Class<T> cls, BiConsumer<T,EventHandler<T>> consumer)
-
Uses of EventHandler in org.geysermc.geyser.extension.handlers
Modifier and TypeClassDescriptionclass
ExtensionLambdaEventHandler<T extends GeyserEvent>
Provides a lambda event handler for a extension.class
ExtensionMethodEventHandler<T extends GeyserEvent>
Provides a method event handler for a extension.ModifierConstructorDescriptionExtensionLambdaEventHandler(GeyserExtension extension, Class<T> cls, BiConsumer<T,EventHandler<T>> consumer)