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