java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.bus.api.GenericEvent<T>
- Type Parameters:
T- The type to filter this generic event for
- All Implemented Interfaces:
IGenericEvent<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Use non-generic events instead, or another system.
Implements
IGenericEvent to provide filterable events based on generic type data.
Subclasses should extend this if they wish to expose a secondary type based filter (the generic type).-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.bus.api.Event
Event.HasResult, Event.Result -
Constructor Summary
ConstructorsModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.protectedGenericEvent(Class<T> type) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
GenericEvent
public GenericEvent()Deprecated, for removal: This API element is subject to removal in a future version. -
GenericEvent
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getGenericType
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getGenericTypein interfaceIGenericEvent<T>
-