Uses of Class
org.geysermc.geyser.event.handlers.LambdaEventHandler
Package
Description
-
Uses of LambdaEventHandler in org.geysermc.geyser.event
Modifier and TypeMethodDescription<T extends GeyserEvent>
LambdaEventHandler<T>EventManager.on(Class<T> cls, BiConsumer<T,EventHandler<T>> consumer)
<T extends GeyserEvent>
LambdaEventHandler<T>Create a new EventHandler using a Lambda -
Uses of LambdaEventHandler in org.geysermc.geyser.event.handlers
Modifier and TypeMethodDescriptionLambdaEventHandler.ignoreCancelled(boolean ignoreCancelled)
Set if the handler should ignore cancelled events Defaults to TrueLambdaEventHandler.priority(int priority)
Set the Event Priority Defaults to PRIORTY.NORMAL (50) -
Uses of LambdaEventHandler in org.geysermc.geyser.extension.handlers
Modifier and TypeClassDescriptionclass
ExtensionLambdaEventHandler<T extends GeyserEvent>
Provides a lambda event handler for a extension.