Uses of Enum Class
net.minecraftforge.fml.ModLoadingPhase
Packages that use ModLoadingPhase
-
Uses of ModLoadingPhase in net.minecraftforge.fml
Fields in net.minecraftforge.fml declared as ModLoadingPhaseModifier and TypeFieldDescriptionprivate final ModLoadingPhase
ModLoadingState.phase
The field for thephase
record component.Fields in net.minecraftforge.fml with type parameters of type ModLoadingPhaseModifier and TypeFieldDescriptionprivate final EnumMap<ModLoadingPhase,
List<IModLoadingState>> ModStateManager.stateMap
Methods in net.minecraftforge.fml that return ModLoadingPhaseModifier and TypeMethodDescriptionIModLoadingState.phase()
Returns the mod loading phase this state belongs to.ModLoadingState.phase()
Returns the value of thephase
record component.static ModLoadingPhase
Returns the enum constant of this class with the specified name.static ModLoadingPhase[]
ModLoadingPhase.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraftforge.fml with parameters of type ModLoadingPhaseModifier and TypeMethodDescriptionstatic ModLoadingState
ModLoadingState.empty
(String name, String previous, ModLoadingPhase phase) Returns an empty mod loading state.ModStateManager.getStates
(ModLoadingPhase phase) static ModLoadingState
ModLoadingState.withInline
(String name, String previous, ModLoadingPhase phase, Consumer<ModList> inline) Returns a mod loading state with an inline runnable and a default human-friendly message ofProcessing work [name]
.static ModLoadingState
ModLoadingState.withTransition
(String name, String previous, Function<ModList, String> message, ModLoadingPhase phase, IModStateTransition transition) Returns a mod loading state with state transition information and a custom human-friendly message function.static ModLoadingState
ModLoadingState.withTransition
(String name, String previous, ModLoadingPhase phase, IModStateTransition transition) Returns a mod loading state with state transition information and a default human-friendly message ofProcessing transition [name]
.Constructors in net.minecraftforge.fml with parameters of type ModLoadingPhaseModifierConstructorDescriptionModLoadingState
(String name, String previous, Function<ModList, String> message, ModLoadingPhase phase, Optional<Consumer<ModList>> inlineRunnable, Optional<IModStateTransition> transition) Creates an instance of aModLoadingState
record class.