Annotation Type EventHandler


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface EventHandler
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      org.bukkit.event.EventPriority priority
      Define the priority of the event.
    • Element Detail

      • priority

        org.bukkit.event.EventPriority priority
        Define the priority of the event.

        First priority to the last priority executed:

        1. LOWEST
        2. LOW
        3. NORMAL
        4. HIGH
        5. HIGHEST
        6. MONITOR
        Returns:
        the priority
        Default:
        org.bukkit.event.EventPriority.NORMAL