Class AbstractModLocator

java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.AbstractModLocator
All Implemented Interfaces:
net.minecraftforge.forgespi.locating.IModLocator
Direct Known Subclasses:
AbstractJarFileLocator, MinecraftLocator

public abstract class AbstractModLocator extends Object implements net.minecraftforge.forgespi.locating.IModLocator
  • Field Details

  • Constructor Details

    • AbstractModLocator

      public AbstractModLocator()
  • Method Details

    • createMod

      protected Optional<net.minecraftforge.forgespi.locating.IModFile> createMod(Path... path)
    • manifestParser

      protected net.minecraftforge.forgespi.language.IModFileInfo manifestParser(net.minecraftforge.forgespi.locating.IModFile mod)
    • isValid

      public boolean isValid(net.minecraftforge.forgespi.locating.IModFile modFile)
      Specified by:
      isValid in interface net.minecraftforge.forgespi.locating.IModLocator
    • getDefaultJarModType

      protected String getDefaultJarModType()