Uses of Class
net.minecraftforge.fml.ModContainer
Package
Description
-
Uses of ModContainer in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate ModContainer
RegistryEvent.MissingMappings.activeMod
private final @Nullable ModContainer
ModMismatchEvent.MismatchResolutionResult.resolver
The field for theresolver
record component.Modifier and TypeFieldDescriptionprivate final HashMap<String,
ModContainer> ModMismatchEvent.resolved
Which mods have specified that they have handled version mismatches.Modifier and TypeMethodDescription@Nullable ModContainer
ModMismatchEvent.MismatchResolutionResult.resolver()
Returns the value of theresolver
record component.Modifier and TypeMethodDescriptionvoid
RegistryEvent.MissingMappings.setModContainer
(ModContainer mod) ModifierConstructorDescriptionMismatchResolutionResult
(String modid, ModMismatchEvent.MismatchedVersionInfo versionDifference, @Nullable ModContainer resolver) Creates an instance of aMismatchResolutionResult
record class. -
Uses of ModContainer in net.minecraftforge.fml
Modifier and TypeFieldDescriptionprivate ModContainer
ModLoadingContext.activeContainer
private final ModContainer
DeferredWorkQueue.TaskInfo.owner
The field for theowner
record component.Modifier and TypeFieldDescriptionprivate Map<String,
ModContainer> ModList.indexedMods
private List<ModContainer>
ModList.mods
Modifier and TypeMethodDescriptionprivate ModContainer
ModLoader.buildModContainerFromTOML
(net.minecraftforge.forgespi.locating.IModFile modFile, Map<String, net.minecraftforge.forgespi.language.IModInfo> modInfoMap, Map.Entry<String, ? extends net.minecraftforge.forgespi.language.IModLanguageProvider.IModLanguageLoader> idToProviderEntry) ModLoadingContext.getActiveContainer()
DeferredWorkQueue.TaskInfo.owner()
Returns the value of theowner
record component.Modifier and TypeMethodDescriptionprivate List<ModContainer>
ModLoader.buildMods
(net.minecraftforge.forgespi.locating.IModFile modFile) Optional<? extends ModContainer>
ModList.getModContainerById
(String modId) Optional<? extends ModContainer>
ModList.getModContainerByObject
(Object obj) Modifier and TypeMethodDescriptionstatic <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
CompletableFuture<Void>ModContainer.buildTransitionHandler
(ModContainer target, IModStateTransition.EventGenerator<T> eventGenerator, BiFunction<ModLoadingStage, Throwable, ModLoadingStage> stateChangeHandler, Executor executor) DeferredWorkQueue.enqueueWork
(ModContainer modInfo, Runnable work) <T> CompletableFuture<T>
DeferredWorkQueue.enqueueWork
(ModContainer modInfo, Supplier<T> work) void
ModLoadingContext.setActiveContainer
(ModContainer container) Modifier and TypeMethodDescription<T> Stream<T>
ModList.applyForEachModContainer
(Function<ModContainer, T> function) void
ModList.forEachModContainer
(BiConsumer<String, ModContainer> modContainerConsumer) static <FN extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
IModStateTransition.EventGenerator<FN>IModStateTransition.EventGenerator.fromFunction
(Function<ModContainer, FN> fn) <T extends net.minecraftforge.eventbus.api.Event & IModBusEvent>
voidModLoader.runEventGenerator
(Function<ModContainer, T> generator) (package private) void
ModList.setLoadedMods
(List<ModContainer> modContainers) ModifierConstructorDescription(package private)
TaskInfo
(ModContainer owner, Runnable task) Creates an instance of aTaskInfo
record class. -
Uses of ModContainer in net.minecraftforge.fml.config
ModifierConstructorDescriptionModConfig
(ModConfig.Type type, IConfigSpec<?> spec, ModContainer activeContainer) ModConfig
(ModConfig.Type type, IConfigSpec<?> spec, ModContainer container, String fileName) -
Uses of ModContainer in net.minecraftforge.fml.event.lifecycle
Modifier and TypeMethodDescription(package private) ModContainer
ModLifecycleEvent.getContainer()
ModifierConstructorDescriptionFMLClientSetupEvent
(ModContainer container, ModLoadingStage stage) FMLCommonSetupEvent
(ModContainer container, ModLoadingStage stage) FMLConstructModEvent
(ModContainer container, ModLoadingStage stage) FMLDedicatedServerSetupEvent
(ModContainer container, ModLoadingStage stage) FMLLoadCompleteEvent
(ModContainer container, ModLoadingStage stage) InterModEnqueueEvent
(ModContainer container, ModLoadingStage stage) InterModProcessEvent
(ModContainer container, ModLoadingStage stage) ModLifecycleEvent
(ModContainer container) ParallelDispatchEvent
(ModContainer container, ModLoadingStage stage) -
Uses of ModContainer in net.minecraftforge.fml.javafmlmod
Modifier and TypeMethodDescriptionstatic void
AutomaticEventSubscriber.inject
(ModContainer mod, net.minecraftforge.forgespi.language.ModFileScanData scanData, ClassLoader loader) -
Uses of ModContainer in net.minecraftforge.fml.lowcodemod
-
Uses of ModContainer in net.minecraftforge.fml.mclanguageprovider
-
Uses of ModContainer in net.minecraftforge.forge.event.lifecycle
ModifierConstructorDescriptionGatherDataEvent
(ModContainer mc, DataGenerator dataGenerator, GatherDataEvent.DataGeneratorConfig dataGeneratorConfig, ExistingFileHelper existingFileHelper)