Class TILSelfLocator

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.neoforge.v21.core.TILSelfLocator
All Implemented Interfaces:
net.neoforged.neoforgespi.locating.IModFileCandidateLocator, net.neoforged.neoforgespi.locating.IOrderedProvider

public class TILSelfLocator extends Object implements net.neoforged.neoforgespi.locating.IModFileCandidateLocator
Since this library is loaded as a service, we need to tell NeoForge that it's also a mod
  • Field Summary

    Fields inherited from interface net.neoforged.neoforgespi.locating.IOrderedProvider

    DEFAULT_PRIORITY, HIGHEST_SYSTEM_PRIORITY, LOWEST_SYSTEM_PRIORITY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    findCandidates(net.neoforged.neoforgespi.ILaunchContext context, net.neoforged.neoforgespi.locating.IDiscoveryPipeline pipeline)
     
    int
    Try loading self before everything except the most important locators

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TILSelfLocator

      public TILSelfLocator()
  • Method Details

    • findCandidates

      public void findCandidates(net.neoforged.neoforgespi.ILaunchContext context, net.neoforged.neoforgespi.locating.IDiscoveryPipeline pipeline)
      Specified by:
      findCandidates in interface net.neoforged.neoforgespi.locating.IModFileCandidateLocator
    • getPriority

      public int getPriority()
      Try loading self before everything except the most important locators
      Specified by:
      getPriority in interface net.neoforged.neoforgespi.locating.IOrderedProvider