Package net.minecraftforge.fml.loading
Class LoadingModList
java.lang.Object
net.minecraftforge.fml.loading.LoadingModList
Master list of all mods in the loading context. This class cannot refer outside the
loading package
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<String,
ModFileInfo> private static LoadingModList
private final List<ModFileInfo>
private final List<EarlyLoadingException>
private BackgroundScanHandler
-
Constructor Summary
ModifierConstructorDescriptionprivate
LoadingModList
(List<ModFile> modFiles, List<ModInfo> sortedList) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
addForScanning
(BackgroundScanHandler backgroundScanHandler) findAllURLsForResource
(String resName) findResource
(String className) static LoadingModList
get()
getModFileById
(String modid) getMods()
static LoadingModList
void
setBrokenFiles
(List<ModFile> brokenFiles)
-
Field Details
-
INSTANCE
-
modFiles
-
sortedList
-
fileById
-
scanner
-
preLoadErrors
-
brokenFiles
-
-
Constructor Details
-
LoadingModList
-
-
Method Details
-
of
public static LoadingModList of(List<ModFile> modFiles, List<ModInfo> sortedList, EarlyLoadingException earlyLoadingException) -
get
-
addCoreMods
public void addCoreMods() -
addAccessTransformers
public void addAccessTransformers() -
addForScanning
-
getModFiles
-
findResource
-
findAllURLsForResource
-
getModFileById
-
getMods
-
getErrors
-
setBrokenFiles
-
getBrokenFiles
-