Uses of Interface
net.minecraftforge.fml.IModStateTransition.EventGenerator
Package
Description
-
Uses of IModStateTransition.EventGenerator in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate final Supplier<Stream<IModStateTransition.EventGenerator<?>>>
ForgeStatesProvider.SerialTransition.eventStream
The field for theeventStream
record component.private final BiFunction<Executor,
? extends IModStateTransition.EventGenerator<T>, CompletableFuture<List<Throwable>>> ForgeStatesProvider.SerialTransition.postDispatchHook
The field for thepostDispatchHook
record component.private final BiFunction<Executor,
? extends IModStateTransition.EventGenerator<T>, CompletableFuture<List<Throwable>>> ForgeStatesProvider.SerialTransition.preDispatchHook
The field for thepreDispatchHook
record component.Modifier and TypeMethodDescriptionForgeStatesProvider.SerialTransition.eventFunctionStream()
ForgeStatesProvider.SerialTransition.eventStream()
Returns the value of theeventStream
record component.BiFunction<Executor,
? extends IModStateTransition.EventGenerator<T>, CompletableFuture<List<Throwable>>> ForgeStatesProvider.SerialTransition.postDispatchHook()
Returns the value of thepostDispatchHook
record component.BiFunction<Executor,
? extends IModStateTransition.EventGenerator<T>, CompletableFuture<List<Throwable>>> ForgeStatesProvider.SerialTransition.preDispatchHook()
Returns the value of thepreDispatchHook
record component.Modifier and TypeMethodDescriptionstatic <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
ForgeStatesProvider.SerialTransition<T>ForgeStatesProvider.SerialTransition.of
(Supplier<Stream<IModStateTransition.EventGenerator<?>>> eventStream) ModifierConstructorDescription(package private)
SerialTransition
(Supplier<Stream<IModStateTransition.EventGenerator<?>>> eventStream, BiFunction<Executor, ? extends IModStateTransition.EventGenerator<T>, CompletableFuture<List<Throwable>>> preDispatchHook, BiFunction<Executor, ? extends IModStateTransition.EventGenerator<T>, CompletableFuture<List<Throwable>>> postDispatchHook, BiFunction<Executor, CompletableFuture<List<Throwable>>, CompletableFuture<List<Throwable>>> finalActivityGenerator) Creates an instance of aSerialTransition
record class.(package private)
SerialTransition
(Supplier<Stream<IModStateTransition.EventGenerator<?>>> eventStream, BiFunction<Executor, ? extends IModStateTransition.EventGenerator<T>, CompletableFuture<List<Throwable>>> preDispatchHook, BiFunction<Executor, ? extends IModStateTransition.EventGenerator<T>, CompletableFuture<List<Throwable>>> postDispatchHook, BiFunction<Executor, CompletableFuture<List<Throwable>>, CompletableFuture<List<Throwable>>> finalActivityGenerator) Creates an instance of aSerialTransition
record class. -
Uses of IModStateTransition.EventGenerator in net.minecraftforge.fml
Modifier and TypeMethodDescriptionprivate <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
IModStateTransition.EventGenerator<T>IModStateTransition.addCompletableFutureTaskForModDispatch
(Executor syncExecutor, Executor parallelExecutor, List<CompletableFuture<List<Throwable>>> completeableFutures, IModStateTransition.EventGenerator<T> eventGenerator, BiFunction<ModLoadingStage, Throwable, ModLoadingStage> nextState, IModStateTransition.EventGenerator<T> nextGenerator) static <FN extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
IModStateTransition.EventGenerator<FN>IModStateTransition.EventGenerator.fromFunction
(Function<ModContainer, FN> fn) Modifier and TypeMethodDescriptionIModStateTransition.eventFunctionStream()
NoopTransition.eventFunctionStream()
BiFunction<Executor,
? extends IModStateTransition.EventGenerator<?>, CompletableFuture<List<Throwable>>> IModStateTransition.postDispatchHook()
BiFunction<Executor,
? extends IModStateTransition.EventGenerator<?>, CompletableFuture<List<Throwable>>> NoopTransition.postDispatchHook()
BiFunction<Executor,
? extends IModStateTransition.EventGenerator<?>, CompletableFuture<List<Throwable>>> IModStateTransition.preDispatchHook()
BiFunction<Executor,
? extends IModStateTransition.EventGenerator<?>, CompletableFuture<List<Throwable>>> NoopTransition.preDispatchHook()
Modifier and TypeMethodDescriptionprivate <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
IModStateTransition.EventGenerator<T>IModStateTransition.addCompletableFutureTaskForModDispatch
(Executor syncExecutor, Executor parallelExecutor, List<CompletableFuture<List<Throwable>>> completeableFutures, IModStateTransition.EventGenerator<T> eventGenerator, BiFunction<ModLoadingStage, Throwable, ModLoadingStage> nextState, IModStateTransition.EventGenerator<T> nextGenerator) static <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
CompletableFuture<Void>ModContainer.buildTransitionHandler
(ModContainer target, IModStateTransition.EventGenerator<T> eventGenerator, BiFunction<ModLoadingStage, Throwable, ModLoadingStage> stateChangeHandler, Executor executor) (package private) <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
Function<Executor,CompletableFuture<List<Throwable>>> ModList.futureVisitor
(IModStateTransition.EventGenerator<T> eventGenerator, BiFunction<ModLoadingStage, Throwable, ModLoadingStage> stateChange) -
Uses of IModStateTransition.EventGenerator in net.minecraftforge.fml.core
Modifier and TypeMethodDescriptionParallelTransition.eventFunctionStream()
BiFunction<Executor,
? extends IModStateTransition.EventGenerator<?>, CompletableFuture<List<Throwable>>> ParallelTransition.postDispatchHook()
BiFunction<Executor,
? extends IModStateTransition.EventGenerator<?>, CompletableFuture<List<Throwable>>> ParallelTransition.preDispatchHook()
-
Uses of IModStateTransition.EventGenerator in net.minecraftforge.registries
Modifier and TypeMethodDescriptionstatic Stream<IModStateTransition.EventGenerator<?>>
GameData.generateRegistryEvents()
Modifier and TypeMethodDescriptionstatic CompletableFuture<List<Throwable>>
RegistryManager.postNewRegistryEvent
(Executor executor, IModStateTransition.EventGenerator<? extends NewRegistryEvent> eventGenerator) static CompletableFuture<List<Throwable>>
GameData.postRegistryEventDispatch
(Executor executor, IModStateTransition.EventGenerator<? extends RegistryEvent.Register<?>> eventGenerator) static CompletableFuture<List<Throwable>>
RegistryManager.preNewRegistryEvent
(Executor executor, IModStateTransition.EventGenerator<? extends NewRegistryEvent> eventGenerator) static CompletableFuture<List<Throwable>>
GameData.preRegistryEventDispatch
(Executor executor, IModStateTransition.EventGenerator<? extends RegistryEvent.Register<?>> eventGenerator)