@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Listener
EventListener.
The method being targeted must be public and must be in a class that is also public.
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
beforeModifications
Whether this listener should be called before any other server mods, such
as Forge mods.
|
Order |
order
The order this listener should be called in relation to other listeners
in the
EventManager. |
public abstract Order order
EventManager.public abstract boolean beforeModifications
#beforeModifications() flag to be true.