Annotation Type Listener
@Retention(RUNTIME) @Target(METHOD) public @interface ListenerUsed to annotate a method as an
The method being targeted must be public and must be in a class that is also public.
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description
beforeModificationsWhether this listener should be called before any other server mods, such as Forge mods.
orderThe order this listener should be called in relation to other listeners in the
boolean beforeModificationsWhether this listener should be called before any other server mods, such as Forge mods. All Sponge event listeners are called after mods, unless they specify the
#beforeModifications()flag to be true.
- If the listener should be fired before other server mods