Quilt Loader 1
Loading...
Searching...
No Matches
net.fabricmc.loader.ModContainer Class Referenceabstract
Inheritance diagram for net.fabricmc.loader.ModContainer:
net.fabricmc.loader.api.ModContainer net.fabricmc.loader.impl.ModContainerImpl

Public Member Functions

abstract URL getOriginUrl ()
abstract LoaderModMetadata getInfo ()
Public Member Functions inherited from net.fabricmc.loader.api.ModContainer
ModMetadata getMetadata ()
 Returns the metadata of this mod.
List< Path > getRootPaths ()
 Returns the root directories of the mod (inside JAR/folder), exposing its contents.
default Optional< Path > findPath (String file)
 Gets an NIO reference to a file inside the JAR/folder.
ModOrigin getOrigin ()
 Gets where the mod was loaded from originally, the mod jar/folder itself.
Optional< ModContainergetContainingMod ()
 Get the mod containing this mod (nested jar parent).
Collection< ModContainergetContainedMods ()
 Get the active mods contained within this mod (nested jar children).
default Path getRoot ()
Path getRootPath ()
Path getPath (String file)

Detailed Description


The documentation for this class was generated from the following file:
  • src/fabric/legacy/java/net/fabricmc/loader/ModContainer.java