Package | Description |
---|---|
co.aikar.timings | |
com.destroystokyo.paper.event.executor | |
com.destroystokyo.paper.exception | |
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 |
TimedEventExecutor.execute(Listener listener,
Event event) |
Modifier and Type | Method | Description |
---|---|---|
void |
MethodHandleEventExecutor.execute(Listener listener,
Event event) |
|
void |
StaticMethodHandleEventExecutor.execute(Listener listener,
Event event) |
Modifier and Type | Method | Description |
---|---|---|
Listener |
ServerEventException.getListener() |
Gets the listener which threw the exception
|
Constructor | Description |
---|---|
ServerEventException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
Plugin responsiblePlugin,
Listener listener,
Event event) |
|
ServerEventException(String message,
Throwable cause,
Plugin responsiblePlugin,
Listener listener,
Event event) |
|
ServerEventException(Throwable cause,
Plugin responsiblePlugin,
Listener listener,
Event event) |
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 © 2020. All rights reserved.