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 and Description |
---|---|
RegisteredListener[] |
HandlerList.getRegisteredListeners()
Get the baked registered listeners associated with this handler list
|
Modifier and Type | Method and Description |
---|---|
static ArrayList<RegisteredListener> |
HandlerList.getRegisteredListeners(Plugin plugin)
Get a specific plugin's registered listeners associated with this
handler list
|
Modifier and Type | Method and Description |
---|---|
void |
HandlerList.register(RegisteredListener listener)
Register a new listener in this handler list
|
void |
HandlerList.unregister(RegisteredListener listener)
Remove a listener from a specific order slot
|
Modifier and Type | Method and Description |
---|---|
void |
HandlerList.registerAll(Collection<RegisteredListener> listeners)
Register a collection of new listeners in this handler list
|
Modifier and Type | Class and Description |
---|---|
class |
TimedRegisteredListener
Extends RegisteredListener to include timing information
|
Modifier and Type | Method and 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
|
Modifier and Type | Method and Description |
---|---|
Map<Class<? extends Event>,Set<RegisteredListener>> |
JavaPluginLoader.createRegisteredListeners(Listener listener,
Plugin plugin) |
Copyright © 2022. All rights reserved.