Package org.bukkit.event
Annotation Type EventHandler
-
@Target(METHOD) @Retention(RUNTIME) public @interface EventHandler
An annotation to mark methods as being event handler methods
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
ignoreCancelled
Define if the handler ignores a cancelled event.EventPriority
priority
Define the priority of the event.
-
-
-
Element Detail
-
priority
EventPriority priority
Define the priority of the event.First priority to the last priority executed:
- LOWEST
- LOW
- NORMAL
- HIGH
- HIGHEST
- MONITOR
- Returns:
- the priority
- Default:
- org.bukkit.event.EventPriority.NORMAL
-
-