Class MinecraftLocator

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

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

    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • Constructor Details

    • MinecraftLocator

      public MinecraftLocator()
  • Method Details

    • scanMods

      public List<net.minecraftforge.forgespi.locating.IModLocator.ModFileOrException> 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.IModProvider
    • scanFile

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

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