Class MultiVersionModLocator

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.neoforge.core.MultiVersionModLocator
All Implemented Interfaces:
net.neoforged.neoforgespi.locating.IModLocator, net.neoforged.neoforgespi.locating.IModProvider

public class MultiVersionModLocator extends Object implements net.neoforged.neoforgespi.locating.IModLocator
  • Constructor Details

    • MultiVersionModLocator

      public MultiVersionModLocator()
  • Method Details

    • initArguments

      public void initArguments(Map<String,?> arguments)
      Specified by:
      initArguments in interface net.neoforged.neoforgespi.locating.IModProvider
    • isValid

      public boolean isValid(net.neoforged.neoforgespi.locating.IModFile file)
      Specified by:
      isValid in interface net.neoforged.neoforgespi.locating.IModProvider
    • name

      public String name()
      Specified by:
      name in interface net.neoforged.neoforgespi.locating.IModProvider
    • scanFile

      public void scanFile(net.neoforged.neoforgespi.locating.IModFile file, Consumer<Path> pathConsumer)
      Specified by:
      scanFile in interface net.neoforged.neoforgespi.locating.IModProvider
    • scanMods

      public List<net.neoforged.neoforgespi.locating.IModLocator.ModFileOrException> scanMods()
      Specified by:
      scanMods in interface net.neoforged.neoforgespi.locating.IModLocator