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 and Description |
---|---|
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 and Description |
---|---|
EventPriority |
RegisteredListener.getPriority()
Gets the priority for this registration
|
Modifier and Type | Method and Description |
---|---|
void |
SimplePluginManager.registerEvent(Class<? extends Event> event,
Listener listener,
EventPriority priority,
EventExecutor executor,
Plugin plugin) |
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 |
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.registerEvent(Class<? extends Event> event,
Listener listener,
EventPriority priority,
EventExecutor executor,
Plugin plugin,
boolean ignoreCancelled)
Registers the specified executor to the given event class
|
Constructor and Description |
---|
RegisteredListener(Listener listener,
EventExecutor executor,
EventPriority priority,
Plugin plugin,
boolean ignoreCancelled) |
TimedRegisteredListener(Listener pluginListener,
EventExecutor eventExecutor,
EventPriority eventPriority,
Plugin registeredPlugin,
boolean listenCancelled) |
Copyright © 2016. All rights reserved.