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 ModListModList.INSTANCEprivate ModListModLoader.modListFields in net.minecraftforge.fml with type parameters of type ModListModifier and TypeFieldDescriptionModLoadingState.inlineRunnableThe field for theinlineRunnablerecord component.ModLoadingState.messageThe field for themessagerecord 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 theinlineRunnablerecord component.IModLoadingState.message()Returns a function returning a human-friendly message for this state.ModLoadingState.message()Returns the value of themessagerecord component.Method parameters in net.minecraftforge.fml with type arguments of type ModListModifier and TypeMethodDescriptionstatic ModLoadingStateModLoadingState.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 ModLoadingStateModLoadingState.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 aModLoadingStaterecord class.ModLoadingState(String name, String previous, Function<ModList, String> message, ModLoadingPhase phase, Optional<Consumer<ModList>> inlineRunnable, Optional<IModStateTransition> transition) Creates an instance of aModLoadingStaterecord class.