Package net.neoforged.testframework
Interface Test.EventListenerGroup
- All Known Implementing Classes:
EventListenerGroupImpl
- Enclosing interface:
Test
@ParametersAreNonnullByDefault
public static interface Test.EventListenerGroup
A group of collectors by
bus
.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
A collector of event listeners which automatically unregisters listeners when a test is disabled. -
Method Summary
-
Method Details
-
getFor
Test.EventListenerGroup.EventListenerCollector getFor(net.neoforged.fml.common.EventBusSubscriber.Bus bus) Gets the collector for a bus.- Parameters:
bus
- the bus to get the collector for- Returns:
- the collector associated with the bus
-
mod
-
forge
-