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 TypeInterfaceDescriptioninterfaceAn event handler that returns anEventTaskto await on.Methods in com.velocitypowered.api.event with parameters of type EventHandlerModifier and TypeMethodDescription<E> voidEventManager.register(Object plugin, Class<E> eventClass, short postOrder, EventHandler<E> handler) Requests that the specifiedhandlerlisten for events and associate it with theplugin.default <E> voidEventManager.register(Object plugin, Class<E> eventClass, EventHandler<E> handler) Requests that the specifiedhandlerlisten for events and associate it with theplugin.<E> voidEventManager.register(Object plugin, Class<E> eventClass, PostOrder postOrder, EventHandler<E> handler) Deprecated.<E> voidEventManager.unregister(Object plugin, EventHandler<E> handler) Unregisters a specific event handler for a specific plugin.
EventManager.register(Object, Class, short, EventHandler)instead