Package org.spongepowered.api.event
Interface EventListenerRegistration.Builder<T extends Event>
-
- All Superinterfaces:
ResettableBuilder<EventListenerRegistration<T>,EventListenerRegistration.Builder<T>>
- Enclosing interface:
- EventListenerRegistration<T extends Event>
public static interface EventListenerRegistration.Builder<T extends Event> extends ResettableBuilder<EventListenerRegistration<T>,EventListenerRegistration.Builder<T>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventListenerRegistration.Builder<T>
beforeModifications(boolean beforeModifications)
EventListenerRegistration<T>
build()
EventListenerRegistration.Builder<T>
listener(EventListener<? super T> listener)
EventListenerRegistration.Builder<T>
order(Order order)
EventListenerRegistration.Builder<T>
plugin(org.spongepowered.plugin.PluginContainer plugin)
-
Methods inherited from interface org.spongepowered.api.util.ResettableBuilder
reset
-
-
-
-
Method Detail
-
plugin
EventListenerRegistration.Builder<T> plugin(org.spongepowered.plugin.PluginContainer plugin)
-
order
EventListenerRegistration.Builder<T> order(Order order)
-
beforeModifications
EventListenerRegistration.Builder<T> beforeModifications(boolean beforeModifications)
-
listener
EventListenerRegistration.Builder<T> listener(EventListener<? super T> listener)
-
build
EventListenerRegistration<T> build()
-
-