Uses of Interface
org.bukkit.event.Listener
Package
Description
Classes dedicated to handling triggered code executions.
Classes specifically relating to loading software modules at runtime.
Classes for handling
plugins
written in
java.-
Uses of Listener in co.aikar.timings
-
Uses of Listener in com.destroystokyo.paper.event.executor
-
Uses of Listener in com.destroystokyo.paper.exception
Modifier and TypeMethodDescriptionServerEventException.getListener()
Gets the listener which threw the exceptionModifierConstructorDescriptionprotected
ServerEventException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin, Listener listener, Event event)
ServerEventException(String message, Throwable cause, Plugin responsiblePlugin, Listener listener, Event event)
ServerEventException(Throwable cause, Plugin responsiblePlugin, Listener listener, Event event)
-
Uses of Listener in org.bukkit.event
Modifier and TypeMethodDescriptionvoid
HandlerList.unregister(@NotNull Listener listener)
Remove a specific listener from this handlerstatic void
HandlerList.unregisterAll(@NotNull Listener listener)
Unregister a specific listener from all handler lists. -
Uses of Listener in org.bukkit.plugin
Modifier and TypeMethodDescriptionRegisteredListener.getListener()
Gets the listener for this registrationModifier and TypeMethodDescriptionPluginLoader.createRegisteredListeners(@NotNull Listener listener, @NotNull Plugin plugin)
Creates and returns registered listeners for the event classes used in this listenervoid
void
PluginManager.registerEvent(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin)
Registers the specified executor to the given event classvoid
PluginManager.registerEvent(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin, boolean ignoreCancelled)
Registers the specified executor to the given event classvoid
SimplePluginManager.registerEvent(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin)
void
SimplePluginManager.registerEvent(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin, boolean ignoreCancelled)
Registers the given event to the specified listener using a directly passed EventExecutorvoid
PluginManager.registerEvents(@NotNull Listener listener, @NotNull Plugin plugin)
Registers all the events in the given listener classvoid
SimplePluginManager.registerEvents(@NotNull Listener listener, @NotNull Plugin plugin)
ModifierConstructorDescriptionRegisteredListener(@NotNull Listener listener, @NotNull EventExecutor executor, @NotNull EventPriority priority, @NotNull Plugin plugin, boolean ignoreCancelled)
TimedRegisteredListener(@NotNull Listener pluginListener, @NotNull EventExecutor eventExecutor, @NotNull EventPriority eventPriority, @NotNull Plugin registeredPlugin, boolean listenCancelled)
-
Uses of Listener in org.bukkit.plugin.java