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. |
Modifier and Type | Method | Description |
---|---|---|
void |
HandlerList.unregister(Listener listener) |
Remove a specific listener from this handler
|
static void |
HandlerList.unregisterAll(Listener listener) |
Unregister a specific listener from all handler lists.
|
Modifier and Type | Method | Description |
---|---|---|
Listener |
RegisteredListener.getListener() |
Gets the listener for this registration
|
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 listener
|
void |
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 class
|
void |
PluginManager.registerEvent(Class<? extends Event> event,
Listener listener,
EventPriority priority,
EventExecutor executor,
Plugin plugin,
boolean ignoreCancelled) |
Registers the specified executor to the given event class
|
void |
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 EventExecutor
|
void |
PluginManager.registerEvents(Listener listener,
Plugin plugin) |
Registers all the events in the given listener class
|
void |
SimplePluginManager.registerEvents(Listener listener,
Plugin plugin) |
Constructor | Description |
---|---|
RegisteredListener(Listener listener,
EventExecutor executor,
EventPriority priority,
Plugin plugin,
boolean ignoreCancelled) |
|
TimedRegisteredListener(Listener pluginListener,
EventExecutor eventExecutor,
EventPriority eventPriority,
Plugin registeredPlugin,
boolean listenCancelled) |
Modifier and Type | Method | Description |
---|---|---|
Map<Class<? extends Event>,Set<RegisteredListener>> |
JavaPluginLoader.createRegisteredListeners(Listener listener,
Plugin plugin) |
Copyright © 2019. All rights reserved.