Package net.minecraftforge.fml
Enum Class ModLoadingPhase
- All Implemented Interfaces:
Serializable
,Comparable<ModLoadingPhase>
,Constable
Phases of mod loading, for grouping mod loading states.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPhase after mod loading has completed, for post-loading tasks.Marker phase for the last state in the full mod loading process.Special phase for exceptional situations and error handling, where mod loading cannot continue normally.Phase for discovering and gathering mods for loading.Phase for the loading of mods found from mod discovery. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModLoadingPhase
Returns the enum constant of this class with the specified name.static ModLoadingPhase[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ERROR
Special phase for exceptional situations and error handling, where mod loading cannot continue normally.There is conventionally only one state with this phase.
-
GATHER
Phase for discovering and gathering mods for loading. -
LOAD
Phase for the loading of mods found from mod discovery.- See Also:
-
COMPLETE
Phase after mod loading has completed, for post-loading tasks.- See Also:
-
DONE
Marker phase for the last state in the full mod loading process.
-
-
Constructor Details
-
ModLoadingPhase
private ModLoadingPhase()
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException
- if the argument is null
-