Package net.minecraftforge.fml.core
Class ModStateProvider
java.lang.Object
net.minecraftforge.fml.core.ModStateProvider
- All Implemented Interfaces:
IModStateProvider
Provider for the core FML mod loading states.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModLoadingState
Loading state after configuration loading, for common (non-side-specific) setup and initialization.private final ModLoadingState
Completion state after PROCESS_IMC, marking the completion of the basic mod loading process; however, additional completion states may be present after this.private final ModLoadingState
First loading state, for loading of the common and (if applicable) client-side mod configurations.(package private) final ModLoadingState
Gathering state after validation, for the construction of mod containers and their backing mod instances.private final ModLoadingState
The marker state for the completion of the full mod loading process.private final ModLoadingState
First completion state, for enqueuingInterModComms
messages.(package private) final ModLoadingState
The special mod loading state for exceptional situations and error handling.private final ModLoadingState
private final ModLoadingState
Loading state after common setup, for side-specific setup and initialization.private final ModLoadingState
First gathering state, for the validation of the mod list. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of mod loading states known to this provider.
-
Field Details
-
ERROR
The special mod loading state for exceptional situations and error handling.- See Also:
-
VALIDATE
First gathering state, for the validation of the mod list. TODO: figure out where this is used and why this exists instead of CONSTRUCT being the first state -
CONSTRUCT
Gathering state after validation, for the construction of mod containers and their backing mod instances. -
CONFIG_LOAD
First loading state, for loading of the common and (if applicable) client-side mod configurations. -
COMMON_SETUP
Loading state after configuration loading, for common (non-side-specific) setup and initialization. -
SIDED_SETUP
Loading state after common setup, for side-specific setup and initialization. -
ENQUEUE_IMC
First completion state, for enqueuingInterModComms
messages. -
PROCESS_IMC
-
COMPLETE
Completion state after PROCESS_IMC, marking the completion of the basic mod loading process; however, additional completion states may be present after this.- See Also:
-
DONE
The marker state for the completion of the full mod loading process.- See Also:
-
-
Constructor Details
-
ModStateProvider
public ModStateProvider()
-
-
Method Details
-
getAllStates
Description copied from interface:IModStateProvider
Returns the list of mod loading states known to this provider.- Specified by:
getAllStates
in interfaceIModStateProvider
- Returns:
- the list of mod loading states known to this provider
-