Class ExtensionMethodEventHandler<T extends GeyserEvent>
java.lang.Object
org.geysermc.geyser.event.handlers.EventHandler<T>
org.geysermc.geyser.event.handlers.MethodEventHandler<T>
org.geysermc.geyser.extension.handlers.ExtensionMethodEventHandler<T>
- All Implemented Interfaces:
Comparable<EventHandler<T>>
,Comparator<EventHandler<T>>
Provides a method event handler for a extension.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.geysermc.geyser.event.handlers.EventHandler
EventHandler.EventHandlerException, EventHandler.Priority
-
Constructor Summary
ConstructorDescriptionExtensionMethodEventHandler(GeyserExtension extension, Object handlerClass, Method method)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Unregister ourselfMethods inherited from class org.geysermc.geyser.event.handlers.MethodEventHandler
execute, getHandlerClass, getMethod, getPriority, isIgnoreCancelled
Methods inherited from class org.geysermc.geyser.event.handlers.EventHandler
compare, compareTo, getEventClass, getManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ExtensionMethodEventHandler
-
-
Method Details
-
unregister
public void unregister()Description copied from class:EventHandler
Unregister ourself- Overrides:
unregister
in classEventHandler<T extends GeyserEvent>
-
getExtension
-