Package net.minecraftforge.fml
Interface IModStateTransition
- All Known Implementing Classes:
ForgeStatesProvider.SerialTransition
,NoopTransition
,ParallelTransition
public interface IModStateTransition
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
IModStateTransition.EventGenerator<T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
-
Method Summary
Modifier and TypeMethodDescriptionprivate <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
IModStateTransition.EventGenerator<T>addCompletableFutureTaskForModDispatch
(Executor syncExecutor, Executor parallelExecutor, List<CompletableFuture<List<Throwable>>> completeableFutures, IModStateTransition.EventGenerator<T> eventGenerator, BiFunction<ModLoadingStage, Throwable, ModLoadingStage> nextState, IModStateTransition.EventGenerator<T> nextGenerator) default <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
CompletableFuture<List<Throwable>>build
(Executor syncExecutor, Executor parallelExecutor, Function<Executor, CompletableFuture<Void>> preSyncTask, Function<Executor, CompletableFuture<Void>> postSyncTask) static IModStateTransition
BiFunction<Executor,
? extends IModStateTransition.EventGenerator<?>, CompletableFuture<List<Throwable>>> BiFunction<Executor,
? extends IModStateTransition.EventGenerator<?>, CompletableFuture<List<Throwable>>>
-
Method Details
-
buildNoopTransition
-
build
default <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent> CompletableFuture<List<Throwable>> build(Executor syncExecutor, Executor parallelExecutor, Function<Executor, CompletableFuture<Void>> preSyncTask, Function<Executor, CompletableFuture<Void>> postSyncTask) -
nextModLoadingStage
-
addCompletableFutureTaskForModDispatch
private <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent> IModStateTransition.EventGenerator<T> addCompletableFutureTaskForModDispatch(Executor syncExecutor, Executor parallelExecutor, List<CompletableFuture<List<Throwable>>> completeableFutures, IModStateTransition.EventGenerator<T> eventGenerator, BiFunction<ModLoadingStage, Throwable, ModLoadingStage> nextState, IModStateTransition.EventGenerator<T> nextGenerator) -
eventFunctionStream
Supplier<Stream<IModStateTransition.EventGenerator<?>>> eventFunctionStream() -
threadSelector
ThreadSelector threadSelector() -
finalActivityGenerator
BiFunction<Executor,CompletableFuture<List<Throwable>>, finalActivityGenerator()CompletableFuture<List<Throwable>>> -
preDispatchHook
BiFunction<Executor,? extends IModStateTransition.EventGenerator<?>, preDispatchHook()CompletableFuture<List<Throwable>>> -
postDispatchHook
BiFunction<Executor,? extends IModStateTransition.EventGenerator<?>, postDispatchHook()CompletableFuture<List<Throwable>>>
-