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 IModFileModLoadingIssue.affectedModFileThe field for theaffectedModFilerecord component.Methods in net.neoforged.fml that return IModFileModifier and TypeMethodDescription@Nullable IModFileModLoadingIssue.affectedModFile()Returns the value of theaffectedModFilerecord component.Methods in net.neoforged.fml with parameters of type IModFileModifier and TypeMethodDescriptionprivate static List<ModContainer> private StringModList.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 ordervoidModList.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 aModLoadingIssuerecord class. -
Uses of IModFile in net.neoforged.fml.javafmlmod
Methods in net.neoforged.fml.javafmlmod with parameters of type IModFileModifier and TypeMethodDescriptionvoidFMLJavaModLanguageProvider.validate(IModFile file, Collection<ModContainer> loadedContainers, IIssueReporting reporter) -
Uses of IModFile in net.neoforged.fml.loading
Fields in net.neoforged.fml.loading with type parameters of type IModFileModifier and TypeFieldDescriptionLoadingModList.allModFilesLoadingModList.fileByPackageLoadingModList.gameLibrariesMethods in net.neoforged.fml.loading that return IModFileModifier and TypeMethodDescription@Nullable IModFileFMLLoader.getModFileByClass(Class<?> clazz) Tries to get the mod file that a given class belongs to.Methods in net.neoforged.fml.loading that return types with arguments of type IModFileModifier and TypeMethodDescriptionLoadingModList.buildPackageIndex()LoadingModList.getAllModFiles()LoadingModList.getGameLibraries()LoadingModList.getPackageIndex()Methods in net.neoforged.fml.loading with parameters of type IModFile -
Uses of IModFile in net.neoforged.fml.loading.mixin
Fields in net.neoforged.fml.loading.mixin declared as IModFileConstructors in net.neoforged.fml.loading.mixin with parameters of type IModFile -
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 IModFileModDiscoverer.DiscoveryPipeline.readModFile(JarContents jarContents, ModFileDiscoveryAttributes attributes) Methods in net.neoforged.fml.loading.moddiscovery that return types with arguments of type IModFileModifier and TypeMethodDescriptionModDiscoverer.DiscoveryPipeline.addJarContent(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 TypeMethodDescriptionbooleanModDiscoverer.DiscoveryPipeline.addModFile(IModFile mf) private StringModDiscoverer.fileToLine(IModFile mf) static IModFileInfoModFileParser.modsTomlParser(IModFile imodFile) voidModJarMetadata.setModFile(IModFile file) -
Uses of IModFile in net.neoforged.fml.loading.moddiscovery.locators
Fields in net.neoforged.fml.loading.moddiscovery.locators declared as IModFileModifier and TypeFieldDescriptionprivate final IModFileJarInJarDependencyLocator.EmbeddedJarKey.modFileThe field for themodFilerecord component.Methods in net.neoforged.fml.loading.moddiscovery.locators that return IModFileModifier and TypeMethodDescriptionJarInJarDependencyLocator.EmbeddedJarKey.modFile()Returns the value of themodFilerecord component.Methods in net.neoforged.fml.loading.moddiscovery.locators that return types with arguments of type IModFileModifier and TypeMethodDescriptionJarInJarDependencyLocator.loadModFileFrom(IModFile file, String relativePath, IDiscoveryPipeline pipeline, Map<JarInJarDependencyLocator.EmbeddedJarKey, IModFile> createdModFiles) Methods in net.neoforged.fml.loading.moddiscovery.locators with parameters of type IModFileModifier and TypeMethodDescriptionMinecraftModInfo.buildMinecraftModInfo(IModFile iModFile) private static StringJarInJarDependencyLocator.extractEmbeddedJarFile(IModFile file, String relativePath, Path destination) private StringJarInJarDependencyLocator.identifyMod(IModFile modFile) JarInJarDependencyLocator.loadModFileFrom(IModFile file, String relativePath, IDiscoveryPipeline pipeline, Map<JarInJarDependencyLocator.EmbeddedJarKey, IModFile> createdModFiles) private Optional<InputStream> JarInJarDependencyLocator.loadResourceFromModFile(IModFile modFile, String relativePath) Method parameters in net.neoforged.fml.loading.moddiscovery.locators with type arguments of type IModFileModifier and TypeMethodDescriptionprivate ModLoadingIssueJarInJarDependencyLocator.buildExceptionData(net.neoforged.jarjar.selection.JarSelector.ResolutionFailureInformation<IModFile> entry) private ModLoadingExceptionJarInJarDependencyLocator.exception(Collection<net.neoforged.jarjar.selection.JarSelector.ResolutionFailureInformation<IModFile>> failedDependencies) private StringJarInJarDependencyLocator.getErrorTranslationKey(net.neoforged.jarjar.selection.JarSelector.ResolutionFailureInformation<IModFile> entry) JarInJarDependencyLocator.getModWithVersionRangeStream(net.neoforged.jarjar.selection.JarSelector.SourceWithRequestedVersionRange<IModFile> file) JarInJarDependencyLocator.loadModFileFrom(IModFile file, String relativePath, IDiscoveryPipeline pipeline, Map<JarInJarDependencyLocator.EmbeddedJarKey, IModFile> createdModFiles) voidJarInJarDependencyLocator.scanMods(List<IModFile> loadedMods, IDiscoveryPipeline pipeline) Constructors in net.neoforged.fml.loading.moddiscovery.locators with parameters of type IModFileModifierConstructorDescription(package private)EmbeddedJarKey(IModFile modFile, String relativePath) Creates an instance of aEmbeddedJarKeyrecord class. -
Uses of IModFile in net.neoforged.fml.loading.moddiscovery.readers
Fields in net.neoforged.fml.loading.moddiscovery.readers declared as IModFileModifier and TypeFieldDescriptionprivate final IModFileJarModsDotTomlModFileReader.DefaultModFileInfo.modThe field for themodrecord component.Methods in net.neoforged.fml.loading.moddiscovery.readers that return IModFileModifier and TypeMethodDescriptionstatic IModFileJarModsDotTomlModFileReader.createModFile(JarContents contents, ModFileDiscoveryAttributes discoveryAttributes) JarModsDotTomlModFileReader.DefaultModFileInfo.getFile()JarModsDotTomlModFileReader.DefaultModFileInfo.mod()Returns the value of themodrecord component.@Nullable IModFileJarModsDotTomlModFileReader.read(JarContents jar, ModFileDiscoveryAttributes discoveryAttributes) @Nullable IModFileNestedLibraryModReader.read(JarContents jar, ModFileDiscoveryAttributes discoveryAttributes) Methods in net.neoforged.fml.loading.moddiscovery.readers with parameters of type IModFileModifier and TypeMethodDescriptionstatic IModFileInfoJarModsDotTomlModFileReader.manifestParser(IModFile mod) Constructors in net.neoforged.fml.loading.moddiscovery.readers with parameters of type IModFileModifierConstructorDescriptionprivateDefaultModFileInfo(IModFile mod, String license, IConfigurable configurable) Creates an instance of aDefaultModFileInforecord class. -
Uses of IModFile in net.neoforged.fml.loading.modscan
Methods in net.neoforged.fml.loading.modscan with parameters of type IModFileModifier and TypeMethodDescriptionprivate voidBackgroundScanHandler.logFailure(IModFile file, Throwable throwable) Constructor parameters in net.neoforged.fml.loading.modscan with type arguments of type IModFile -
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.modResourcePacksMethods in net.neoforged.neoforge.resource with parameters of type IModFileModifier and TypeMethodDescriptionprivate static booleanResourcePackLoader.hasResourcePack(IModFile mf) Method parameters in net.neoforged.neoforge.resource with type arguments of type IModFileModifier and TypeMethodDescriptionstatic RepositorySourceResourcePackLoader.buildPackFinder(Map<IModFile, Pack.ResourcesSupplier> modResourcePacks, PackType packType) private static voidResourcePackLoader.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 voidIModLanguageLoader.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 IModFileModFileDiscoveryAttributes.parentThe field for theparentrecord component.Methods in net.neoforged.neoforgespi.locating that return IModFileModifier and TypeMethodDescriptionstatic IModFileIModFile.create(JarContents contents, JarModuleInfo metadata, ModFileInfoParser parser) Builds a new mod file instance depending on the current runtime.static IModFileIModFile.create(JarContents contents, JarModuleInfo metadata, ModFileInfoParser parser, IModFile.Type type, ModFileDiscoveryAttributes attributes) Builds a new mod file instance depending on the current runtime.static IModFileIModFile.create(JarContents contents, ModFileInfoParser parser) Builds a new mod file instance depending on the current runtime.static IModFileIModFile.create(JarContents contents, ModFileInfoParser parser, IModFile.Type type, ModFileDiscoveryAttributes attributes) Builds a new mod file instance depending on the current runtime.static IModFileIModFile.create(JarContents contents, ModFileInfoParser parser, ModFileDiscoveryAttributes attributes) Builds a new mod file instance depending on the current runtime.@Nullable IModFileModFileDiscoveryAttributes.parent()Returns the value of theparentrecord component.@Nullable IModFileIModFileReader.read(JarContents jar, ModFileDiscoveryAttributes attributes) Provides a mod from the givenjar.@Nullable IModFileIDiscoveryPipeline.readModFile(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(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 TypeMethodDescriptionbooleanIDiscoveryPipeline.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 TypeMethodDescriptionvoidIDependencyLocator.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 aModFileDiscoveryAttributesrecord class.