Package net.minecraftforge.fml
Enum Class ModLoadingStage
- All Implemented Interfaces:
- Serializable,- Comparable<ModLoadingStage>,- Constable
Mod loading stage of mod containers during the mod loading process. These will have a corresponding 
ModLoadingState
 in the basic mod loading process provided by FML.
 Each mod loading stage has a global DeferredWorkQueue, which is populated during the execution of the state
 associated with this stage and emptied at the end of the state's execution.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionCommon (non-side-specific) setup and initialization.Marks the completion of mod loading for this container.Default stage of mod containers after construction.Marks the completion of the full mod loading process.Stage for enqueuingInterModCommsmessages for later processing.Special stage for exceptional situations and error handling.Stage for processing received messages thoughInterModComms.Side-specific setup and initialization.Validation of the mod list.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncurrentState(Throwable exception) Returns this stage, orERRORif the exception is notnull.Returns the deferred work queue for this stage.(package private) ModLoadingStageReturns the next stage after this stage, orERRORif the exception is notnull.static ModLoadingStageReturns the enum constant of this class with the specified name.static ModLoadingStage[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
ERRORSpecial stage for exceptional situations and error handling.
- 
VALIDATEValidation of the mod list. TODO: figure out where this is used and why this exists instead of CONSTRUCT being the first normal stage
- 
CONSTRUCTDefault stage of mod containers after construction.
- 
COMMON_SETUPCommon (non-side-specific) setup and initialization.
- 
SIDED_SETUPSide-specific setup and initialization.- See Also:
 
- 
ENQUEUE_IMCStage for enqueuingInterModCommsmessages for later processing.
- 
PROCESS_IMCStage for processing received messages thoughInterModComms.
- 
COMPLETEMarks the completion of mod loading for this container.
- 
DONEMarks the completion of the full mod loading process.
 
- 
- 
Field Details- 
deferredWorkQueue
 
- 
- 
Constructor Details- 
ModLoadingStageprivate ModLoadingStage()
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
nextStateReturns the next stage after this stage, orERRORif the exception is notnull.- Parameters:
- exception- the exception that occurred during this stage, may be- null
- Returns:
- the next stage after this stage, or ERRORif the exception is notnull
 
- 
currentStateReturns this stage, orERRORif the exception is notnull.- Parameters:
- exception- the exception that occurred during this stage, may be- null
- Returns:
- this stage, or ERRORif the exception is notnull
 
- 
getDeferredWorkQueueReturns the deferred work queue for this stage.- Returns:
- the deferred work queue for this stage
 
 
-