A B C D E F G I L M N O P R U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACCEPT - community.leaf.eventful.bukkit.CancellationPolicy
-
Accepts cancelled events (the default policy).
- acceptCancelled() - Method in interface community.leaf.eventful.bukkit.Events.Builder
-
Makes the event listener accept all events, regardless of whether they're cancelled or not.
B
- BukkitEventSource - Interface in community.leaf.eventful.bukkit
-
A source of events.
C
- call(E) - Method in interface community.leaf.eventful.bukkit.EventDispatcher
-
Calls the provided event then immediately returns it.
- call(E) - Method in interface community.leaf.eventful.bukkit.Events
- CancellationPolicy - Enum in community.leaf.eventful.bukkit
-
How to handle cancelled events.
- cancelled(CancellationPolicy) - Method in interface community.leaf.eventful.bukkit.Events.Builder
-
Sets whether cancelled events are ignored by the listener or not.
- CancelledEvents - Annotation Type in community.leaf.eventful.bukkit.annotations
-
Declares the policy for receiving cancelled events.
- community.leaf.eventful.bukkit - package community.leaf.eventful.bukkit
- community.leaf.eventful.bukkit.annotations - package community.leaf.eventful.bukkit.annotations
- community.leaf.eventful.bukkit.events - package community.leaf.eventful.bukkit.events
D
- dispatcher() - Static method in interface community.leaf.eventful.bukkit.Events
-
Static helper for calling Bukkit events.
E
- early() - Method in interface community.leaf.eventful.bukkit.Events.Builder
-
Sets the priority to
ListenerOrder.EARLY, which gets called earlier than most other priorities. - EARLY - community.leaf.eventful.bukkit.ListenerOrder
-
Called early, but not first.
- EventConsumer<E extends org.bukkit.event.Event> - Interface in community.leaf.eventful.bukkit
-
Consumer extension that only accepts
Eventsubtypes and is also a validListener. - EventDispatcher - Interface in community.leaf.eventful.bukkit
-
Calls Bukkit events.
- EventListener - Annotation Type in community.leaf.eventful.bukkit.annotations
-
Signifies that a method listens for events.
- events() - Method in interface community.leaf.eventful.bukkit.BukkitEventSource
-
Gets utilities for registering and calling events using this
BukkitEventSource.plugin(). - Events - Interface in community.leaf.eventful.bukkit
-
Utilities for calling and registering Bukkit events.
- Events.Builder<E extends org.bukkit.event.Event> - Interface in community.leaf.eventful.bukkit
-
Event registration builder.
F
- first() - Method in interface community.leaf.eventful.bukkit.Events.Builder
-
Sets the priority to
ListenerOrder.FIRST, which gets called first. - FIRST - community.leaf.eventful.bukkit.ListenerOrder
-
Called first, or as early as possible.
G
- getEvent() - Method in class community.leaf.eventful.bukkit.events.UncaughtEventExceptionEvent
-
Gets the event that was being handled.
- getException() - Method in class community.leaf.eventful.bukkit.events.UncaughtEventExceptionEvent
-
Gets the uncaught exception.
- getHandlerList() - Static method in class community.leaf.eventful.bukkit.events.UncaughtEventExceptionEvent
- getHandlers() - Method in class community.leaf.eventful.bukkit.events.UncaughtEventExceptionEvent
- getListener() - Method in class community.leaf.eventful.bukkit.events.UncaughtEventExceptionEvent
-
Gets the listener the caused the exception.
I
- ignoresCancelledEvents() - Method in enum community.leaf.eventful.bukkit.CancellationPolicy
-
Whether this policy "ignores" cancelled events.
L
- last() - Method in interface community.leaf.eventful.bukkit.Events.Builder
-
Sets the priority to
ListenerOrder.LAST, which gets called last. - LAST - community.leaf.eventful.bukkit.ListenerOrder
-
Called last, or as late as possible.
- late() - Method in interface community.leaf.eventful.bukkit.Events.Builder
-
Sets the priority to
ListenerOrder.LATE, which gets called after most other priorities. - LATE - community.leaf.eventful.bukkit.ListenerOrder
-
Called late, but not last.
- listener(EventConsumer<E>) - Method in interface community.leaf.eventful.bukkit.Events.Builder
-
Registers the provided listener with the builder's previously specified settings.
- ListenerOrder - Enum in community.leaf.eventful.bukkit
-
Listener order (priority).
M
- monitor() - Method in interface community.leaf.eventful.bukkit.Events.Builder
-
Sets the priority to
ListenerOrder.MONITOR, which truly gets called last (because it's meant to monitor the outcome of previous listeners). - MONITOR - community.leaf.eventful.bukkit.ListenerOrder
-
Called at the very end to monitor event outcomes.
N
- normal() - Method in interface community.leaf.eventful.bukkit.Events.Builder
-
Sets the priority to
ListenerOrder.NORMAL, which is the default priority for event listeners. - NORMAL - community.leaf.eventful.bukkit.ListenerOrder
-
The default listener priority.
O
- ofIgnoreCancelled(boolean) - Static method in enum community.leaf.eventful.bukkit.CancellationPolicy
-
Gets the policy equivalent of the provided Bukkit
ignoreCancelledstate. - ofPriority(EventPriority) - Static method in enum community.leaf.eventful.bukkit.ListenerOrder
-
Gets the order equivalent of the provided Bukkit priority.
- on(Class<E>) - Method in interface community.leaf.eventful.bukkit.Events
-
Creates a new event registration builder for the provided event type.
- on(Class<E>, EventConsumer<E>) - Method in interface community.leaf.eventful.bukkit.Events
-
Registers the provided event consumer at
NORMALpriority, accepting all events whether cancelled or not. - on(Class<E>, ListenerOrder, CancellationPolicy, EventConsumer<E>) - Method in interface community.leaf.eventful.bukkit.Events
-
Registers the provided event consumer.
- on(Class<E>, ListenerOrder, EventConsumer<E>) - Method in interface community.leaf.eventful.bukkit.Events
-
Registers the provided event consumer, accepting all events whether cancelled or not.
P
- plugin() - Method in interface community.leaf.eventful.bukkit.BukkitEventSource
-
Gets the plugin used for registering events.
- plugin() - Method in interface community.leaf.eventful.bukkit.Events
-
Gets the plugin used for registering events.
- priority() - Method in enum community.leaf.eventful.bukkit.ListenerOrder
-
Gets the order as Bukkit priority.
- priority(ListenerOrder) - Method in interface community.leaf.eventful.bukkit.Events.Builder
-
Sets the event priority.
R
- register(L) - Method in interface community.leaf.eventful.bukkit.Events
-
Registers the provided event listener then returns it.
- REJECT - community.leaf.eventful.bukkit.CancellationPolicy
-
Rejects cancelled events, thus "ignoring" them.
- rejectCancelled() - Method in interface community.leaf.eventful.bukkit.Events.Builder
-
Makes the event listener reject cancelled events.
- resolve() - Static method in interface community.leaf.eventful.bukkit.Events
-
Creates a new
Eventsinstance by resolving plugin classes on the current call stack.
U
- UncaughtEventExceptionEvent - Class in community.leaf.eventful.bukkit.events
-
An event that gets called when an uncaught exception occurs while handling another event.
- UncaughtEventExceptionEvent(Event, Listener, Throwable) - Constructor for class community.leaf.eventful.bukkit.events.UncaughtEventExceptionEvent
-
Constructs.
V
- value() - Method in annotation type community.leaf.eventful.bukkit.annotations.CancelledEvents
-
Gets the declared cancellation policy.
- value() - Method in annotation type community.leaf.eventful.bukkit.annotations.EventListener
-
Gets the listener's priority.
- valueOf(String) - Static method in enum community.leaf.eventful.bukkit.CancellationPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum community.leaf.eventful.bukkit.ListenerOrder
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum community.leaf.eventful.bukkit.CancellationPolicy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum community.leaf.eventful.bukkit.ListenerOrder
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages