Class ExplodedDirectoryLocator

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

public class ExplodedDirectoryLocator extends Object implements net.minecraftforge.forgespi.locating.IModLocator
  • Field Details

  • Constructor Details

    • ExplodedDirectoryLocator

      public ExplodedDirectoryLocator()
  • Method Details

    • scanMods

      public List<net.minecraftforge.forgespi.locating.IModFile> scanMods()
      Specified by:
      scanMods in interface net.minecraftforge.forgespi.locating.IModLocator
    • name

      public String name()
      Specified by:
      name in interface net.minecraftforge.forgespi.locating.IModLocator
    • scanFile

      public void scanFile(net.minecraftforge.forgespi.locating.IModFile file, Consumer<Path> pathConsumer)
      Specified by:
      scanFile in interface net.minecraftforge.forgespi.locating.IModLocator
    • toString

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

      public void initArguments(Map<String,?> arguments)
      Specified by:
      initArguments in interface net.minecraftforge.forgespi.locating.IModLocator
    • isValid

      public boolean isValid(net.minecraftforge.forgespi.locating.IModFile modFile)
      Specified by:
      isValid in interface net.minecraftforge.forgespi.locating.IModLocator