Class ModsFolderLocator

java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileLocator
net.minecraftforge.fml.loading.moddiscovery.ModsFolderLocator
All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator

public class ModsFolderLocator extends AbstractJarFileLocator
Support loading mods located in JAR files in the mods folder
  • Field Details

    • SUFFIX

      private static final String SUFFIX
      See Also:
    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • modFolder

      private final Path modFolder
    • customName

      private final String customName
  • Constructor Details

    • ModsFolderLocator

      public ModsFolderLocator()
    • ModsFolderLocator

      ModsFolderLocator(Path modFolder)
    • ModsFolderLocator

      ModsFolderLocator(Path modFolder, String name)
  • Method Details

    • scanMods

      public List<net.minecraftforge.forgespi.locating.IModFile> scanMods()
    • name

      public String name()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • initArguments

      public void initArguments(Map<String,?> arguments)