Uses of Interface
com.velocitypowered.api.event.EventHandler
Packages that use EventHandler
Package
Description
Provides core support for handling events with Velocity.
-
Uses of EventHandler in com.velocitypowered.api.event
Subinterfaces of EventHandler in com.velocitypowered.api.eventModifier and TypeInterfaceDescriptioninterface
An event handler that returns anEventTask
to await on.Methods in com.velocitypowered.api.event with parameters of type EventHandlerModifier and TypeMethodDescription<E> void
EventManager.register
(Object plugin, Class<E> eventClass, short postOrder, EventHandler<E> handler) Requests that the specifiedhandler
listen for events and associate it with theplugin
.default <E> void
EventManager.register
(Object plugin, Class<E> eventClass, EventHandler<E> handler) Requests that the specifiedhandler
listen for events and associate it with theplugin
.<E> void
EventManager.register
(Object plugin, Class<E> eventClass, PostOrder postOrder, EventHandler<E> handler) Deprecated.<E> void
EventManager.unregister
(Object plugin, EventHandler<E> handler) Unregisters a specific event handler for a specific plugin.
EventManager.register(Object, Class, short, EventHandler)
instead