Annotation Type EventHandler
@Target(METHOD) @Retention(RUNTIME) public @interface EventHandler
An annotation to mark methods as being event handler methods
EventPriority priorityDefine the priority of the event.
First priority to the last priority executed:
- the priority
boolean ignoreCancelledDefine if the handler ignores a cancelled event.
If ignoreCancelled is true and the event is cancelled, the method is not called. Otherwise, the method is always called.
- whether cancelled events should be ignored