Package org.spongepowered.api.event
Interface EventListenerRegistration<T extends Event>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
EventListenerRegistration.Builder<T extends Event>
static interface
EventListenerRegistration.Factory
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
beforeModifications()
static <T extends Event>
EventListenerRegistration.Builder<T>builder(io.leangen.geantyref.TypeToken<T> eventType)
static <T extends Event>
EventListenerRegistration.Builder<T>builder(java.lang.Class<T> eventClass)
java.lang.reflect.Type
eventType()
EventListener<? super T>
listener()
Order
order()
org.spongepowered.plugin.PluginContainer
plugin()
-
-
-
Method Detail
-
builder
static <T extends Event> EventListenerRegistration.Builder<T> builder(io.leangen.geantyref.TypeToken<T> eventType)
-
builder
static <T extends Event> EventListenerRegistration.Builder<T> builder(java.lang.Class<T> eventClass)
-
eventType
java.lang.reflect.Type eventType()
-
plugin
org.spongepowered.plugin.PluginContainer plugin()
-
order
Order order()
-
beforeModifications
boolean beforeModifications()
-
listener
EventListener<? super T> listener()
-
-