Class MinecraftLocator

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

public class MinecraftLocator extends AbstractModLocator implements net.minecraftforge.forgespi.locating.IModLocator
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
  • Constructor Details

    • MinecraftLocator

      public MinecraftLocator()
  • Method Details

    • scanMods

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

      private net.minecraftforge.forgespi.language.IModFileInfo buildMinecraftTOML(net.minecraftforge.forgespi.locating.IModFile iModFile)
    • name

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

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

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