Class TILServiceLauncherNeoForge

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

public class TILServiceLauncherNeoForge extends Object implements net.neoforged.neoforgespi.locating.IModLocator
Use a dummy IModLocator for Forge SERVICE layer initialization. If this is a dev environment, we already loaded into the BOOT layer and this will do nothing. If this is NOT a dev environment, we need to move ourselves into the BOOT layer. Try not to load too many library classes before verifying we are in the BOOT layer
  • Constructor Details

    • TILServiceLauncherNeoForge

      public TILServiceLauncherNeoForge()
  • 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 modFile)
      Specified by:
      isValid in interface net.neoforged.neoforgespi.locating.IModProvider
    • scanFile

      public void scanFile(net.neoforged.neoforgespi.locating.IModFile modFile, 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
    • name

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