Uses of Interface
net.neoforged.neoforgespi.locating.IModFile
Packages that use IModFile
Package
Description
-
Uses of IModFile in net.neoforged.fml
Fields in net.neoforged.fml declared as IModFileModifier and TypeFieldDescriptionprivate final @Nullable IModFile
ModLoadingIssue.affectedModFile
The field for theaffectedModFile
record component.Methods in net.neoforged.fml that return IModFileModifier and TypeMethodDescription@Nullable IModFile
ModLoadingIssue.affectedModFile()
Returns the value of theaffectedModFile
record component.Methods in net.neoforged.fml with parameters of type IModFileModifier and TypeMethodDescriptionprivate static List
<ModContainer> private String
ModList.fileToLine
(IModFile mf) ModLoadingIssue.withAffectedModFile
(IModFile affectedModFile) Method parameters in net.neoforged.fml with type arguments of type IModFileModifier and TypeMethodDescription<T> Stream
<T> ModList.applyForEachModFile
(Function<IModFile, T> function) <T> Stream
<T> ModList.applyForEachModFileAlphabetical
(Function<IModFile, T> function) Stream sorted by Mod Name in alphabetical ordervoid
ModList.forEachModFile
(Consumer<IModFile> fileConsumer) Constructors in net.neoforged.fml with parameters of type IModFileModifierConstructorDescriptionModLoadingIssue
(ModLoadingIssue.Severity severity, String translationKey, List<Object> translationArgs, @Nullable Throwable cause, @Nullable Path affectedPath, @Nullable IModFile affectedModFile, @Nullable IModInfo affectedMod) Creates an instance of aModLoadingIssue
record class. -
Uses of IModFile in net.neoforged.fml.javafmlmod
Methods in net.neoforged.fml.javafmlmod with parameters of type IModFileModifier and TypeMethodDescriptionvoid
FMLJavaModLanguageProvider.validate
(IModFile file, Collection<ModContainer> loadedContainers, IIssueReporting reporter) -
Uses of IModFile in net.neoforged.fml.loading.moddiscovery
Classes in net.neoforged.fml.loading.moddiscovery that implement IModFileFields in net.neoforged.fml.loading.moddiscovery declared as IModFileMethods in net.neoforged.fml.loading.moddiscovery that return IModFileModifier and TypeMethodDescriptionModJarMetadata.modFile()
@Nullable IModFile
ModDiscoverer.DiscoveryPipeline.readModFile
(cpw.mods.jarhandling.JarContents jarContents, ModFileDiscoveryAttributes attributes) Methods in net.neoforged.fml.loading.moddiscovery that return types with arguments of type IModFileModifier and TypeMethodDescriptionModDiscoverer.DiscoveryPipeline.addJarContent
(cpw.mods.jarhandling.JarContents jarContents, ModFileDiscoveryAttributes attributes, IncompatibleFileReporting reporting) ModDiscoverer.DiscoveryPipeline.addPath
(List<Path> groupedPaths, ModFileDiscoveryAttributes attributes, IncompatibleFileReporting reporting) Methods in net.neoforged.fml.loading.moddiscovery with parameters of type IModFileModifier and TypeMethodDescriptionboolean
ModDiscoverer.DiscoveryPipeline.addModFile
(IModFile mf) private String
ModDiscoverer.fileToLine
(IModFile mf) static IModFileInfo
ModFileParser.modsTomlParser
(IModFile imodFile) void
ModJarMetadata.setModFile
(IModFile file) -
Uses of IModFile in net.neoforged.fml.loading.moddiscovery.locators
Methods in net.neoforged.fml.loading.moddiscovery.locators that return types with arguments of type IModFileModifier and TypeMethodDescriptionJarInJarDependencyLocator.loadModFileFrom
(IModFile file, Path path, IDiscoveryPipeline pipeline) Methods in net.neoforged.fml.loading.moddiscovery.locators with parameters of type IModFileModifier and TypeMethodDescriptionstatic IModFileInfo
MinecraftModInfo.buildMinecraftModInfo
(IModFile iModFile) protected String
JarInJarDependencyLocator.identifyMod
(IModFile modFile) JarInJarDependencyLocator.loadModFileFrom
(IModFile file, Path path, IDiscoveryPipeline pipeline) protected Optional
<InputStream> JarInJarDependencyLocator.loadResourceFromModFile
(IModFile modFile, Path path) Method parameters in net.neoforged.fml.loading.moddiscovery.locators with type arguments of type IModFileModifier and TypeMethodDescriptionprivate ModLoadingIssue
JarInJarDependencyLocator.buildExceptionData
(net.neoforged.jarjar.selection.JarSelector.ResolutionFailureInformation<IModFile> entry) protected ModLoadingException
JarInJarDependencyLocator.exception
(Collection<net.neoforged.jarjar.selection.JarSelector.ResolutionFailureInformation<IModFile>> failedDependencies) private String
JarInJarDependencyLocator.getErrorTranslationKey
(net.neoforged.jarjar.selection.JarSelector.ResolutionFailureInformation<IModFile> entry) JarInJarDependencyLocator.getModWithVersionRangeStream
(net.neoforged.jarjar.selection.JarSelector.SourceWithRequestedVersionRange<IModFile> file) void
JarInJarDependencyLocator.scanMods
(List<IModFile> loadedMods, IDiscoveryPipeline pipeline) -
Uses of IModFile in net.neoforged.fml.loading.moddiscovery.readers
Fields in net.neoforged.fml.loading.moddiscovery.readers declared as IModFileModifier and TypeFieldDescriptionprivate final IModFile
JarModsDotTomlModFileReader.DefaultModFileInfo.mod
The field for themod
record component.Methods in net.neoforged.fml.loading.moddiscovery.readers that return IModFileModifier and TypeMethodDescriptionstatic IModFile
JarModsDotTomlModFileReader.createModFile
(cpw.mods.jarhandling.JarContents contents, ModFileDiscoveryAttributes discoveryAttributes) JarModsDotTomlModFileReader.DefaultModFileInfo.getFile()
JarModsDotTomlModFileReader.DefaultModFileInfo.mod()
Returns the value of themod
record component.@Nullable IModFile
JarModsDotTomlModFileReader.read
(cpw.mods.jarhandling.JarContents jar, ModFileDiscoveryAttributes discoveryAttributes) @Nullable IModFile
NestedLibraryModReader.read
(cpw.mods.jarhandling.JarContents jar, ModFileDiscoveryAttributes discoveryAttributes) Methods in net.neoforged.fml.loading.moddiscovery.readers with parameters of type IModFileModifier and TypeMethodDescriptionstatic IModFileInfo
JarModsDotTomlModFileReader.manifestParser
(IModFile mod) Constructors in net.neoforged.fml.loading.moddiscovery.readers with parameters of type IModFileModifierConstructorDescriptionprivate
DefaultModFileInfo
(IModFile mod, String license, IConfigurable configurable) Creates an instance of aDefaultModFileInfo
record class. -
Uses of IModFile in net.neoforged.neoforge.resource
Fields in net.neoforged.neoforge.resource with type parameters of type IModFileModifier and TypeFieldDescriptionprivate static Map
<IModFile, Pack.ResourcesSupplier> ResourcePackLoader.modResourcePacks
Methods in net.neoforged.neoforge.resource with parameters of type IModFileModifier and TypeMethodDescriptionprivate static boolean
ResourcePackLoader.hasResourcePack
(IModFile mf) Method parameters in net.neoforged.neoforge.resource with type arguments of type IModFileModifier and TypeMethodDescriptionstatic RepositorySource
ResourcePackLoader.buildPackFinder
(Map<IModFile, Pack.ResourcesSupplier> modResourcePacks, PackType packType) private static void
ResourcePackLoader.packFinder
(Map<IModFile, Pack.ResourcesSupplier> modResourcePacks, Consumer<Pack> packAcceptor, PackType packType) -
Uses of IModFile in net.neoforged.neoforgespi.language
Methods in net.neoforged.neoforgespi.language that return IModFileMethods in net.neoforged.neoforgespi.language with parameters of type IModFileModifier and TypeMethodDescriptiondefault void
IModLanguageLoader.validate
(IModFile file, Collection<ModContainer> loadedContainers, IIssueReporting reporter) Validate mod files using this loader, and report any issues (such as entrpoints without medatata). -
Uses of IModFile in net.neoforged.neoforgespi.locating
Fields in net.neoforged.neoforgespi.locating declared as IModFileModifier and TypeFieldDescriptionprivate final @Nullable IModFile
ModFileDiscoveryAttributes.parent
The field for theparent
record component.Methods in net.neoforged.neoforgespi.locating that return IModFileModifier and TypeMethodDescriptionstatic IModFile
IModFile.create
(cpw.mods.jarhandling.SecureJar jar, ModFileInfoParser parser) Builds a new mod file instance depending on the current runtime.static IModFile
IModFile.create
(cpw.mods.jarhandling.SecureJar jar, ModFileInfoParser parser, IModFile.Type type, ModFileDiscoveryAttributes attributes) Builds a new mod file instance depending on the current runtime.static IModFile
IModFile.create
(cpw.mods.jarhandling.SecureJar jar, ModFileInfoParser parser, ModFileDiscoveryAttributes attributes) Builds a new mod file instance depending on the current runtime.@Nullable IModFile
ModFileDiscoveryAttributes.parent()
Returns the value of theparent
record component.@Nullable IModFile
IModFileReader.read
(cpw.mods.jarhandling.JarContents jar, ModFileDiscoveryAttributes attributes) Provides a mod from the givenjar
.@Nullable IModFile
IDiscoveryPipeline.readModFile
(cpw.mods.jarhandling.JarContents jarContents, ModFileDiscoveryAttributes attributes) Use the registered readers to attempt to create a mod-file from the given jar contents.Methods in net.neoforged.neoforgespi.locating that return types with arguments of type IModFileModifier and TypeMethodDescriptionIDiscoveryPipeline.addJarContent
(cpw.mods.jarhandling.JarContents contents, ModFileDiscoveryAttributes attributes, IncompatibleFileReporting incompatibleFileReporting) IDiscoveryPipeline.addPath
(Path path, ModFileDiscoveryAttributes attributes, IncompatibleFileReporting incompatibleFileReporting) IDiscoveryPipeline.addPath
(List<Path> groupedPaths, ModFileDiscoveryAttributes attributes, IncompatibleFileReporting incompatibleFileReporting) Methods in net.neoforged.neoforgespi.locating with parameters of type IModFileModifier and TypeMethodDescriptionboolean
IDiscoveryPipeline.addModFile
(IModFile modFile) Add a pre-created mod file to the discovery pipeline.Invoked to get the freshly build mod files metadata.ModFileDiscoveryAttributes.withParent
(IModFile parent) Method parameters in net.neoforged.neoforgespi.locating with type arguments of type IModFileModifier and TypeMethodDescriptionvoid
IDependencyLocator.scanMods
(List<IModFile> loadedMods, IDiscoveryPipeline pipeline) Invoked to find all mod dependencies that this dependency locator can find.Constructors in net.neoforged.neoforgespi.locating with parameters of type IModFileModifierConstructorDescriptionModFileDiscoveryAttributes
(@Nullable IModFile parent, @Nullable IModFileReader reader, @Nullable IModFileCandidateLocator locator, @Nullable IDependencyLocator dependencyLocator) Creates an instance of aModFileDiscoveryAttributes
record class.