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 -
Method Summary
Modifier and TypeMethodDescriptionvoidfindCandidates(net.neoforged.neoforgespi.ILaunchContext context, net.neoforged.neoforgespi.locating.IDiscoveryPipeline pipeline) intTry loading self before everything except the most important locators
-
Constructor Details
-
TILSelfLocator
public TILSelfLocator()
-
-
Method Details
-
findCandidates
public void findCandidates(net.neoforged.neoforgespi.ILaunchContext context, net.neoforged.neoforgespi.locating.IDiscoveryPipeline pipeline) - Specified by:
findCandidatesin interfacenet.neoforged.neoforgespi.locating.IModFileCandidateLocator
-
getPriority
public int getPriority()Try loading self before everything except the most important locators- Specified by:
getPriorityin interfacenet.neoforged.neoforgespi.locating.IOrderedProvider
-