Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.EventHandler Interface Reference

Public Member Functions

EventPriority priority () default EventPriority.NORMAL
 
boolean ignoreCancelled () default false
 

Detailed Description

An annotation to mark methods as being event handler methods

Definition at line 13 of file EventHandler.java.

Member Function Documentation

boolean org.bukkit.event.EventHandler.ignoreCancelled ( )

Define 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.

EventPriority org.bukkit.event.EventHandler.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

The documentation for this interface was generated from the following file: