Uses of Class
net.minecraftforge.fml.ModList
Packages that use ModList
-
Uses of ModList in net.minecraftforge.fml
Fields in net.minecraftforge.fml declared as ModListModifier and TypeFieldDescriptionprivate static ModList
ModList.INSTANCE
private ModList
ModLoader.modList
Fields in net.minecraftforge.fml with type parameters of type ModListModifier and TypeFieldDescriptionModLoadingState.inlineRunnable
The field for theinlineRunnable
record component.ModLoadingState.message
The field for themessage
record component.Methods in net.minecraftforge.fml that return ModListMethods in net.minecraftforge.fml that return types with arguments of type ModListModifier and TypeMethodDescriptionIModLoadingState.inlineRunnable()
Returns an optional runnable, which runs before starting the transition from this state to the next.ModLoadingState.inlineRunnable()
Returns the value of theinlineRunnable
record component.IModLoadingState.message()
Returns a function returning a human-friendly message for this state.ModLoadingState.message()
Returns the value of themessage
record component.Method parameters in net.minecraftforge.fml with type arguments of type ModListModifier and TypeMethodDescriptionstatic 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.Constructor parameters in net.minecraftforge.fml with type arguments of type ModListModifierConstructorDescriptionModLoadingState
(String name, String previous, Function<ModList, String> message, ModLoadingPhase phase, Optional<Consumer<ModList>> inlineRunnable, Optional<IModStateTransition> transition) Creates an instance of aModLoadingState
record class.ModLoadingState
(String name, String previous, Function<ModList, String> message, ModLoadingPhase phase, Optional<Consumer<ModList>> inlineRunnable, Optional<IModStateTransition> transition) Creates an instance of aModLoadingState
record class.