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