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 org.bukkit.event
Modifier and TypeMethodDescriptionvoid
HandlerList.unregister
(Listener listener) Remove a specific listener from this handlerstatic void
HandlerList.unregisterAll
(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 TypeMethodDescriptionMap
<Class<? extends Event>, Set<RegisteredListener>> PluginLoader.createRegisteredListeners
(Listener listener, Plugin plugin) Creates and returns registered listeners for the event classes used in this listenervoid
void
PluginManager.registerEvent
(Class<? extends Event> event, Listener listener, EventPriority priority, EventExecutor executor, Plugin plugin) Registers the specified executor to the given event classvoid
PluginManager.registerEvent
(Class<? extends Event> event, Listener listener, EventPriority priority, EventExecutor executor, Plugin plugin, boolean ignoreCancelled) Registers the specified executor to the given event classvoid
SimplePluginManager.registerEvent
(Class<? extends Event> event, Listener listener, EventPriority priority, EventExecutor executor, Plugin plugin) void
SimplePluginManager.registerEvent
(Class<? extends Event> event, Listener listener, EventPriority priority, EventExecutor executor, Plugin plugin, boolean ignoreCancelled) Registers the given event to the specified listener using a directly passed EventExecutorvoid
PluginManager.registerEvents
(Listener listener, Plugin plugin) Registers all the events in the given listener classvoid
SimplePluginManager.registerEvents
(Listener listener, Plugin plugin) ModifierConstructorDescriptionRegisteredListener
(Listener listener, EventExecutor executor, EventPriority priority, Plugin plugin, boolean ignoreCancelled) TimedRegisteredListener
(Listener pluginListener, EventExecutor eventExecutor, EventPriority eventPriority, Plugin registeredPlugin, boolean listenCancelled) -
Uses of Listener in org.bukkit.plugin.java
Modifier and TypeMethodDescriptionMap
<Class<? extends Event>, Set<RegisteredListener>> JavaPluginLoader.createRegisteredListeners
(Listener listener, Plugin plugin)