Class ExplodedDirectoryLocator

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

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.IModLocator.ModFileOrException> scanMods()
      Specified by:
      scanMods in interface net.minecraftforge.forgespi.locating.IModLocator
    • name

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

      public void scanFile(net.minecraftforge.forgespi.locating.IModFile file, Consumer<Path> pathConsumer)
      Specified by:
      scanFile in interface net.minecraftforge.forgespi.locating.IModProvider
    • 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.IModProvider
    • isValid

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