Package | Description |
---|---|
org.bukkit.event |
Classes dedicated to handling triggered code executions.
|
org.bukkit.plugin |
Classes specifically relating to loading software modules at runtime.
|
Modifier and Type | Method | Description |
---|---|---|
EventPriority |
priority() |
Define the priority of the event.
|
static EventPriority |
EventPriority.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static EventPriority[] |
EventPriority.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
EventPriority |
RegisteredListener.getPriority() |
Gets the priority for this registration
|
Modifier and Type | Method | Description |
---|---|---|
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
|
Constructor | Description |
---|---|
RegisteredListener(Listener listener,
EventExecutor executor,
EventPriority priority,
Plugin plugin,
boolean ignoreCancelled) |
|
TimedRegisteredListener(Listener pluginListener,
EventExecutor eventExecutor,
EventPriority eventPriority,
Plugin registeredPlugin,
boolean listenCancelled) |
Copyright © 2020. All rights reserved.