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