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

@Internal public class MinecraftLocator extends AbstractModProvider implements net.minecraftforge.forgespi.locating.IModLocator
  • 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