Package net.minecraftforge.fml
Interface IModStateTransition
- All Known Implementing Classes:
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<Void>> completableFutures, ProgressMeter progressBar, IModStateTransition.EventGenerator<T> eventGenerator, BiFunction<ModLoadingStage, Throwable, ModLoadingStage> nextState, IModStateTransition.EventGenerator<T> nextGenerator) default <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
CompletableFuture<Void>build
(String name, Executor syncExecutor, Executor parallelExecutor, ProgressMeter progressBar, Function<Executor, CompletableFuture<Void>> preSyncTask, Function<Executor, CompletableFuture<Void>> postSyncTask) static IModStateTransition
BiFunction<Executor,
? extends IModStateTransition.EventGenerator<?>, CompletableFuture<Void>> BiFunction<Executor,
? extends IModStateTransition.EventGenerator<?>, CompletableFuture<Void>>
-
Method Details
-
buildNoopTransition
-
build
default <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent> CompletableFuture<Void> build(String name, Executor syncExecutor, Executor parallelExecutor, ProgressMeter progressBar, 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<Void>> completableFutures, ProgressMeter progressBar, 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<Void>, finalActivityGenerator()CompletableFuture<Void>> -
preDispatchHook
BiFunction<Executor,? extends IModStateTransition.EventGenerator<?>, preDispatchHook()CompletableFuture<Void>> -
postDispatchHook
BiFunction<Executor,? extends IModStateTransition.EventGenerator<?>, postDispatchHook()CompletableFuture<Void>>
-