类 ForgeDevLocator

java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider
net.minecraftforge.fml.loading.targets.ForgeDevLocator
所有已实现的接口:
net.minecraftforge.forgespi.locating.IModLocator, net.minecraftforge.forgespi.locating.IModProvider

@Internal public final class ForgeDevLocator extends AbstractModProvider implements net.minecraftforge.forgespi.locating.IModLocator
  • 字段详细资料

  • 构造器详细资料

    • ForgeDevLocator

      public ForgeDevLocator()
  • 方法详细资料

    • name

      public String name()
      指定者:
      name 在接口中 net.minecraftforge.forgespi.locating.IModProvider
    • scanMods

      public List<net.minecraftforge.forgespi.locating.IModLocator.ModFileOrException> scanMods()
      指定者:
      scanMods 在接口中 net.minecraftforge.forgespi.locating.IModLocator
    • getMods

      private static List<Path> getMods()
    • explodeTestMods

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

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

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

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

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

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