Package org.spongepowered.api.event
Interface GenericEvent<T>
- Type Parameters:
T- The generic type
- All Superinterfaces:
Event
- All Known Subinterfaces:
BiGenericEvent<T,,U> CriterionEvent.Trigger<C>,EngineLifecycleEvent<E>,FreezeRegistryEvent.Post.EngineScoped<E>,ProvideServiceEvent<T>,ProvideServiceEvent.EngineScoped<T,,E> ProvideServiceEvent.GameScoped<T>,RegisterCommandEvent<C>,RegisterRegistryEvent.EngineScoped<E>,RegisterRegistryValueEvent.EngineScoped<E>,ScheduleBlockUpdateEvent<T>,StartedEngineEvent<E>,StartingEngineEvent<E>,StoppingEngineEvent<E>
All
Events that require a generic type should implement this
interface.-
Method Details
-
paramType
io.leangen.geantyref.TypeToken<T> paramType()Gets thegeneric type.- Returns:
- The type token
-
paramTypes
Gets all thegeneric type's.- Returns:
- The list of type tokens
-