Class ClasspathLocator

  • All Implemented Interfaces:
    net.minecraftforge.forgespi.locating.IModLocator

    public class ClasspathLocator
    extends AbstractJarFileLocator
    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • modCoords

        private java.util.Set<java.nio.file.Path> modCoords
    • Constructor Detail

      • ClasspathLocator

        public ClasspathLocator()
    • Method Detail

      • scanMods

        public java.util.List<net.minecraftforge.forgespi.locating.IModFile> scanMods()
      • name

        public java.lang.String name()
      • initArguments

        public void initArguments​(java.util.Map<java.lang.String,​?> arguments)
      • locateMods

        private void locateMods​(java.lang.String resource,
                                java.lang.String name,
                                java.util.function.Predicate<java.nio.file.Path> filter)
                         throws java.io.IOException
        Throws:
        java.io.IOException