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 SummaryFieldsModifier and TypeFieldDescriptionprivate final ModLoadingStateLoading state after configuration loading, for common (non-side-specific) setup and initialization.private final ModLoadingStateCompletion state after PROCESS_IMC, marking the completion of the basic mod loading process; however, additional completion states may be present after this.private final ModLoadingStateFirst loading state, for loading of the common and (if applicable) client-side mod configurations.(package private) final ModLoadingStateGathering state after validation, for the construction of mod containers and their backing mod instances.private final ModLoadingStateThe marker state for the completion of the full mod loading process.private final ModLoadingStateFirst completion state, for enqueuingInterModCommsmessages.(package private) final ModLoadingStateThe special mod loading state for exceptional situations and error handling.private final ModLoadingStateprivate final ModLoadingStateLoading state after common setup, for side-specific setup and initialization.private final ModLoadingStateFirst gathering state, for the validation of the mod list.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the list of mod loading states known to this provider.
- 
Field Details- 
ERRORThe special mod loading state for exceptional situations and error handling.- See Also:
 
- 
VALIDATEFirst 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
- 
CONSTRUCTGathering state after validation, for the construction of mod containers and their backing mod instances.
- 
CONFIG_LOADFirst loading state, for loading of the common and (if applicable) client-side mod configurations.
- 
COMMON_SETUPLoading state after configuration loading, for common (non-side-specific) setup and initialization.
- 
SIDED_SETUPLoading state after common setup, for side-specific setup and initialization.
- 
ENQUEUE_IMCFirst completion state, for enqueuingInterModCommsmessages.
- 
PROCESS_IMC
- 
COMPLETECompletion state after PROCESS_IMC, marking the completion of the basic mod loading process; however, additional completion states may be present after this.- See Also:
 
- 
DONEThe marker state for the completion of the full mod loading process.- See Also:
 
 
- 
- 
Constructor Details- 
ModStateProviderpublic ModStateProvider()
 
- 
- 
Method Details- 
getAllStatesDescription copied from interface:IModStateProviderReturns the list of mod loading states known to this provider.- Specified by:
- getAllStatesin interface- IModStateProvider
- Returns:
- the list of mod loading states known to this provider
 
 
-