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 |
---|---|
@NotNull EventPriority |
RegisteredListener.getPriority()
Gets the priority for this registration
|
Modifier and Type | Method and Description |
---|---|
void |
SimplePluginManager.registerEvent(@NotNull Class<? extends Event> event,
@NotNull Listener listener,
@NotNull EventPriority priority,
@NotNull EventExecutor executor,
@NotNull Plugin plugin) |
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 |
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
|
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
|
Constructor and 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 © 2021. All rights reserved.