Package org.spongepowered.api.event
Annotation Interface Listener
Used to annotate a method as an
EventListener
.-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Whether this listener should be called before any other server mods, such as Forge mods.The order this listener should be called in relation to other listeners in theEventManager
.
-
Element Details
-
order
Order orderThe order this listener should be called in relation to other listeners in theEventManager
.- Returns:
- The order the listener should be called in
- Default:
- DEFAULT
-
beforeModifications
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.- Returns:
- If the listener should be fired before other server mods
- Default:
- false
-