Class ForgeDevLocator

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

@Internal public class ForgeDevLocator extends AbstractModProvider implements net.minecraftforge.forgespi.locating.IModLocator
  • Field Details

  • Constructor Details

    • ForgeDevLocator

      public ForgeDevLocator()
  • Method Details

    • name

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

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

      private List<Path> getMods()
    • explodeTestMods

      private List<Path> explodeTestMods(Path path)
    • findTestModPackages

      private Map<String,Set<String>> findTestModPackages(Path path)
    • buildModsToml

      private void buildModsToml(Set<Path> resources, Set<String> modids, Path root)
    • buildPackMeta

      private void buildPackMeta(Set<Path> paths, Path root)
    • sneak

      private static <E extends Throwable, R> R sneak(Throwable e) throws E
      Throws:
      E extends Throwable