Uses of Interface
org.bukkit.event.Listener
Package | Description |
---|---|
org.bukkit.event |
Classes dedicated to handling triggered code executions.
|
org.bukkit.plugin |
Classes specifically relating to loading software modules at runtime.
|
org.bukkit.plugin.java |
Classes for handling
plugins written in
java. |
-
Uses of Listener in org.bukkit.event
Methods in org.bukkit.event with parameters of type Listener Modifier and Type Method Description void
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
Methods in org.bukkit.plugin that return Listener Modifier and Type Method Description Listener
RegisteredListener. getListener()
Gets the listener for this registrationMethods in org.bukkit.plugin with parameters of type Listener Modifier and Type Method Description Map<Class<? extends Event>,Set<RegisteredListener>>
PluginLoader. createRegisteredListeners(Listener listener, Plugin plugin)
Creates and returns registered listeners for the event classes used in this listenervoid
EventExecutor. execute(Listener listener, Event event)
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)
Constructors in org.bukkit.plugin with parameters of type Listener Constructor Description RegisteredListener(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
Methods in org.bukkit.plugin.java with parameters of type Listener Modifier and Type Method Description Map<Class<? extends Event>,Set<RegisteredListener>>
JavaPluginLoader. createRegisteredListeners(Listener listener, Plugin plugin)