Uses of Class
net.minecraftforge.fml.ModContainer
Package
Description
-
Uses of ModContainer in net.minecraftforge.event
Modifier and TypeMethodDescriptionvoid
RegistryEvent.MissingMappings.setModContainer(ModContainer mod)
-
Uses of ModContainer in net.minecraftforge.fml
Modifier and TypeFieldDescriptionprivate ModContainer
ModLoadingContext.activeContainer
private 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(ModFile 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>
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.mclanguageprovider
-
Uses of ModContainer in net.minecraftforge.forge.event.lifecycle
ModifierConstructorDescriptionGatherDataEvent(ModContainer mc, DataGenerator dataGenerator, GatherDataEvent.DataGeneratorConfig dataGeneratorConfig, ExistingFileHelper existingFileHelper)